CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

devel/py-eval-type-backport 0.4.0

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

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 0.4.0
Upstream
up to date
Last update
to 0.4.0 · 3f6efd2cae
Quarterly
2026Q4: 0.4.0
WWW
https://github.com/alexmojaki/eval_type_backport
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install py312-eval-type-backport
installs 0.4.0 from latest; from quarterly (2026Q4) 0.4.0
Port
# cd /usr/ports/devel/py-eval-type-backport && make install clean
Size
12 KiB download · 40 KiB installed
Depends on
lang/python312 3.12.15
License
MIT

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.4.00.4.0–
FreeBSD 150.4.00.4.0–
FreeBSD 140.4.00.4.00.4.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.4.00.4.0–
FreeBSD 140.4.00.4.00.4.0

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.4.0.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (4)

Po-Chuan Hsieh (sunpoet) · 0.4.0
devel/py-eval-type-backport: Update to 0.4.0

Changes:	https://github.com/alexmojaki/eval_type_backport/commits/main
3f6efd2cae
Po-Chuan Hsieh (sunpoet) · 0.3.1
devel/py-eval-type-backport: Update to 0.3.1

Changes:	https://github.com/alexmojaki/eval_type_backport/commits/main
f90ccfeda1
Po-Chuan Hsieh (sunpoet) · 0.3.0
devel/py-eval-type-backport: Update to 0.3.0

Changes:	https://github.com/alexmojaki/eval_type_backport/commits/main
50289407f5
Po-Chuan Hsieh (sunpoet) · 0.2.2
devel/py-eval-type-backport: Add py-eval-type-backport 0.2.2

eval_type_backport 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 pydantic/pydantic#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.
72e50977a6