Skip to content

v0.2.0

Latest

Choose a tag to compare

@jpmanson jpmanson released this 13 Aug 22:18

Breaking changes

  • Python 3.10 is now the minimum. formatter.py already used PEP 604 syntax (dict | None) evaluated at definition time, which raises TypeError on 3.9 — the previously declared >=3.9 floor 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 uses Session objects nor verify=False, so none of these were exploitable here, but the floor now excludes them outright.

Fixes

  • pydantic>=2.0 is now declared as a dependency. It was imported by common.py and listed in requirements.txt, but missing from install_requires, so installing from PyPI failed with ImportError unless pydantic happened to already be present in the environment.

Packaging

  • Migrated from setup.py + requirements.txt to a pyproject.toml built with hatchling and managed with uv, with a committed uv.lock.
  • The publish workflow now builds and uploads with uv and verifies the lockfile is in sync.

Install

pip install llm-templates
uv add llm-templates