Skip to content

Remove conda dependency #244

@dholth

Description

@dholth

conda-index should remove imports from conda to avoid breakage. This should be easy enough except for the current_repodata feature.

  • remove locks, which used a conda import to find the path to write the lock file. Instead, conda-index's database is consistent because it uses sqlite.
  • vendor a copy of conda's Version class, which is used to choose the newest version of a package when generating channeldata
  • inline the list of subdirs
  • inline ('.tar.bz2', '.conda') instead of importing CONDA_PACKAGE_EXTENSIONS from conda.

When this is done, conda-index can run in a "recommended" configuration (no channeldata, no current_repodata) and does not import from conda for decreased runtime and increased stability.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Enhancement.

Projects

Status

In review 🔍

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions