Repository navigation
v0.5.3: Python runtime fixes and Go 1.25
Runtime fixes from the post-launch review. English output is unchanged; catalogs need no migration.
Python runtime
- Fails open when the terminal or pipe can't encode a translation (a
cp1252stdout on Windows, for one): output stays English instead of raisingUnicodeEncodeError;LOCALIZER_DEBUG=1says why, andPYTHONUTF8=1allows it. localize()no longer imports Rich and Typer's rendering helpers up front: hooks attach the moment the framework imports those modules, so startup drops from about 55 ms to about 5 ms on the example app.- rich-click commands and groups are localized like Click's.
py.typedships in the wheel; the dump file is created exclusively and skipped for root or setuid processes; the macOS preferences file is read only when it is a regular file, in binary mode on every platform.
Go runtime
- The module now requires Go 1.25 and takes cobra 1.10.2, pflag 1.0.10, x/text 0.41.0 and x/sys 0.47.0.
Repository
- Dependabot keeps the Go, Python, site and Actions dependencies current; CI tests the minimum Go version; releases need the maintainer's approval before publishing to PyPI.