{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"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/dragonfly/devel/py-eval-type-backport/","kind":"port","lastUpdate":null,"license":["MIT"],"licenses":["MIT"],"maintainer":"sunpoet@FreeBSD.org","name":"py312-eval-type-backport","newest":true,"newestVersion":"0.4.0","noVulnData":false,"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":"/midnightbsd/devel/py-eval-type-backport/","system":"MidnightBSD","updated":"2026-11-05","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":"py312-eval-type-backport-0.4.0","related":null,"repository":"DPorts","requiredBy":["misc/py-llama-index-core"],"requiredByCount":1,"runDepends":["lang/python312"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.4.0","versions":[{"date":"2026-11-11","version":"0.4.0"}],"vulnerabilities":null,"www":"https://github.com/alexmojaki/eval_type_backport"}
