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

Push to Python 3.10 #514

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Push to Python 3.10 #514

merged 1 commit into from
Jun 27, 2024

Conversation

Paulocracy
Copy link
Member

This release contains Qt call fixes and a refurbished environment to make CNApy compatible with Python 3.10. Accordingly, to test this PR, you have to create a new mamba/conda environment from the YML file.

@Paulocracy Paulocracy added the enhancement New feature or request label Jun 25, 2024
@Paulocracy Paulocracy requested a review from axelvonkamp June 25, 2024 10:12
@Paulocracy Paulocracy self-assigned this Jun 25, 2024
@axelvonkamp axelvonkamp requested a review from sthiele June 25, 2024 20:40
@axelvonkamp axelvonkamp merged commit aa147e3 into master Jun 27, 2024
4 checks passed
@axelvonkamp axelvonkamp deleted the new_python_310 branch June 27, 2024 09:26
Copy link
Member

@sthiele sthiele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proposed changes look good to me. Besides that I noticed some unused import in the files and probably in others as well. Also I think type annotation has changed in Python. https://docs.python.org/3/library/typing.html
I also noticed a quirk with the use scenario checkbox, but I'm not sure it is related to this PR.

@Paulocracy
Copy link
Member Author

Oh yes, type annotations are now much easier to do as, most of the times, one does not need to import typing anymore; As you suggested, deleting (now) unused imports is a primary target now :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants