icecube / pisa

Monte Carlo-based data analysis
http://icecube.github.io/pisa/
Apache License 2.0
19 stars 49 forks source link

pisa currently incompatible with python 3.11 and 3.12 #779

Open thehrh opened 3 months ago

thehrh commented 3 months ago

One might be inclined to use the above python releases because the installation guide states that "you can choose your preferred version of python >= 3.10". This is followed by the example shell command conda create -n pisa_env python=3.10.

However, as it stands, the installation fails under python 3.12 and python 3.11. This is probably most easily avoided right now by removing the ambiguity in the python version requirements. In any case, below are some currently existing incompatibilities that prevent using each version (there are probably more).

python 3.12

python 3.11

LeanderFischer commented 3 months ago

Hey, thanks a lot for the detailed issue! Yes, I also saw that those install instructions were a bit imprecise, they were very recently set up by some newer collaborators.. Making the requirements more specific sounds like a very good idea to stop people from struggling with the installation.

In any case, if you are building in an environment where cvmfs is available, I suggest do use the instructions I've set up and tested for a specific python version there.

thehrh commented 2 months ago

Notes on upgrading versioneer: since we're using the "vendored mode", it doesn't look like we'd need to change anything before upgrading from version 0.16 to the latest release, 0.29, which seems to (unofficially) support python 3.12.

I might test upgrading locally and report back.