Bump min Python from 3.11 to 3.12#1395
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1395 +/- ##
==========================================
+ Coverage 96.21% 96.28% +0.06%
==========================================
Files 278 329 +51
Lines 40023 47017 +6994
==========================================
+ Hits 38508 45269 +6761
- Misses 1515 1748 +233
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hello. You may have forgotten to update the changelog!
|
…estreview-4564532554
|
|
Also: Do we want to bump to 3.12 in |
|
can. you update this too pennylane-lightning/doc/index.rst Line 15 in faa8e83 |
@josephleekl Done! |
josephleekl
left a comment
There was a problem hiding this comment.
thanks @JerryChen97 !
|
In case it breaks Catalyst CI drastically and unnecessarily, I'll hold until Catalyst's bump is merged |
Context:
PennyLane is on the way to drop 3.11 (see this and this. Before that happens, Lightning needs to bump to 3.12 first
Description of the Change:
PYTHON3_MIN_VERSIONfrom"11"to"12"in the wheel build matrix.cp311-*entries from wheel CI workflows (Linux x86_64, Linux aarch64, Linux x86_64 CUDA, Linux aarch64 CUDA, Linux x86_64 ROCm, macOS arm64, Windows x86_64).upload-nightly-rc-release.ymlto use Python 3.12.requires-python = ">=3.12"inpyproject.tomland remove theProgramming Language :: Python :: 3.11classifier.setup.py,README.md, anddoc/index.rst.Benefits:
Keeps PennyLane-Lightning in sync with the PennyLane core Python version policy, reducing CI build time and maintenance surface.
Possible Drawbacks:
Users still on Python 3.11 will need to upgrade to 3.12+.
Related GitHub Issues:
[sc-123549]