Skip to content

feat: drop Python 3.9, bump minimum to 3.10 (v5.0.0)#121

Merged
gzak merged 1 commit intomainfrom
feat/drop-python-3.9
Mar 17, 2026
Merged

feat: drop Python 3.9, bump minimum to 3.10 (v5.0.0)#121
gzak merged 1 commit intomainfrom
feat/drop-python-3.9

Conversation

@gzak
Copy link
Contributor

@gzak gzak commented Mar 16, 2026

Summary

  • Drops Python 3.9 support (EOL October 2025) and bumps the minimum to 3.10
  • Removes the eval_type_backport conditional dependency
  • Updates CI matrix, README badge, classifiers, and CHANGELOG
  • Modernizes type annotations SDK-wide via ruff auto-fix (Optional[X]X | None, typing.Callablecollections.abc.Callable)
  • This is a prerequisite for PR fix(adapters): wrap redacted MCP output in CallToolResult #120, which takes a dependency on mcp>=1.0.0 (requires Python 3.10+)

Breaking change

Python 3.9 is no longer supported. Users on 3.9 should pin to axonflow<5.0.0.

Test plan

  • ruff: all checks passed
  • mypy: no issues in 25 source files
  • pytest: 631 passed, 22 skipped
  • CI matrix updated to ['3.10', '3.11', '3.12']

@gzak gzak changed the title feat!: drop Python 3.9, bump minimum to 3.10 (v5.0.0) feat: drop Python 3.9, bump minimum to 3.10 (v5.0.0) Mar 16, 2026
@gzak gzak force-pushed the feat/drop-python-3.9 branch from 72880de to 840021d Compare March 16, 2026 23:19
Python 3.9 reached end-of-life in October 2025. Removing support
unblocks taking dependencies that require 3.10+ (notably mcp>=1.0.0)
without workarounds.

- Bump requires-python to >=3.10 and version to 5.0.0
- Remove eval_type_backport conditional dependency
- Drop 3.9 from CI matrix in ci.yml
- Update README badge and pyproject.toml classifiers
- Modernize type annotations: Optional[X] → X | None,
  typing.Callable → collections.abc.Callable (ruff UP035/UP045)
- Bump ruff target-version and mypy python_version to 3.10

BREAKING CHANGE: Python 3.9 is no longer supported. Pin to
axonflow<5.0.0 to stay on 3.9.
@gzak gzak force-pushed the feat/drop-python-3.9 branch from 840021d to 85d81f3 Compare March 16, 2026 23:42
@gzak gzak merged commit 697b6d9 into main Mar 17, 2026
12 checks passed
@gzak gzak deleted the feat/drop-python-3.9 branch March 17, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant