{"added":null,"apiVersion":1,"behindSince":"2026-07-08","buildDepends":["devel/py-setuptools","devel/py-setuptools-scm","devel/py-wheel"],"categories":["devel","python"],"comment":"Like typing._eval_type, but lets older Python versions use newer typing features","compare":null,"dependentCount":null,"description":"eval_type_backport is a tiny package providing a replacement for\ntyping._eval_type to support newer typing features in older Python versions.\n\nYes, that's very specific, and yes, typing._eval_type is a protected function\nthat you shouldn't normally be using. Really this package is specifically made\nfor pydantic/pydantic#7873.\n\nSpecifically, this transforms X | Y into typing.Union[X, Y] and list[X] into\ntyping.List[X] etc. (for all the types made generic in PEP 585) if the original\nsyntax is not supported in the current Python version.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/py-eval-type-backport/","kind":"port","lastUpdate":null,"license":["mit"],"maintainer":"sunpoet@FreeBSD.org","name":"${PYTHON_PKGNAMEPREFIX}eval-type-backport","newest":false,"newestVersion":"0.4.0","noVulnData":true,"origin":"devel/py-eval-type-backport","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-eval-type-backport","path":"/devel/py-eval-type-backport/","system":"FreeBSD","updated":"2026-07-08","version":"0.4.0"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-eval-type-backport","path":"","system":"HardenedBSD","version":"0.4.0"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-eval-type-backport","path":"","system":"GhostBSD","version":"0.4.0"}],"packages":null,"pkgName":"${PYTHON_PKGNAMEPREFIX}eval-type-backport-0.3.1_1","related":null,"repository":"mports","requiredBy":["ai/py-mistral-vibe","devel/py-mistralai"],"requiredByCount":2,"runDepends":[],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"0.3.1_1","versions":null,"vulnerabilities":null,"www":"https://github.com/alexmojaki/eval_type_backport"}
