Issue 23899: HTTP regression in distutils uploads to chishop (original) (raw)

Created on 2015-04-09 15:36 by jaraco, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (6)
msg240341 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2015-04-09 15:36
Beginning with Python 2.7.9 and 3.4.3, distutils uploads to chishop (https://pypi.python.org/pypi/chishop) now fail with a 501 NOT IMPLEMENTED. This error looks very similar to the error that Twine triggered in https://github.com/pypa/twine/issues/27. I acknowledge that chishop is old and probably abandoned, but I also expect that a minor update (such as 3.4.2 to 3.4.3) should not break. I understand that 2.7.9 may have special consideration in this regard, so I'll focus on 3.4.3. I expect these changes in protocol may also affect other HTTP services, though it may be isolated to distutils uploads. Donald, can you speak to changes in Python 3.4.3 that might have behavior in common with Twine that would have affected distutils uploads?
msg240436 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2015-04-10 16:44
Can we have more information from the chishop logs?
msg240446 - (view) Author: Donald Stufft (dstufft) * (Python committer) Date: 2015-04-10 19:48
I wonder if it's this? https://github.com/python/cpython/commit/453f86c6977bab18fe4a9c58a4155253375adc8e#diff-ff7dba04c5ad252aa440598d6c88067a
msg241336 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2015-04-17 15:03
There's nothing logged in the chishop logs except the POST request. I suspect dstufft is right. I'll try backing out that change and see what effect that has.
msg241350 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2015-04-17 18:38
Confirmed. Backing out that change restores the behavior. If I trust the commit description (and it looks reasonable), the issue really does lie with chishop, though for compatibility, I may look to patch it. Thanks dstufft for the reference.
msg247604 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2015-07-29 18:54
Ultimately, we've decided not to patch chishop nor to address the issue in the stdlib, but instead we've replaced chishop with devpi.
History
Date User Action Args
2022-04-11 14:58:15 admin set github: 68087
2015-07-29 18:54:57 jaraco set status: open -> closedresolution: wont fixmessages: +
2015-04-17 18:38:17 jaraco set messages: +
2015-04-17 15:03:03 jaraco set messages: +
2015-04-10 19:48:37 dstufft set messages: +
2015-04-10 16:44:40 eric.araujo set messages: +
2015-04-09 15:36:23 jaraco create