Skip to content

Commit cc80122

Browse files
authored
Cover the PyPI migration in Tool Recommendations (pypa#335)
During the migration from the legacy PyPI implementation to Warehouse, `pypi.python.org` and `pypi.org` are essentially alternative tools for the tasks of publishing, browsing, downloading and managing packages. This adds them to the Tool Recommendations page, so folks have a single place to check to be informed of the current recommendations, rather than having to try to keep up with any announcements made at the time the recommendations change.
1 parent 631145e commit cc80122

3 files changed

Lines changed: 96 additions & 17 deletions

File tree

scripts/linkmonitor/inventory.yaml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@
3131
distributing.html#local-version-identifiers, distributing.html#manifest-in, distributing.html#name,
3232
distributing.html#package-data, distributing.html#packages, distributing.html#packaging-and-distributing-projects,
3333
distributing.html#packaging-your-project, distributing.html#platform-wheels, distributing.html#pre-release-versioning,
34-
distributing.html#pure-python-wheels, distributing.html#readme-rst, distributing.html#requirements-for-packaging-and-distributing,
35-
distributing.html#scheme-choices, distributing.html#scripts, distributing.html#semantic-versioning-preferred,
36-
distributing.html#serial-versioning, distributing.html#setup-args, distributing.html#setup-cfg,
37-
distributing.html#setup-name, distributing.html#setup-py, distributing.html#source-distributions,
38-
distributing.html#standards-compliance-for-interoperability, distributing.html#universal-wheels,
39-
distributing.html#upload-your-distributions, distributing.html#uploading-your-project-to-pypi,
40-
distributing.html#url, distributing.html#version, distributing.html#wheels, distributing.html#working-in-development-mode,
41-
distributing.html#your-package, extensions.html, extensions.html#alternatives-for-low-level-system-access,
42-
extensions.html#alternatives-to-handcoded-accelerator-modules, extensions.html#alternatives-to-handcoded-wrapper-modules,
43-
extensions.html#an-overview-of-binary-extensions, extensions.html#binary-extensions,
44-
extensions.html#building-binary-extensions, extensions.html#contents, extensions.html#disadvantages,
45-
extensions.html#implementing-binary-extensions, extensions.html#publishing-binary-extensions,
34+
distributing.html#pure-python-wheels, distributing.html#readme-rst, distributing.html#register-your-project,
35+
distributing.html#requirements-for-packaging-and-distributing, distributing.html#scheme-choices,
36+
distributing.html#scripts, distributing.html#semantic-versioning-preferred, distributing.html#serial-versioning,
37+
distributing.html#setup-args, distributing.html#setup-cfg, distributing.html#setup-name,
38+
distributing.html#setup-py, distributing.html#source-distributions, distributing.html#standards-compliance-for-interoperability,
39+
distributing.html#universal-wheels, distributing.html#upload-your-distributions,
40+
distributing.html#uploading-your-project-to-pypi, distributing.html#url, distributing.html#version,
41+
distributing.html#wheels, distributing.html#working-in-development-mode, distributing.html#your-package,
42+
extensions.html, extensions.html#alternatives-for-low-level-system-access, extensions.html#alternatives-to-handcoded-accelerator-modules,
43+
extensions.html#alternatives-to-handcoded-wrapper-modules, extensions.html#an-overview-of-binary-extensions,
44+
extensions.html#binary-extensions, extensions.html#building-binary-extensions, extensions.html#contents,
45+
extensions.html#disadvantages, extensions.html#implementing-binary-extensions, extensions.html#publishing-binary-extensions,
4646
extensions.html#setting-up-a-build-environment-on-windows, extensions.html#use-cases,
4747
glossary.html, glossary.html#glossary, glossary.html#term-binary-distribution, glossary.html#term-built-distribution,
4848
glossary.html#term-distribution-package, glossary.html#term-egg, glossary.html#term-extension-module,
@@ -97,10 +97,12 @@
9797
guides/supporting-windows-using-appveyor.html#setting-up, guides/supporting-windows-using-appveyor.html#support-script,
9898
guides/supporting-windows-using-appveyor.html#support-scripts, guides/supporting-windows-using-appveyor.html#supporting-windows-using-appveyor,
9999
guides/supporting-windows-using-appveyor.html#testing-with-tox, guides/tool-recommendations.html,
100-
guides/tool-recommendations.html#installation-tool-recommendations, guides/tool-recommendations.html#packaging-tool-recommendations,
101-
guides/tool-recommendations.html#tool-recommendations, index.html, index.html#get-started,
102-
index.html#learn-more, index.html#python-packaging-user-guide, install_requirements_linux.html,
103-
install_requirements_linux.html#arch-linux, install_requirements_linux.html#centos-rhel,
100+
guides/tool-recommendations.html#browsing-packages, guides/tool-recommendations.html#downloading-packages,
101+
guides/tool-recommendations.html#installation-tool-recommendations, guides/tool-recommendations.html#managing-published-packages-and-releases,
102+
guides/tool-recommendations.html#packaging-tool-recommendations, guides/tool-recommendations.html#publishing-platform-migration,
103+
guides/tool-recommendations.html#publishing-releases, guides/tool-recommendations.html#tool-recommendations,
104+
index.html, index.html#get-started, index.html#learn-more, index.html#python-packaging-user-guide,
105+
install_requirements_linux.html, install_requirements_linux.html#arch-linux, install_requirements_linux.html#centos-rhel,
104106
install_requirements_linux.html#debian-ubuntu, install_requirements_linux.html#fedora,
105107
install_requirements_linux.html#installing-pip-setuptools-wheel-with-linux-package-managers,
106108
install_requirements_linux.html#opensuse, installing.html, installing.html#contents,
@@ -171,7 +173,8 @@
171173
tutorials/distributing-packages.html#packages, tutorials/distributing-packages.html#packaging-and-distributing-projects,
172174
tutorials/distributing-packages.html#packaging-your-project, tutorials/distributing-packages.html#platform-wheels,
173175
tutorials/distributing-packages.html#pre-release-versioning, tutorials/distributing-packages.html#pure-python-wheels,
174-
tutorials/distributing-packages.html#readme-rst, tutorials/distributing-packages.html#requirements-for-packaging-and-distributing,
176+
tutorials/distributing-packages.html#readme-rst, tutorials/distributing-packages.html#register-your-project,
177+
tutorials/distributing-packages.html#requirements-for-packaging-and-distributing,
175178
tutorials/distributing-packages.html#scheme-choices, tutorials/distributing-packages.html#scripts,
176179
tutorials/distributing-packages.html#semantic-versioning-preferred, tutorials/distributing-packages.html#serial-versioning,
177180
tutorials/distributing-packages.html#setup-args, tutorials/distributing-packages.html#setup-cfg,

source/guides/tool-recommendations.rst

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,80 @@ Packaging Tool Recommendations
4343
to :term:`PyPI <Python Package Index (PyPI)>`.
4444

4545

46+
Publishing Platform Migration
47+
=============================
48+
49+
The original Python Package Index implementation (hosted at
50+
`pypi.python.org <https://pypi.python.org>`_) is being phased out in favour
51+
of an updated implementation hosted at `pypi.org <https://pypi.org>`_. Both
52+
interfaces share a common database backend and file store, allowing the latter
53+
to assume more default responsibilities as it becomes more capable.
54+
55+
Users consistently using the latest versions of the recommended tools above
56+
with their default settings don't need to worry about this migration, but
57+
users running older versions, or not using the default settings, will need
58+
to update their configurations in line with the recommendations below.
59+
60+
61+
Publishing releases
62+
-------------------
63+
64+
``pypi.org`` became the default upload platform in September 2016.
65+
66+
Uploads through ``pypi.python.org`` will be *switched off* on **July 3, 2017**.
67+
68+
The default upload settings switched to ``pypi.org`` in the following versions:
69+
70+
* ``twine`` 1.8.0
71+
* ``setuptools`` 27.0.0
72+
* Python 2.7.13 (``distutils`` update)
73+
* Python 3.4.6 (``distutils`` update)
74+
* Python 3.5.3 (``distutils`` update)
75+
* Python 3.6.0 (``distutils`` update)
76+
77+
78+
Browsing packages
79+
-----------------
80+
81+
``pypi.python.org`` is currently still the default interface for browsing packages
82+
(used in links from other PyPA documentation, etc).
83+
84+
``pypi.org`` is fully functional for purposes of browsing available packages, and
85+
some users may choose to opt in to using it.
86+
87+
``pypi.org`` is expected to become the default recommended interface for browsing
88+
once the limitations in the next two sections are addressed (at which point
89+
attempts to access ``pypi.python.org`` will automatically be redirected to
90+
``pypi.org``).
91+
92+
93+
Downloading packages
94+
--------------------
95+
96+
``pypi.python.org`` is currently still the default host for downloading packages.
97+
98+
``pypi.org`` is fully functional for purposes of downloading packages, and some users
99+
may choose to opt in to using it, but its current hosting setup isn't capable of
100+
handling the full bandwidth requirements of being the default download source (even
101+
after accounting for the Fastly CDN).
102+
103+
``pypi.org`` is expected to become the default host for downloading packages once
104+
it has been redeployed into an environment capable of handling the associated
105+
network load.
106+
107+
108+
Managing published packages and releases
109+
----------------------------------------
110+
111+
``pypi.python.org`` provides an interface for logged in users to manage their
112+
published packages and releases.
113+
114+
``pypi.org`` does not currently provide such an interface.
115+
116+
The missing capabilities are being tracked as part of the
117+
`Shut Down Legacy PyPI <https://github.com/pypa/warehouse/milestone/7>`_
118+
milestone.
119+
46120
----
47121

48122
.. [1] There are some cases where you might choose to use ``easy_install`` (from

source/tutorials/distributing-packages.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,8 @@ can create an account
784784
785785
**Be aware that this stores your password in plaintext.**
786786

787+
.. _register-your-project:
788+
787789
Upload your distributions
788790
-------------------------
789791

0 commit comments

Comments
 (0)