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
TST: Test against Python 3.12 pre-prelease #14784
Conversation
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
👋 Thank you for your draft pull request! Do you know that you can use |
Huh, why is the devdeps job not picking up numpy 2.0.dev wheel from https://anaconda.org/scientific-python-nightly-wheels/numpy/files ? They seem to have some |
Looks like https://github.com/astropy/astropy/actions/runs/5896110330/job/15993310599?pr=14784 |
It is not, for some reason it had astropy/asdf-astropy#193 should fix this. |
This comment was marked as resolved.
This comment was marked as resolved.
2c0a48d
to
8a612a4
Compare
pyerfa is still not playing well with Python 3.12 (see errors in liberfa/pyerfa#111). I have to disable it here. |
This comment was marked as resolved.
This comment was marked as resolved.
Ah... maybe because numpy 1.25 does not have a cp312 wheel, so it is trying to build numpy from source before building astropy... |
83f954f
to
288501d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
e9a5bb2
to
ff428a3
Compare
This comment was marked as resolved.
This comment was marked as resolved.
@pllim - the deprecation of |
Actually the chararray stuff might not be as dire as it sounds. I only found one line that needed replacing I think. Let's see what the CI says over at #15363 🤞 |
Also have to catch KeyError in NDSlicingMixin for uncertainty and mask now. BLD: Add py312 wheels. BLD: Update cython to 0.29.36 for Python 3.12.
This comment was marked as resolved.
This comment was marked as resolved.
Of course there are conflicts. Otherwise it would be too easy. I'll take care of it. |
Thanks so much, @pllim!!! 🎆 |
for Pyhon 3.12. This was supposed to be in #14784 but got lost in rebase. Co-authored-by: Maximilian Linhoff <maximilian.linhoff@tu-dortmund.de>
maxnoe's Cython bump was lost in the rebase. I fixed at in 709ce95 in |
Description
This pull request is to see if we will be compatible with Python 3.12 (#14783). Only the alpha is out, so I am feeling this is going to fail horribly now because we also need upstream stuff to be compatible first. We can always re-run this PR as needed.
Fix #14783
Close #15238 (hopefully)
Companion of #15331
TODO:
Blocked by:
Not blocker but linked to this PR: