Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pisa currently incompatible with python 3.11 and 3.12 #779

Open
thehrh opened this issue Jul 22, 2024 · 2 comments
Open

pisa currently incompatible with python 3.11 and 3.12 #779

thehrh opened this issue Jul 22, 2024 · 2 comments

Comments

@thehrh
Copy link
Contributor

thehrh commented Jul 22, 2024

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

  • 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
  • numpy only supports python 3.11 starting with v1.23.2, but we require < 1.23
@LeanderFischer
Copy link
Collaborator

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
Copy link
Contributor Author

thehrh commented Aug 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants