Skip to content
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

Merged
merged 62 commits into from
Jun 24, 2024
Merged

Sb python3.12 #284

merged 62 commits into from
Jun 24, 2024

Conversation

SteffenBrinckmann
Copy link
Contributor

No description provided.

@SteffenBrinckmann SteffenBrinckmann self-assigned this May 13, 2024
@SteffenBrinckmann SteffenBrinckmann marked this pull request as draft May 13, 2024 07:16
@SteffenBrinckmann
Copy link
Contributor Author

@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

@SteffenBrinckmann
Copy link
Contributor Author

SteffenBrinckmann commented May 15, 2024

@jmurugan-fzj Can you understand these pytest issues, why is Save not part of the buttonbox anymore?

@jmurugan-fzj
Copy link
Contributor

@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!
image

@SteffenBrinckmann
Copy link
Contributor Author

@jmurugan-fzj Sorry for being unclear: can you understand why PyTest&Coverage fails? There are some strange messages.

@SteffenBrinckmann
Copy link
Contributor Author

SteffenBrinckmann commented May 15, 2024

Myself:

  • There are also many warnings in pytest about fontawesome: repair those in this PR as well
    • The FontAwesome 4.7 ('fa' prefix) icon set will be removed in a future release in favor of FontAwesome 6. We recommend you to move to FontAwesome 5 ('fa5*' prefix) to prevent any issues in the future
    • make all github actions use the same python version
      Did those changes

@jmurugan-fzj
Copy link
Contributor

jmurugan-fzj commented May 16, 2024

@jmurugan-fzj Sorry for being unclear: can you understand why PyTest&Coverage fails? There are some strange messages.

@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..

image

@SteffenBrinckmann SteffenBrinckmann marked this pull request as ready for review May 16, 2024 11:30
@SteffenBrinckmann
Copy link
Contributor Author

@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?

@jmurugan-fzj
Copy link
Contributor

jmurugan-fzj commented Jun 3, 2024

@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?

@SteffenBrinckmann
Copy link
Contributor Author

@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.

@jmurugan-fzj
Copy link
Contributor

@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 SteffenBrinckmann marked this pull request as draft June 4, 2024 10:52
@jmurugan-fzj
Copy link
Contributor

@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 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.
image

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

@SteffenBrinckmann
Copy link
Contributor Author

@jmurugan-fzj I use Ubuntu 24.04 and python 3.12

@SteffenBrinckmann
Copy link
Contributor Author

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

@jmurugan-fzj
Copy link
Contributor

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!

@jmurugan-fzj jmurugan-fzj marked this pull request as ready for review June 17, 2024 08:51
- Adapted the tests for the changes.
@jmurugan-fzj
Copy link
Contributor

jmurugan-fzj commented Jun 17, 2024

@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!

@jmurugan-fzj
Copy link
Contributor

@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..

@SteffenBrinckmann SteffenBrinckmann merged commit 2b504c1 into main Jun 24, 2024
12 checks passed
@SteffenBrinckmann SteffenBrinckmann deleted the sb_python3.12 branch June 24, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants