Skip to content

Fix default PyPI URL #3

@chrislawlor

Description

@chrislawlor
  • Date you used Cookiecutter PyPackage: 11-28-2021
  • Cookiecutter version used, if any:
  • Python version, if any:
  • Operating System:

Description

Twine upload fails:

$ twine upload --skip-existing -r pypi dist/*

UploadToDeprecatedPyPIDetected: You're trying to upload to the legacy PyPI site 'https://pypi.python.org/simple'. Uploading to those sites is deprecated. 

 The new sites are pypi.org and test.pypi.org. Try using https://upload.pypi.org/legacy/ (or https://test.pypi.org/legacy/) to upload your packages instead. These are the default URLs for Twine now. 

 More at https://packaging.python.org/guides/migrating-to-pypi-org/ .

Need to change default option for PyPI URL to https://upload.pypi.org/legacy/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions