-
Notifications
You must be signed in to change notification settings - Fork 8
SelfupdateCommand
Dave Evans edited this page Sep 5, 2017
·
3 revisions
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.
git cirrus selfupdate
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