Skip to content
Dave Evans edited this page Sep 5, 2017 · 3 revisions

Selfupdate

To grab a new version of cirrus, the selfupdate command will check Github for the latest release, and then pip install it into the cirrus virtualenv.

Example

git cirrus selfupdate

Troubleshooting

Some conda installs have old versions of setuptools, you can address this by telling cirrus to upgrade it's own venvs setuptools installation:

git cirrus selfupdate --upgrade-setuptools

If a version change is pretty major, you may have problems with dependencies during the install. If you have problems with selfupdate, you can simply activate the cirrus venv and do a pip install or recreate the venv from scratch if needed.

Manual upgrade (or pick a specific version):

. ~/.cirrus/venv/bin/activate 
pip install -U cirrus-cli

Rebuild the cirrus virtualenv:

rm -rf  ~/.cirrus/venv
virtualenv ~/.cirrus/venv
. ~/.cirrus/venv/bin/activate 
pip install -U cirrus-cli

If you installed using conda, the recipe will be slightly different to activate the conda env, but similar in principal:

activate ~/.cirrus/venv
pip uninstall cirrus-cli
pip install cirrus-cli 
Clone this wiki locally