-
Notifications
You must be signed in to change notification settings - Fork 209
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 Python 3.12 support #1338
Add Python 3.12 support #1338
Conversation
The exact 3.12.0 version made things a little more complicated around the PSI4 install. The @mrossinek I found out, after a few fails, that the reason was 3.12 was failing was due to scipy being pinned per #1214 though that gave me little context. I imagine CI was failing here too but it really just points to the Qiskit PR. Either way it needed altering to allow a newer version for 3.12, so the constraint looks like it now is in Qiskit, which still has it. Though I was wondering if it was really needed any more here - I did not try running things without it. |
Co-authored-by: Max Rossmannek <oss@zurich.ibm.com>
Pull Request Test Coverage Report for Build 7974550245Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this!
* Add Python 3.12 support * Add env to pyproject * Black does not have a 312 target version * Alter PSI4 install for 3.12 as it was getting 3.12.0 * Alter PSI4 install for 3.12 as it was getting 3.12.0 * Update scipy contraint (matches qiskit again) * Update constraints.txt Co-authored-by: Max Rossmannek <oss@zurich.ibm.com> --------- Co-authored-by: Max Rossmannek <oss@zurich.ibm.com> (cherry picked from commit 9b9e866)
* Add Python 3.12 support * Add env to pyproject * Black does not have a 312 target version * Alter PSI4 install for 3.12 as it was getting 3.12.0 * Alter PSI4 install for 3.12 as it was getting 3.12.0 * Update scipy contraint (matches qiskit again) * Update constraints.txt Co-authored-by: Max Rossmannek <oss@zurich.ibm.com> --------- Co-authored-by: Max Rossmannek <oss@zurich.ibm.com> (cherry picked from commit 9b9e866) Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
Summary
See #1327 I will not mark this to close that since this still CI needs to use 3.12.0 specifically as the breaking change to testtools, referred there has not yet been addressed. So rather than have it close it and then open another specifically around juct using 3.12 when we are able, I just put a task list in there so this does one of the entries. The other will need a release of testtools first.
I marked this stable backport in order to facilitate a release that supports 3.12.
Details and comments
If/when merged will require branch rules updating.