LinuxCommandLibrary

pyats-version

Display the installed pyATS version

TLDR

Display version of all packages

$ pyats version check
copy

Display outdated packages
$ pyats version check --outdated
copy

Update packages to the most recent version
$ pyats version update
copy

Update or downgrade packages to a specific version
$ pyats version update [version]
copy

SYNOPSIS

pyats-version

DESCRIPTION

The `pyats-version` command is a utility provided by the pyATS framework to display the installed versions of pyATS, Genie, and related dependencies. This is helpful for troubleshooting, ensuring compatibility, and understanding the environment you are working in. It provides a clear and concise output showing the version numbers for each component. It allows users to quickly determine if they are using the correct versions of libraries required for their automation tasks.

The command is useful for debugging when you have different components of pyATS installed across your system. Additionally, it can be used to check which Python is currently being utilized by the pyATS framework. It will also highlight any potential issues regarding your environment.

This tool aids in maintaining consistency across different development environments and sharing the same execution environment.

CAVEATS

The `pyats-version` command relies on the pyATS framework being properly installed and configured. If pyATS is not installed or the environment is not set up correctly, the command may fail or produce inaccurate results.

OUTPUT EXAMPLE

The output of `pyats-version` typically includes the following information:
pyATS: Version number of the pyATS framework.
Genie: Version number of the Genie library.
Python: The python interpreter where pyATS is installed.
Dependencies: Versions of pyATS' dependencies.

SEE ALSO

python(1), pip(1)

Copied to clipboard