-
Notifications
You must be signed in to change notification settings - Fork 979
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
CDN Purging is broken, stale JSON responses are served instead #11949
Comments
Hi @di! Thanks for your work resolving this. I'm coming from the related python-poetry/poetry#3543 and mrabarnett/mrab-regex#475 issues. Will you confirm whether purging is finished for "projects which had old releases but new files added after the bug was introduced"? Thanks |
Yes, should be. If you're still having problems though, let us know. |
Still seeing problems. For example:
|
I'm not as familiar with the metadata APIs, but I get |
@gregorybchris : Interesting. The JSON API shows a ton of wheels available for that release. (I won't paste the lengthy results list here, but you can see for yourself with something like: |
Have you cleared your poetry cache? |
Thanks @neersighted!! That worked. |
I'm still experiencing issues: https://pypi.org/pypi/picked-group-fdr/json still shows version 0.2.2, even though https://pypi.org/pypi/picked-group-fdr/0.2.3/json correctly shows the newest version Edit: |
Same issue as @MatthewThe. https://pypi.org/pypi/codemagic-cli-tools/json shows https://pypi.org/pypi/codemagic-cli-tools/0.30.0/json Edit: |
Same issue here. I am seeing the same issue with https://pypi.org/pypi/nautobot/json shows |
I released a new version of minicapy 20 hours ago which is still not visible in the API when requesting with headers |
@di |
Hi, just in case, this is happening for |
For people still encountering this issue, @dstufft recommended the following in #11936 to help PyPA debug:
|
Can confirm
|
Just in case, |
In #11920 we removed traversal for our legacy JSON views, however our purging mechanisms depend on traversal to determine when to issue purges. As a result, PyPI is currently serving stale data for all JSON endpoints for which responses existed before the merge of #11920, as no purges have been issued for these when something changes which would update the responses here (e.g., publishing a new release).
(ref: pypi/infra#104, #11936, #11937, #11939, #11940)
The text was updated successfully, but these errors were encountered: