Python version for FlexTool
I have installed FlexTool with version 3.8, as recommended in the documentation. Now when opening SpineToolBox I get this message:
[12-08-2024 17:58:59] Please upgrade your Python.
[12-08-2024 17:58:59] Looks like you are running Python 3.8. Support for Python older than 3.9 will be dropped in September 2024.
Do you think it may create problems for FlexTool, or will we keep using 3.8 anyway?
The documentation should absolutely recommend a newer version. There's no guarantee you will be able to start Toolbox in Python 3.8 after October.
In practice, does it mean that we'll need to uninstall and re-install flextool and spinetoolbox?
Not everything, the repositories do not need changes. You need a new environment: conda create -n flextool python=3.xx conda activate flextool (You might need to either delete the old 'flextool' environment or call the new one something else)
And load packages to the new environment: conda install git cd Spine-Toolbox git pull python -m pip install -r requirements.txt
Hi, I have installed Python 3.12.4 version in my system. Can I create the environment without specifying the Python version or do you recommend the version 3.12.4 while creating the environment?
It'd also be good to specify the new version in the documentation.
On my side I have specified python=3.9, and it works fine.
I agree that the documentation should be updated.
Edit: the documentation file is updated on GitHub (with version 3.11) but not the documentation. @ArttuTupala, whenever you have time, could you take care of refreshing the doc?
Documentation has been updated. It currently says versions up-to 3.12 work, but actually also 3.13 should work since this week (Toolbox update). But I haven't tested, so I keep this open.