packages

The packages command allows you to view the packages within an ActiveState Platform project.

Usage

state packages

state packages

List the packages and versions currently included in your project.

-------------  ------------
 Name           Version    
-------------  ------------
 numpy                     

 pluggy         0.12.0     

 pytest         4.3.0      

 requests       2.21.0     
-------------  ------------

In the example output, specific versions have been specified for pluggy, pytest, and requests. No version was specified for numpy, so the latest version available on the Platform will be used each time the project is built.

If you want to view the packages and versions for a particular commit, an earlier saved version of your project, you can specify the --commit flag. Currently, the commit IDs for a project are only available in the History tab for the Project in the Dashboard.

For example:

state packages list --commit 17167a9b-40f0-4bdf-b3ec-b2755badeb50