ADR-0007 — Python versions
- Status: Accepted
- Date: 2026-11-12
- Supersedes: none
- Authors: project maintainers
Context
LangGraph supports Python from 3.11 up. The saver needs a zstd binding: Python 3.14's standard
library has compression.zstd, and backports.zstd provides the same module before 3.14
(architecture.md §10).
Decision
We will support Python 3.11 and up: requires-python, ruff and basedpyright all target 3.11. CI
runs the unit suite on 3.11, 3.12, 3.13 and 3.14, and the type check, the integration tier and
coverage on 3.13.
Alternatives considered
- Test only the newest Python — the first CI setup ran tests on 3.13 alone; replaced because 3.14 is the only version that takes the standard-library zstd path and 3.11 is the floor.
Consequences
- Code cannot use syntax or standard-library features newer than 3.11.
backports.zstdis a dependency on Python before 3.14 only.
References
pyproject.toml,.github/workflows/ci.yml