Skip to content

use python 3.8+ #113

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

Merged
merged 2 commits into from
Apr 17, 2023
Merged

use python 3.8+ #113

merged 2 commits into from
Apr 17, 2023

Conversation

ev-br
Copy link
Collaborator

@ev-br ev-br commented Apr 16, 2023

Add from __future__ import annotations to allow tuple[ArrayLike] typing on python 3.8, tweak the normalization internals to match PEP-563.

On CI, downgrade python version to 3.8, unpin pytorch to test on the current released version. We'll get the full pytorch CI matrix at upstreaming time, so for now I think we can invest limited effort in the CI.

fixes gh-111

@ev-br ev-br requested a review from lezcano April 16, 2023 09:01
Copy link
Collaborator

@lezcano lezcano left a comment

Choose a reason for hiding this comment

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

Great! Thank you for the comprehensive fix!

@ev-br ev-br merged commit 5a7e423 into main Apr 17, 2023
@ev-br ev-br deleted the string_annot branch April 17, 2023 08:10
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.

The use of tuple in annotations is Python 3.9
2 participants