conda / infrastructure

A repo to report issues and have discussions about the conda infrastructure
BSD 3-Clause "New" or "Revised" License
11 stars 15 forks source link

CDN is producing odd results #944

Open beckermr opened 2 months ago

beckermr commented 2 months ago

Checklist

What happened?

I am trying to download some packages to inspect them manually, and am seeing odd errors. I am getting the cloudflare timeout webpage and one of the artifacts I did manage to download had the platform-arch striong preprended to the filename. When that is preprended, the artifact won't extract properly with conda-package-handling.

Conda Info

N/A

Conda Config

N/A

Conda list

N/A

Additional Context

No response

chenghlee commented 2 months ago

Example: if you go to https://anaconda.org/conda-forge/zlib/files and click on linux-64/zlib-1.3.1-hd590300_0.conda, the resulting file gets downloaded as linux-64_zlib-1.3.1-hd590300_0.conda and not zlib-1.3.1-hd590300_0.conda. This change in filename breaks tooling like conda-package-handling, which assumes conda package files do not have the linux-64_ prefix.

nchernia-anaconda commented 2 months ago

Thanks for reporting this issue. We will try to address this as soon as we can.

In the mean time, the team has instructed 1) to use the CLI instead of downloading from the UI or 2) rename the file manually (as @chenghlee pointed out)

jakirkham commented 1 month ago

FWIW there is another issue downloading from the web UI ( https://github.com/conda/infrastructure/issues/868 ). Maybe these can be addressed together?