Pip queue environment for Deadline Cloud
The
pip_queue_env.yaml
When a job provides a PipPackages parameter value, the
queue environment creates a Python virtual environment in the session
working directory, installs the requested packages into it with pip, and
activates it so that the job's steps run with those packages available.
If PipPackages is empty, the queue environment does nothing,
so you can add it to a queue that also runs jobs that don't use it.
The PipIndexUrl and PipExtraIndexUrls
parameters let jobs install from a private package index, such as an
AWS
CodeArtifact repository, instead of the default
PyPI
Unlike conda and Rez, pip and venv are included with Python itself, so
worker hosts only need a python3 (or python)
interpreter on the PATH. Deadline Cloud service-managed fleets provide
one.
The
pip_package_job