-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Allow pydantic v2 using transitional v1 support #12888
Allow pydantic v2 using transitional v1 support #12888
Conversation
@explosion-bot please test_slow |
1 similar comment
@explosion-bot please test_slow |
URL: https://buildkite.com/explosion-ai/spacy-slow-tests/builds/440 |
wheelwright build (with some hacks to use pydantic v1 for testing on aarch64) is fine: https://dev.azure.com/explosion-ai/Public/_build/results?buildId=26594&view=results |
Now that spaCy (and its dependencies, confection and thinc) support pydantic v2 explosion/confection#38 explosion/thinc#891 explosion/spaCy#12611 explosion/spaCy#12888
Are there specific instructions for using this? I'm still getting |
This is the error you would get if you have pydantic v2 installed with spacy v3.6.0 or earlier. Can you check with |
I've switched back to pydantic v1 |
I also am getting:
with pydantic 2.6.1 and spacy 3.7.4. what am I doing wrong? |
Description
Allow pydantic v2 using transitional v1 support.
Types of change
Enhancement?
Checklist