Instructions:

ARTIFACTORY: What to Do When You Can't Connect to pypi.python.org

AuthorFullName__c
Shai Ben-Zvi
articleNumber
000004120
ft:sourceType
Salesforce
FirstPublishedDate
2018-04-11T12:57:41Z
lastModifiedDate
2024-03-10T07:47:41Z
VersionNumber
17

To continue working with Artifactory remote PyPI repositories as before, please follow the below instructions:

  1. Upgrade Artifactory to the latest patch corresponding to your current version.
  2. After the upgrade, in the PyPI remote repository configuration:

User-added image

Note: The Registry URL field is only available in Artifactory versions 5.10.3 and above. This field could not be added to earlier versions, and 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.