-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] Modules fail due to pydantic 'deprecated' issues #492
Comments
This is due to a change to seedfarmer when updating to v2 of pydantic. There is a dependency of pydantic v2 on the typing-extensions library, which has modified it's package structure. In order to get your module working again, in the module itself, update the requirements.txt file : You can also directly install this library in your deployspec.yaml with pip: 2nd Choice
|
We will add to our docs that this is the minimum version going forward |
When updating to SeedFarmer~=3.1.0, my modules that were deploying correctly now fail with the following:
ImportError: cannot import name 'deprecated' from 'typing_extensions' (/root/.venv/lib/python3.10/site-packages/typing_extensions.py)
the version of typing-extensions is 4.5.0 (sometimes less than that depending on the module)
How can we correct this?
The text was updated successfully, but these errors were encountered: