Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Non-gzipped simple index is stale #578

Closed
dairiki opened this issue Dec 23, 2016 · 2 comments
Closed

Non-gzipped simple index is stale #578

dairiki opened this issue Dec 23, 2016 · 2 comments

Comments

@dairiki
Copy link

dairiki commented Dec 23, 2016

I'm currently having trouble installing setuptools 32.2.0 (the latest, just came out earlier today) using zc.buildout. I've traced the issue to the fact that if one requests the simple index for setuptools with no Accept-Encoding header one gets a stale version of the index. Requesting with Accept-Encoding: gzip appears to yield the up-to-date version.

>>> curl -s -I -H "Accept-Encoding: gzip" -H "Cache-Control: no-cache" -H "Pragma: no-cache" https://pypi.python.org/simple/setuptools/ | grep -i last-serial
X-PYPI-LAST-SERIAL: 2534904

>>> curl -s -I -H "Cache-Control: no-cache" -H "Pragma: no-cache" https://pypi.python.org/simple/setuptools/ | grep -i last-serial
X-PYPI-LAST-SERIAL: 2534903

In this case, the only difference between these two indexes is that the stale one does not include setuptools-32.2.0.zip, while the later one does. (Buildout is getting stale index, and is looking for the source package.)

Things have been in this state for a few hours now.

@ewdurbin
Copy link
Member

@dairiki thanks for report, i'm checking on the workers/jobs that are supposed to handle cache invalidation on update.

@dairiki
Copy link
Author

dairiki commented Dec 23, 2016

Thank you!

The non-compressed version appears to be up-to-date now.

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

No branches or pull requests

2 participants