-
Notifications
You must be signed in to change notification settings - Fork 30
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
support Python 3.12 #388
support Python 3.12 #388
Conversation
We need to make numba conditional on Python version. It’s always slow. |
Thanks, @henryiii! The awkward (v1) - numba backend has been failing with the numba cc: @jpivarski |
It's not the case that everyone has migrated to Awkward 2 because Coffea 2023 (which depends on Awkward 2 instead of Awkward 1) is still in release-candidate. However, when Coffea switches from its built-in vectors to Vector, it will be in the 2023 series, so I think there wouldn't be a version conflict to drop Awkward 1 from Vector. But this is a bigger problem than Vector anyway: Awkward 1 should either fix its Numba 0.58 support or cap it (which would be difficult because it's a soft/runtime dependency). |
Also, looking at the error message,
I think this might be a warning, not an error, so Awkward 1 doesn't get into a true conflict with Numba until some version after 0.53. Something should be done now, anyway. |
Thanks for the explanation, @jpivarski! |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #388 +/- ##
=======================================
Coverage 83.21% 83.21%
=======================================
Files 96 96
Lines 11429 11429
=======================================
Hits 9511 9511
Misses 1918 1918 ☔ View full report in Codecov by Sentry. |
A new Awkward 1 version is ready: scikit-hep/awkward#2737 |
Everything works, thanks, @jpivarski! |
I should have asked this before merging, but should we bump Awkward's minimum version to Lines 45 to 57 in 30e19f9
|
There were no code changes, right? It's just adding CI and the trove classifier? |
I don't think we need to bump the minimum Awkward, people get the highest version unless something caps, in which case bumping the minimum makes the solve impossible. I'd only bump the minimum if vector itself doesn't support 1.2 of if we have a lower bound dependency on something 1.2 doesn't work with (Numba's not a hard dep), not if 1.2 doesn't work anymore with the latest dependencies. |
I don't see any code changes here: v1.1.1...main So at best, if you want the updated classifier, we could so a 1.1.2, or maybe just a 1.1.1.post1. |
That makes sense, I will create a 1.1.1.post1 (too many ones, haha) release. Thanks! |
Description
Kindly take a look at CONTRIBUTING.md.
Please describe the purpose of this pull request. Reference and link to any relevant issues or pull requests.
Checklist
$ pre-commit run --all-files
or$ nox -s lint
)$ pytest
or$ nox -s tests
)$ cd docs; make clean; make html
or$ nox -s docs
)$ xdoctest ./src/vector
or$ nox -s doctests
)Before Merging