Like `typing._eval_type`, but lets older Python versions use newer typing features.

eval_type_backport This is a tiny package providing a replacement for typing._eval_type to support newer typing features in older Python versions. Yes, that's very specific, and yes, typing._eval_type is a protected function that you shouldn't normally be using. Really this package is specifically made for https:/github.com/pydantic/pydantic/issues/7873. Specifically, this transforms X | Y into typing.Union[X, Y] and list[X] into typing.List[X] etc. (for all the types made generic in PEP 585) if the original syntax is not supported in the current Python version. Install From PyPI: pip install eval-type-backport or with Conda: conda install -c conda-forge eval-type-backport
RPM
python3-eval-type-backport-0.2.2-1.lbn42.noarch.rpm
Summary
Like `typing._eval_type`, but lets older Python versions use newer typing features.
URL
https://pypi.org/project/eval-type-backport
Group
Unspecified
License
ZPL
Source
python-eval-type-backport-0.2.2-1.lbn42.src.rpm
Checksum
f1492d7233590c3d138d42d62a5a3c8a17622eed2896296e3bd24795237785b1
Signing Signature
RSA/SHA512, Sun 05 Apr 2026 07:24:32 PM AEST, Key ID d760880122ab8392
Build Date
2025/09/13 15:21:44
Requires
Provides
python-eval-type-backport = 0.2.2-1.lbn42
python3-eval-type-backport = 0.2.2-1.lbn42
python3.13-eval-type-backport = 0.2.2-1.lbn42
python3.13dist(eval-type-backport) = 0.2.2
python3dist(eval-type-backport) = 0.2.2
Obsoletes