Incompatible with latest release of pydantic (v2)
envgap__jaraco__inflect-187
01 / FAILURE SIGNATURE
As reported upstream
ImportError: cannot import name 'Annotated' from 'pydantic.typing' ([...]/python3.9/site-packages/pydantic/typing.py)
Not scored yet.
- The failure reproduces in a clean container and the known fix makes the project run; it has not been scored yet.
02 / ENVIRONMENT RECIPE
- Base commit
9f54f12c7988f16225196e39c4c794803bfac9ac- Manifest
setup.cfg- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
jaraco/inflect #187 · read the original issue
Version 2 of pydantic, which introducesbreaking changes, was just released to pypi. It seems that inflect is not compatible. Need to pin the version requirement for inflect's dependency.
As a workaround, we're just locally pinning our pydantic to < 2.
fyi, we're seeing
```
File "[...]/python3.9/site-packages/inflect/__init__.py", line 77, in <module>
from pydantic.typing import Annotated
ImportError: cannot import name 'Annotated' from 'pydantic.typing' ([...]/python3.9/site-packages/pydantic/typing.py)
```04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]