Updating Finesse
We recommended staying up to date with the latest Finesse release, since we are continuously improving the software and fixing bugs. See the Changelog for the latest changes and subscribe to the matrix channel to get notified of new releases
User installation
Make sure you have your Finesse environment activated (we are assuming your conda environment is named ‘finesse’, if you use another environment name you have to adjust the command):
$ conda activate finesse
Update the Finesse package from conda-forge:
(finesse) $ conda update -c conda-forge finesse
Sometimes conda refuses to update to the latest version, because of version incompatibilities with other software you may have installed in your environment. The latest version of Finesse is “3.0.3” and you can request it explicitly with:
(finesse) $ conda update -c conda-forge finesse==<latest_version>
Conda environments can be broken for various reasons, and refuse to install the latest version of Finesse. When that happens, it is recommended to create a fresh environment to install the latest version, following the conda finesse installation instructions. To prevent confusion, you may want to delete your old environment:
(finesse) $ conda activate base (base) $ conda env remove -n finesse
Warning
Deleting your finesse environment will also delete any extra dependencies that you
may have installed over time. You can run conda env export -f
old_environment.yml to create a backup environment file to revert to with conda
env create -f old_environment.yml
Developer installation
Check out the latest version tag “3.0.3” (or possibly a branch or a special commit) that you want to update to with git:
$ git checkout <finesse_version>
You may have to update your conda environment, depending on which version of Finesse you are coming from:
$ conda activate finesse
(finesse) $ conda update -f environment.yml
Finally run make to recompile the Cython extensions:
(finesse) $ make