Version status

About the version "active" flag

By default, any version of a package you upload to Packagr is marked as active. Only versions marked as active will be made available via pip. You can see the version's active flag in the package view list - see the green ticks on the right hand side below:

Changing the version active status

Packagr lets you mark a specific version as inactive. Doing this means that the specific version will no longer be made available via pip. This provides a convenient way of making older versions of a package unavailable, without the need for deleting them

Manually editing the version's "active" flag

To toggle the active status of a particular version, click on the green tick shown in the above screenshot. It will turn grey, meaning the the version is inactive

Automaticaly managing the active versions of a package

Packagr also givens you the option to automatically manage the active flag of a package's versions, by specifying how many active versions that you want to mark as active. This can be done via the Package settings section of the package view.

Changing the version active status

By default, all versions are marked as active, but by changing the settings as shown above, you can ensure that Packagr only display the most recent N versions of a given package.

If you do this, every time a version is added or deleted, the logic is applies and the number of available versions is updated. The ordering of versions in Packagr is based on the version number.

Keep mind that if you use this setting, any manual changes to this flag will be overwritten