Updating Python Dependencies for Shells and Drivers
This article explains how to update your Python dependencies folder. This is required when you upgrade a Shell or driver that has new/updated dependencies. It applies to both online and offline dependencies.
Updating offline Python dependencies
- Download the latest Python dependencies package zip file locally and extract the zip file to the local PyPi Server repository. See Configuring Execution Servers to Work Offline.
Restart any execution server that has a live instance of the relevant driver or script. This requires running the TestShell Execution Server's configuration wizard - see the CloudShell Suite Installation Guide.
Updating online Python dependencies
In online mode, the execution server automatically downloads and extracts the appropriate dependencies file to the online Python dependencies repository every time a new instance of the driver is created.
To update online Python dependencies:
- If there is a live instance of the driver, restart the execution server, as explained above. If an instance does not exist, the execution server will download the Python dependencies the next time a command of the driver or script runs.