Why am I not able to connect to pypi.python.org?
The Python Package Index (PyPI) is a repository of software packages supplied by the worldwide community of Python developers that is maintained by the Python Software Foundation.
Until April 30, 2018, the Python Package Index was available at http://pypi.python.org.
PyPI underwent changes and the PyPI administrators announced that by April 30th, the current URL would be deprecated, and the PyPI public repository would only be available at http://pypi.org.
In addition, the internal structure of the PyPI index changed.
How the above affects you?
These are breaking changes. If you are using Artifactory remote PyPI repositories which proxies the PyPI index at its current URL of http://pypi.python.org, you will no longer be able to resolve PyPI packages from these remote repositories.
If you are using an older version of JFrog Artifactory, you need to upgrade to one of the patches released on April 18 2018 (5.8.9, 5.9.5 5.10.3) or later patches for the same major version.
To align with the changes introduced by PyPi on April 18, we released Artifactory patch versions 5.8.9, 5.9.5 and 5.10.3, which supports the new PyPI repository at its new URL and with its new structure.
For more details regarding the latest relevant patches, please refer to our Release Notes.
You may download these patches from JFrog Bintray.
In order to continue working with Artifactory remote PyPI repositories as before, please follow the below instructions:
Upgrade Artifactory to the latest patch corresponding to your current version.
After the upgrade, in the PyPI remote repository configuration:
Note! The Registry URL field is only available in Artifactory 5.10.3 and above. This field could not be added to earlier versions, hence, not available in the patches for Artifactory 5.8.x and Artifactory 5.9.x. In these patches, the only change you need to follow is to set the URL field to https://pypi.org. The https://files.pythonhosted.org is automatically extracted from a system property, artifactory.pypi.default.download.url which is set to this value by default.
Still Having Problems?
JFrog will continue to support you through this transition. If you have any problems using the new PyPI index in Artifactory, or have any other questions regarding this change, please contact email@example.com and we will be happy to assist.