Skip to content

Commit ceae690

Browse files
committed
docs: clarify pip index configuration during PyPI migration
1 parent ab49948 commit ceae690

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

‎source/guides/migrating-to-pypi-org.rst‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,21 @@ Downloading packages
135135

136136
``pypi.org`` is the default host for downloading packages.
137137

138+
If you have configured pip to use a custom ``index-url``, that setting can
139+
override the default PyPI index. Check your pip configuration files if pip
140+
continues to use the old PyPI URL after migration. The command ``pip config
141+
list -v`` can be used to show the configuration files pip is loading.
142+
143+
For example, a configuration containing::
144+
145+
[global]
146+
index-url = https://pypi.python.org/pypi
147+
148+
should be updated to use the current PyPI URL::
149+
150+
[global]
151+
index-url = https://pypi.org/simple
152+
138153
Managing published packages and releases
139154
----------------------------------------
140155

0 commit comments

Comments
 (0)