Skip to main content

PyPi Server

note

Starting with CloudShell 2026.1, the RequirementsRepository, RequirementsTrustedHost, and RequirementsExtraRepository keys are also honored during Execution Server setup and default-environment bootstrap — not only when running driver commands. This lets an Execution Server that must use a private or HTTPS-only PyPI index complete setup against that index without a workaround. Set the keys before running Execution Server setup.

Set the online computer's name and port

note

This applies to CloudShell deployments using PyPi Server to retrieve and serve Python dependencies from a dedicated online computer.

Key<add key="RequirementsRepository" value="http://<hostname|IP>:<port>"/>
Possible valueshostname or IP address and port
Where to add/changecustomer.config CloudShell Execution Server installation directories
Default valueN/A
Affected CloudShell ComponentExecution Server
Version8.2 and above

Define the online computer as a trusted host

note

This applies to CloudShell deployments using PyPi Server to retrieve and serve Python dependencies from a dedicated online computer.

Key<add key="RequirementsTrustedHost" value="http://<hostname|IP>:<port>"/>
Possible valueshostname or IP address specified in the RequirementsRepository configuration key
Where to add/changecustomer.config CloudShell Execution Server installation directories
Default valueN/A
Affected CloudShell ComponentExecution Server
Version8.2 and above

Set a secondary online python packages repository

note

Make sure to set this key on all execution servers.

Key<add key="RequirementsExtraRepository" value="http://<hostname|IP>:<port>"/>
Possible values

hostname or IP address and port. For example:

<add key="RequirementsExtraRepository" value=https://testpypi.python.org/simple//>

Where to add/changecustomer.config CloudShell Execution Server installation directories
Default valueN/A
Affected CloudShell ComponentExecution Server
Version8.2 and above