-
Notifications
You must be signed in to change notification settings - Fork 19
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
Make qualang-tools compatible with python 3.12 #249
Conversation
Hey @yomach, now that qm-qua support python 3.12, we need to release the constraint on qualang-tools as well. |
Also there is a dependency issue with scipy:
Do you know how to solve this, since qm-qua still supports python 3.8 - 3.12? |
@TheoLaudatQM Yes, see how I solved it. |
Nice, thanks a lot Yoav! |
Yes, but for that I would ask for @yonatanrqm help |
We test for multiple python versions in QUAM as well, I'll add it here too |
By the way, should we continue supporting 3.8? Python stopped support for 3.8 |
We will drop support for Python 3.8 soon (either qm-qua 1.2.2 or 1.2.3) |
There are a number of new linting errors (not real errors) due to pylint needing to be upgraded for Python 3.12. I ignore E231 but there are several more. Should we ignore all of them or resolve them? @yomach @TheoLaudatQM |
I would naively say that we should resolve it since it is a requirement for python 3.12, even if it is just linting and without thinking too much I am guessing that there is a good reason behind adding these additional linting checks, but I also don't know more than that so I let you guys decide since you have more experience than me |
I propose we do it in two stages. First we ignore the linting rules and verify that all tests are still working, then merge. |
I would just fix it, most of them are simple whitespace anyway. |
Ok that works for me as well. I will probably have time friday to handle this |
@yomach @TheoLaudatQM I can't believe it, it finally worked 🥲 @TheoLaudatQM @yomach ready to merge? |
Nice work!!! |
Make qualang-tools compatible with python 3.12