-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
TypeError: issubclass() arg 1 must be a class with version 4.6.0 with pydantic #179
Comments
This was referenced May 23, 2023
According to pydantic/pydantic#5821 (comment), it looks like this is probably a bug in pydantic rather than typing_extensions. |
15 tasks
Very similar issue at |
pydantic/pydantic#5826 is the fix for this FYI. |
jmsanders
added a commit
to dagster-io/dagster
that referenced
this issue
May 23, 2023
The latest release of typing_extensions breaks great expectations. Great expectations is already pinned but hasn't release a new version yet: great-expectations/great_expectations#7974 (comment) Pydantic and typing extensions are aware of and working on fixes as well: python/typing_extensions#179 pydantic/pydantic#5821 Until all those pins/fixes land, let's introduce our own pins to keep our builds passing.
jmsanders
added a commit
to dagster-io/dagster
that referenced
this issue
May 23, 2023
The latest release of typing_extensions breaks great expectations. Great expectations is already pinned but hasn't release a new version yet: great-expectations/great_expectations#7974 (comment) Pydantic and typing extensions are aware of and working on fixes as well: python/typing_extensions#179 pydantic/pydantic#5821 Until all those pins/fixes land, let's introduce our own pins to keep our builds passing.
Fixed by pydantic/pydantic#5826 |
pydantic v1.10.8 can now be installed from PyPI, and contains the fix. |
odette-elementl
pushed a commit
to dagster-io/dagster
that referenced
this issue
Jun 1, 2023
The latest release of typing_extensions breaks great expectations. Great expectations is already pinned but hasn't release a new version yet: great-expectations/great_expectations#7974 (comment) Pydantic and typing extensions are aware of and working on fixes as well: python/typing_extensions#179 pydantic/pydantic#5821 Until all those pins/fixes land, let's introduce our own pins to keep our builds passing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a package using pydantic for type validation. It was working fine since March, but I got below error (see screenshot) and found that there's a new release of typing_extensions 4.6.0.
![image](https://private-user-images.githubusercontent.com/130758836/240190772-c3473a05-4f9b-4d9b-b8fc-7551358b25c0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDE3NzcsIm5iZiI6MTczOTM0MTQ3NywicGF0aCI6Ii8xMzA3NTg4MzYvMjQwMTkwNzcyLWMzNDczYTA1LTRmOWItNGQ5Yi1iOGZjLTc1NTEzNThiMjVjMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNjI0MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jOGM1NmE4YjRiY2Q1MzdjNTNjNjAwZjUzYTA5ZTM1OGQ0ZWIxMzc0MzhmNTNlOTU2YTg5OGJlOTUxZDI1ZGY0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2pBKr8N6J_lydCUkCxEo93tR_lG_QKSVNHSi1lzQbbU)
I am not sure if it is the issue of typing_extensions, but I don't get below error with version 4.5.0.
My python version is 3.10 and pydantic version is 1.10.7.
The text was updated successfully, but these errors were encountered: