-
Notifications
You must be signed in to change notification settings - Fork 2
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
Sb python3.12 #284
Sb python3.12 #284
Conversation
@jmurugan-fzj ready for review: mypy will fail until pyside6.7.... is released. There is a bug in that that causes mypy to fail. N |
@jmurugan-fzj Can you understand these pytest issues, why is Save not part of the buttonbox anymore?
|
@SteffenBrinckmann Where do you see all these problems related to "Save" button? I see only a single error in the myPy action which is something related to indentation within base library file! |
@jmurugan-fzj Sorry for being unclear: can you understand why PyTest&Coverage fails? There are some strange messages. |
Myself:
|
@SteffenBrinckmann Corrected and committed the errors with 'PySide6.QtWidgets.QDialogButtonBox' already, there are a few other errors which needs further investigation! Need some more time..If you are working on this PR already, please move it out of draft state anyhow to see the updates from actions for the commits.. |
@jmurugan-fzj The new version of pyside is out and it has the corrected grammar. Since we update from pyside 6.2... to 6.7... the types have become much more defined and consistent. As a result, I had to correct 200 mypy issues. The remaining mypy issues are from your code. How do we continue? |
@SteffenBrinckmann Is there any reason why these errors are detected now by myPy and it seems to be all related to QT, did we change some QT related configuration for myPy? Or is this also a problem associated with the latest version of pySide? |
@jmurugan-fzj Yes, it it qt related and before the definitions of qt were not as well as they are now. For me 90% were true issues. |
@SteffenBrinckmann Okay, I am working presently on feature/10-show-completed-module, as soon as I finalize this, I can work on this, is this fine? If so, could you please move it back to draft, as soon as I begin, I shall move it back! |
@SteffenBrinckmann I see some error with the .venv setup for the pasta project and this is because of the old version (Python 3.10.12) of python in my system. I would like to upgrade the Ubuntu (22.04.1-Ubuntu) also to the same version as you have which might also bring the latest version of python. Could you please provide the version of ubuntu & python you have, so that I can ask Ramadan to upgrade it soon too? Do not want to upgrade the python manually, since there are chances that this could mess up my existing setup: link |
@jmurugan-fzj I use Ubuntu 24.04 and python 3.12 |
As you can see from the many mypy commits, my system did not give the same errors as the GitHub action. The GitHub action is the measure, and I repaired, committed, checked again until there was success |
@SteffenBrinckmann Thanks for the information, I would see this as soon as my setup is ready! |
- Adapted the tests for the changes.
@SteffenBrinckmann I had corrected the myPy errors along with the tests, quickly tested the corrected features too and they seem to be working fine, if you are confident about the other features in PASTA, please go ahead and do the merge, but in any-case, I think it's always better to do a whole feature test with the latest versions (Ubuntu 24.04 LTS & Python 3.12.4) of the dependencies! |
@SteffenBrinckmann Would you like to merge this PR or want to wait a bit more? I am thinking to make changes on a new branch (for #301) based on this one, because my setup is also upgraded to the new python version and so on... If you have a different thought, please let me know, I shall wait until this PR is finalized.. |
No description provided.