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​
Flag | Description |
---|---|
--requirements PATH | Path 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 TEXT | Python Version to resolve the dependencies for. Optional, defaults to 3.8 |
--verbose | Activates debug mode and provides detailed output, including subcommands and diagnostic information to assist in troubleshooting |
-h, --help | Show 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