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

Add compatibility with Python 3.12 #29

Merged
merged 5 commits into from
Feb 17, 2024
Merged

Add compatibility with Python 3.12 #29

merged 5 commits into from
Feb 17, 2024

Conversation

tobiasdiez
Copy link
Contributor

@tobiasdiez tobiasdiez commented Nov 1, 2023

Not sure if its that easy.

@videlec
Copy link
Collaborator

videlec commented Nov 1, 2023

Not that easy indeed. One needs to first upgrade packages on conda-forge (see conda-forge/gmpy2-feedstock#35).

Run mamba install --quiet setuptools gmpy2 cysignals ppl "cython<3.0.0"
Could not solve for environment specs
The following packages are incompatible
└─ gmpy2   is installable with the potential options
   ├─ gmpy2 [2.0.7|2.0.8|2.1.0b1] would require
   │  └─ python [2.7* |>=2.7,<2.8.0a0 ], which can be installed;
   ├─ gmpy2 [2.0.7|2.0.8] would require
   │  └─ python 3.4* , which can be installed;
   ├─ gmpy2 [2.0.7|2.0.8] would require
   │  └─ python 3.5* , which can be installed;
   ├─ gmpy2 2.0.8 would require
   │  └─ python 3.6* , which can be installed;
   ├─ gmpy2 [2.0.8|2.1.0b1|2.1.0b5] would require
   │  └─ python >=3.6,<3.7.0a0 , which can be installed;
   ├─ gmpy2 [2.0.8|2.1.0b1|2.1.0b5|2.1.0rc1|2.1.2] would require
   │  └─ python >=3.7,<3.8.0a0 , which can be installed;
   ├─ gmpy2 [2.1.0b1|2.1.0b5|2.1.0rc1|2.1.2] would require
   │  └─ python >=3.8,<3.9.0a0 , which can be installed;
   ├─ gmpy2 [2.1.0b1|2.1.0b5|2.1.0rc1|2.1.2] would require
   │  └─ python >=3.9,<3.10.0a0 , which can be installed;
   ├─ gmpy2 [2.1.0rc1|2.1.2] would require
   │  └─ python >=3.10,<3.11.0a0 , which can be installed;
   └─ gmpy2 2.1.2 would require
      └─ python >=3.11,<3.12.0a0 , which can be installed.

@mkoeppe
Copy link

mkoeppe commented Nov 1, 2023

Yes, gmpy2 is not ready. See sagemath/sage#36351

@videlec
Copy link
Collaborator

videlec commented Nov 1, 2023

Yes, gmpy2 is not ready. See sagemath/sage#36351

Thanks for the pointer. There is an alpha release released on pypi that we could use here.

@videlec videlec force-pushed the py312 branch 7 times, most recently from a18d60c to dfa4eba Compare November 1, 2023 21:16
@videlec
Copy link
Collaborator

videlec commented Nov 1, 2023

conclusion: nothing to do :-)

@videlec videlec merged commit 3fe5f62 into master Feb 17, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants