Skip to content

Instantly share code, notes, and snippets.

@markrwilliams
Created March 1, 2018 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markrwilliams/01a235daeee2d6a0068a22d2faa7b2cb to your computer and use it in GitHub Desktop.
Save markrwilliams/01a235daeee2d6a0068a22d2faa7b2cb to your computer and use it in GitHub Desktop.
test.pypi.org HTTP 410 with missing trailing slash
[distutils]
index-servers=
test
[test]
repository: https://test.pypi.org/legacy
twine upload --repository test --config-file .pypirc $1
@markrwilliams
Copy link
Author

$ bash reproduce.sh ~/src/python/treq/dist/treq-17.3.1-py2.py3-none-any.whl
Uploading distributions to https://test.pypi.org/legacy
Enter your username: markrwilliams-test
Enter your password: 
Uploading treq-17.3.1-py2.py3-none-any.whl
RedirectDetected: "https://test.pypi.org/legacy" attempted to redirect to "https://test.pypi.org/legacy/" during upload. Aborting...      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment