[Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Marius Gedminas
Could it be that recent PyPI CDN changes broke zc.buildout somehow? Witness this: $ wget http://downloads.buildout.org/2/bootstrap.py $ cat buildout.cfg [buildout] parts = zodbbrowser [zodbbrowser] recipe = zc.recipe.egg $ python bootstrap.py $ bin/buildout Error: Couldn't

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Marius Gedminas
On Wed, May 29, 2013 at 11:03:39AM +0200, Lennart Regebro wrote: On Wed, May 29, 2013 at 10:19 AM, Marius Gedminas mar...@pov.lt wrote: Could it be that recent PyPI CDN changes broke zc.buildout somehow? Witness this: $ wget http://downloads.buildout.org/2/bootstrap.py $ cat

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Donald Stufft
On May 29, 2013, at 5:18 AM, Marius Gedminas mar...@pov.lt wrote: On Wed, May 29, 2013 at 11:03:39AM +0200, Lennart Regebro wrote: On Wed, May 29, 2013 at 10:19 AM, Marius Gedminas mar...@pov.lt wrote: Could it be that recent PyPI CDN changes broke zc.buildout somehow? Witness this: $

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Donald Stufft
On May 29, 2013, at 5:39 AM, Donald Stufft don...@stufft.io wrote: On May 29, 2013, at 5:18 AM, Marius Gedminas mar...@pov.lt wrote: On Wed, May 29, 2013 at 11:03:39AM +0200, Lennart Regebro wrote: On Wed, May 29, 2013 at 10:19 AM, Marius Gedminas mar...@pov.lt wrote: Could it be that

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Maurits van Rees
Op 29-05-13 11:43, Donald Stufft schreef: On May 29, 2013, at 5:39 AM, Donald Stufft wrote: The cache timeout is an hour unless modifications are made to the package which triggers a cache invalidation. I bet there is a missing Vary for the encoding. I'll check and get back to you. There

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Donald Stufft
Can you get me outputs of curl with the -i flag of it both gzipped and not gzipped? I can't seem to reproduce it. -- Donald Stufft don...@stufft.io ___ Distutils-SIG maillist - Distutils-SIG@python.org

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Maurits van Rees
Op 29-05-13 14:16, Donald Stufft schreef: Can you get me outputs of curl with the -i flag of it both gzipped and not gzipped? I can't seem to reproduce it. When it works I get this: $ curl -i http://pypi.python.org/simple/pep8/ HTTP/1.1 200 OK Server: nginx/1.1.19 Content-Type: text/html;

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Donald Stufft
I'm in #buildout working on this. We might have sorted out what's going on. It appears we still aren't geting the Vary header sent if Accept-Encoding: gzip is sent. Only if Accept-Encoding: identity is sent. Trying to find my ssh key (ugh laptop I don't normally use) so I can get that header

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Marius Gedminas
On Wed, May 29, 2013 at 02:30:55PM +0200, Maurits van Rees wrote: Op 29-05-13 14:16, Donald Stufft schreef: Can you get me outputs of curl with the -i flag of it both gzipped and not gzipped? I can't seem to reproduce it. When it works I get this: $ curl -i

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Donald Stufft
I believe this should be fixed now. I ensured Vary: Accept-Encoding was called even when responses were gzipped. I also purged the cache so bad entries should be gone. IF you have any more issues after this email please tell me. -- Donald Stufft don...@stufft.io On Wed, May 29, 2013, at

Re: [Distutils] Buildout can't talk to PyPI any more?

2013-05-29 Thread Maurits van Rees
Op 29-05-13 15:01, Donald Stufft schreef: I believe this should be fixed now. I ensured Vary: Accept-Encoding was called even when responses were gzipped. I also purged the cache so bad entries should be gone. IF you have any more issues after this email please tell me. Looks fine here now.