Updating PCOT
Updating an existing PCOT install should be fairly simple.
- Go into the PCOT root directory - this is the directory which contains
PCOT on your machine, and is usually called
PCOT. It should contain directories calledsrcandtests. - Type
git pull- this should get the latest release - Type
poetry install- this should check for any updated packages and download them
Important: updating to 1.0.0 LITTLE DENNIS
Updating to the 1.0.0 LITTLE DENNIS release is not this simple. This release migrates
PCOT from PySide2 (Qt5) to PySide6 (Qt6), which also requires a more recent Python version (3.11),
so you will need to rebuild your Conda environment completely rather than just running
poetry install in the existing one.
Follow these instructions while inside the PCOT directory instead of the steps above:
git pullto pull the latest version (if you haven't done so already)conda deactivateto deactivate any existing environmentconda env remove -n pcotto delete the old environmentconda create -n pcot python=3.11 poetryto create a new environment with Poetry and the right Python versionconda activate pcotto switch to the new environmentpoetry installto install PCOT
See the 1.0.0 LITTLE DENNIS release notes
for the full details, including a fix for poetry install errors caused by Python picking up your
system install instead of the Conda sandbox.