Skip to content
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

HTTPError: 410 Client Error: Gone #270

Closed
ghost opened this issue Sep 10, 2017 · 3 comments
Closed

HTTPError: 410 Client Error: Gone #270

ghost opened this issue Sep 10, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 10, 2017

.pypirc

[distutils]
index-servers =
    pypi

[pypi]
repository: https://upload.pypi.org/legacy/
username: left-join
password:

Trying to upload

python setup.py sdist bdist_wheel
twine upload dist/*
Uploading distributions to https://pypi.python.org/pypi
Enter your username: left-join
Enter your password:
Uploading Flask_Settings-0.0.3-py2.py3-none-any.whl
HTTPError: 410 Client Error: Gone (This API has been deprecated and removed from legacy PyPI in favor of using the APIs available in the new PyPI.org implementation of PyPI (located at https://pypi.org/). For more information about migrating your use of this API to PyPI.org, please see https://packaging.python.org/guides/migrating-to-pypi-org/#uploading. For more information about the sunsetting of this API, please see https://mail.python.org/pipermail/distutils-sig/2017-June/030766.html) for url: https://pypi.python.org/pypi
@jamadden
Copy link
Member

If you're using twine 1.8+, you should remove the repository setting from your .pypirc, IIUC.

See also #258 for more comments about why that should be the case.

@ghost
Copy link
Author

ghost commented Sep 10, 2017

The bug is reproduced with twine version 1.5.0
When I updated to github version twine-1.9.1 it works.
Thanks man!

@jamadden
Copy link
Member

The Python packaging world is moving relatively fast these days, especially with the introduction of warehouse. It's a good idea to stay up to date on twine and related PyPA projects! 😄

If this is solved for you, can you close this issue?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant