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.

What Happened?

Until April 30, 2018, the Python Package Index is available at http://pypi.python.org.

PyPI is undergoing changes and the PyPI administrators have announced that by April 30th, the current URL will be deprecated, and the PyPI public repository will only be available at http://pypi.org In addition, the internal structure the PyPI index is changing.

How This Affects You

These are breaking changes. If you are using Artifactory remote PyPI repositories that proxy the PyPI index at its current URL of http://pypi.python.org, from April 30, 2018, you will no longer be able to resolve PyPI packages from these remote repositories.

To continue working with these Artifactory remote PyPI repositories, follow the rest of the instructions in this KB article.

JFrog is Supporting You

JFrog is working with the PyPI administrators to ensure a smooth transition to the new index.

Until April 30th, the original index at http://pypi.python.org should continue to be available to serve JFrog Artifactory users with no impact on Artifactory PyPI remote repositories whatsoever.

To align with the changes introduced to PyPi, on April 18, we released Artifctory patch versions 5.8.9, Artifactory 5.9.5 and Artifactory 5.10.3, that support the new PyPI repository at its new URL and with its new structure.

For details about these patches, please refer to the JFrog Artifactory Release Notes.

You can download these patch versions from JFrog Bintray.

What You Need To Do

To continue using PyPI remote repositories in Artifactory that proxy the official PyPI index and resolve new packages from it:

  1. Upgrade Artifactory to the patch corresponding to your current version.

  2. After the upgrade, in the PyPI remote repository configuration:

    1. Set the URL field to: https://files.pythonhosted.org

    2. Set the Registry URL field to http://pypi.org

If you are using an older version of JFrog Artifactory, to continue working with PyPI, you need to upgrade to one of the patches released on April 18, 2018.

Still Having Problems?

As announced by the PyPI administrators, the new PyPI index is still in Beta. We recommend following PyPI announcements to see when the new index is officially released.

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 support@jfrog.com and we will be happy to assist you.