Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support the new .conda package format #10

Closed
FaustinCarter opened this issue Mar 17, 2020 · 3 comments · Fixed by #61
Closed

support the new .conda package format #10

FaustinCarter opened this issue Mar 17, 2020 · 3 comments · Fixed by #61

Comments

@FaustinCarter
Copy link

Since conda 4.7, there is a new package format (.conda) in addition to the legacy format (.tar.bz2). See note here: https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/packages.html#conda-file-format. It would be great to add support for these. Suggested form is a flag that allows for only .conda, only .tar.bz2, or both.

@analog-cbarber
Copy link

Seems like we only need to add .conda to the filter in _list_conda_packages.

BTW, if I understand the code correctly, it looks like it is currently going to download
both .tar.bz2 and .conda packages but will only keep the .tar.bz2 ones, so even if you
only wanted the .tar.bz2 versions, you would still pay the price of downloading both.

@analog-cbarber
Copy link

It does not seem like this would be hard, but I cannot find any repos that actually have .conda packages in their repodata.json files. I do see some .conda packages in my local conda pkgs cache directory that appear to have come from https://repo.anaconda.com/pkgs/main, but I don't see them in that index file.

Are .conda files listed in something other than repodata.json?

@asilenzi
Copy link

Hi All,

I submitted a PR for this issue. in the last days conda-forge switched to the .conda extension and I suspect this is quite severe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants