From 4b986e5199b8d984230abb18ad93962337186713 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Tue, 26 Jul 2022 18:24:50 +0200 Subject: [PATCH] docs/developer/releasing.rst: update URL for pypi.org ``` UploadToDeprecatedPyPIDetected: You're trying to upload to the legacy PyPI site 'https://pypi.python.org/legacy/'. 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/ . ``` --- docs/developer/pypirc | 2 +- docs/developer/releasing.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer/pypirc b/docs/developer/pypirc index 549bb1a..17418c3 100644 --- a/docs/developer/pypirc +++ b/docs/developer/pypirc @@ -4,7 +4,7 @@ index-servers= testpypi [pypi] -repository = https://pypi.python.org/legacy/ +repository = https://upload.pypi.org/legacy/ username = [testpypi] diff --git a/docs/developer/releasing.rst b/docs/developer/releasing.rst index 52d66d7..3630f4d 100644 --- a/docs/developer/releasing.rst +++ b/docs/developer/releasing.rst @@ -86,7 +86,7 @@ PyPI .. _Packaging and Distributing Projects: https://packaging.python.org/distributing/ -.. _PyPI: https://pypi.python.org/pypi +.. _PyPI: https://pypi.org/ .. _Python Packaging User Guide: https://packaging.python.org .. _TestPyPI: https://test.pypi.org/ .. _TestPyPI Configuration: https://packaging.python.org/en/latest/guides/using-testpypi/