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

NAS-130887 / 25.04 / Remove typing.NotRequired for Python 3.10 compatibility #11

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

creatorcary
Copy link
Contributor

@creatorcary creatorcary commented Aug 30, 2024

Though typing.NotRequired is useful when working with TypedDict, it wasn't introduced until Python 3.11. For the time being, we want to allow users to use the websocket client with Python 3.10.

This PR also changes setup.py to enforce a Python version >=3.10 in order to install the client.

@bugclerk bugclerk changed the title Remove typing.NotRequired for Python 3.10 compatibility NAS-130887 / 25.04 / Remove typing.NotRequired for Python 3.10 compatibility Aug 30, 2024
@bugclerk
Copy link

@creatorcary creatorcary marked this pull request as ready for review September 3, 2024 12:48
@creatorcary creatorcary merged commit cbb4d15 into master Sep 3, 2024
1 check passed
@creatorcary creatorcary deleted the NAS-130887 branch September 3, 2024 19:07
@bugclerk
Copy link

bugclerk commented Sep 3, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Sep 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants