You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that relative imports are being used, which seems to be the root of the issue in my case. Relative imports should be avoided in packages:
Relative imports for intra-package imports are highly discouraged. Always use the absolute package path for all imports. Even now that PEP 328 is fully implemented in Python 2.5, its style of explicit relative imports is actively discouraged; absolute imports are more portable and usually more readable.
Thanks for the report! This is the same as #411, a bug in pydantic 2.10.0 and 2.10.1. It was fixed in pydantic 2.10.2. Relative imports are discouraged (and I'll cut a branch to fix them) but they're a red herring here.
Try pinning your project's dependencies to either pydantic>=2,<2.10 or pydantic>=2.10.2,<3. If you still get that error, a minimal code snippet that reproduces the problem would help a lot.
I'm getting issues with pyairtable:
I noticed that relative imports are being used, which seems to be the root of the issue in my case. Relative imports should be avoided in packages:
pyairtable/pyairtable/__init__.py
Lines 3 to 6 in 34eb78e
The text was updated successfully, but these errors were encountered: