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

fix: resolve incompatibility with typing-extensions >= 4.6.0 #2

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

dbluhm
Copy link
Contributor

@dbluhm dbluhm commented Sep 28, 2023

Resolves #1.

This fix simply loads Literal from typing-extensions for python versions less than 3.11.

Resolves hashberg-io#1.

This fix simply loads Literal from typing-extensions for python versions
less than 3.11.

Signed-off-by: Daniel Bluhm <[email protected]>
@dbluhm
Copy link
Contributor Author

dbluhm commented Sep 28, 2023

@sg495 would greatly appreciate your review and feedback on this fix!

@swcurran
Copy link

Can we get this PR reviewed?

makkus added a commit to makkus/typing-validation that referenced this pull request Nov 7, 2023
@sg495 sg495 merged commit f01a6a4 into hashberg-io:main Dec 18, 2023
@sg495
Copy link
Contributor

sg495 commented Dec 18, 2023

Thank you so much for this @dbluhm, it has been merged!

sg495 added a commit that referenced this pull request Dec 18, 2023
Resolves #1 fully (extends the fix of pull request #2).
Introduces Descriptor class for descriptors with static/runtime typechecks, custom validation and optional readonly flag.
Updates doc generation scripts.
Sets typing_extensions>=4.6.0 in requirements.
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.

Incompatible with typing-extensions 4.6.x
3 participants