Repository navigation
Breaking changes
- Python 3.10 is now the minimum.
formatter.pyalready used PEP 604 syntax (dict | None) evaluated at definition time, which raisesTypeErroron 3.9 — the previously declared>=3.9floor was never accurate. Python 3.9 reached end of life in October 2025. requests>=2.32.4(was>=2.28.0). The old floor allowed versions affected by CVE-2024-35195, CVE-2023-32681 and CVE-2024-47081. The library never usesSessionobjects norverify=False, so none of these were exploitable here, but the floor now excludes them outright.
Fixes
pydantic>=2.0is now declared as a dependency. It was imported bycommon.pyand listed inrequirements.txt, but missing frominstall_requires, so installing from PyPI failed withImportErrorunless pydantic happened to already be present in the environment.
Packaging
- Migrated from
setup.py+requirements.txtto apyproject.tomlbuilt withhatchlingand managed with uv, with a committeduv.lock. - The publish workflow now builds and uploads with
uvand verifies the lockfile is in sync.
Install
pip install llm-templates
uv add llm-templates