Description

REPOSITORIES: How Can a Remote PyPi Repository Be Configured to Work as a Private PyPi Server?

AuthorFullName__c
Adi Vizgan
articleNumber
000004545
ft:sourceType
Salesforce
FirstPublishedDate
2020-02-06T23:23:47Z
lastModifiedDate
2020-02-06
VersionNumber
6
If you will leave the Registry URL with the default - https://pypi.org you will encounter issues when trying to fetch artifacts.
In order to configure a remote repository that points to a privately hosted PyPi server, you will need to configure both the URL and the Registry URL to point to the same location - the PyPi server address that you configured in your server. For example - if you configure your server to run with the address http://pypi-hosted:9091, the configuration will be:
URL - http://pypi-hosted:9091 
Registry URL - http://pypi-hosted:9091