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

Packages not being made available at <pythonhosted>/packages/source/<letter>/<package name>/... #11937

Closed
matthewwardrop opened this issue Jul 23, 2022 · 2 comments
Labels
bug 🐛 requires triaging maintainers need to do initial inspection of issue

Comments

@matthewwardrop
Copy link

matthewwardrop commented Jul 23, 2022

Describe the bug

Several releases of my package (spec-classes) seem to not be surfaced via the canonical human readable url on pythonhosted (e.g. https://files.pythonhosted.org/packages/source/s/spec-classes/spec-classes-1.2.2.tar.gz returned 404 errors; the file remains accessible via its blake 256 hash at: https://files.pythonhosted.org/packages/b9/9a/0eed0f0989e315f2f5b81d216bc2cc60e1b36c1cbea40d83155e0f1a14d5/spec-classes-1.2.2.tar.gz). I had a quick look through some of the other recent releases on PyPI, and some seem affected by this while others do not. I haven't seen an obvious pattern.

This is a problem because downstream packaging like conda tend to use this canonical url to download packages.

It may be related, but version tiles/metadata also seems not to have updated for external services like shields.io; for example: (this should read 1.2.3 at time of writing).

Expected behavior

The package should be accessible using the human readable endpoint.

To Reproduce

I tried releasing a new version to see if this was transient (1.2.3) in my case, but the issue remained. A simple curl/wget against the human readable url should demonstrate the issue.

$ wget https://files.pythonhosted.org/packages/source/s/spec-classes/spec-classes-1.2.2.tar.gz
...
Resolving files.pythonhosted.org (files.pythonhosted.org)... 151.101.189.63, 2a04:4e42::319, 2a04:4e42:200::319, ...
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.189.63|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-23 10:52:40 ERROR 404: Not Found.

Additional context

This package uses poetry to upload the package, but this has not been an issue in the past.

@matthewwardrop matthewwardrop added bug 🐛 requires triaging maintainers need to do initial inspection of issue labels Jul 23, 2022
@matthewwardrop matthewwardrop changed the title Packages not being made available at <mirror>/packages/source/<letter>/<package name>/... Packages not being made available at <pythonhosted>/packages/source/<letter>/<package name>/... Jul 23, 2022
@matthewwardrop
Copy link
Author

Looks like this has resolved. Not sure why it took more than a day, but it is no longer an issue for me. I'll leave it open in case this is still useful.

@matthewwardrop
Copy link
Author

Actually, looks like there were known cdn issues. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 requires triaging maintainers need to do initial inspection of issue
Projects
None yet
Development

No branches or pull requests

1 participant