Skip to main content
Version: 0.8

environment resolve-dependencies

Usage​

tecton environment resolve-dependencies

Description​

Resolve Dependencies for a given requirements.txt and return a fully resolved set of requirements.

Options​

FlagDescription
--requirements PATHPath to requirements.txt file. [required]
--output-file PATH Output file to write resolved and fully pinned requirements to. If not specified, the pinned requirements will be printed to stdout
-p, --python-version TEXTPython Version to resolve the dependencies for. Optional, defaults to 3.8
--verboseActivates debug mode and provides detailed output, including subcommands and diagnostic information to assist in troubleshooting
-h, --helpShow command usage and available options

Examples​

Resolve Dependencies:

tecton environment resolve-dependencies --requirements my-custom-env

Resolve dependencies for Python version 3.9

tecton environment resolve-dependencies --requirements my-custom-env --python-version 3.9

Resolve dependencies and write output to file

tecton environment resolve-dependencies --requirements my-custom-env --output-file output.txt

Was this page helpful?