pisa
pisa copied to clipboard
pisa currently incompatible with python 3.11 and 3.12
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
-
versioneer.py
is too old (see https://docs.python.org/3/whatsnew/3.12.html#configparser). Is there a reason why we can't ship a newer version of versioneer which supports python 3.12 as well? - numpy only supports python 3.12 starting with v1.26.0, but we require < 1.23
python 3.11
- pip seems to be trying to build scikit-learn <= 1.1.2 from its source distribution because there are no wheels for python 3.11 (only for scikit-learn >= 1.1.3), and I'm getting some
Cython.Compiler.Errors.CompileError
apparently when some extensions are being compiled- there is no conda package for python 3.11 either (check https://anaconda.org/conda-forge/scikit-learn/files?version=1.1.2 for example)
- numpy only supports python 3.11 starting with v1.23.2, but we require < 1.23