Pin Python to 3.14 to match consumer (athena-archive-api) #7

Closed
opened 2026-05-03 09:21:31 +00:00 by gravityfargo · 1 comment
Owner

Context

athena-archive-api requires Python 3.14; athena-file is currently pinned to Python 3.13 in `pyproject.toml` and mypy config.

The version drift means:

  • BE can't safely use Python 3.14-only syntax/stdlib in code that interfaces with FileWorker / ArchiveConfig
  • Cross-repo type checking targets two different Python versions
  • New athena-file releases that adopt 3.14 features will silently break older BE deployments

Per the BE team's directive: pin athena-file to the same Python version as its primary consumer.

Plan

  • `pyproject.toml`: `requires-python = ">=3.14"` and bump mypy `python_version = "3.14"`
  • `.python-version`: `3.14`
  • CI image / Makefile target Python 3.14
  • Cut a new release; coordinate with athena-archive-api to pin to that version

Acceptance criteria

  • All CI green on Python 3.14
  • Released version requires `python>=3.14`
  • Coordinated PR in athena-archive-api bumping the dep pin
## Context athena-archive-api requires **Python 3.14**; athena-file is currently pinned to **Python 3.13** in \`pyproject.toml\` and mypy config. The version drift means: - BE can't safely use Python 3.14-only syntax/stdlib in code that interfaces with FileWorker / ArchiveConfig - Cross-repo type checking targets two different Python versions - New athena-file releases that adopt 3.14 features will silently break older BE deployments Per the BE team's directive: pin athena-file to the same Python version as its primary consumer. ## Plan - \`pyproject.toml\`: \`requires-python = \">=3.14\"\` and bump mypy \`python_version = \"3.14\"\` - \`.python-version\`: \`3.14\` - CI image / Makefile target Python 3.14 - Cut a new release; coordinate with athena-archive-api to pin to that version ## Acceptance criteria - [ ] All CI green on Python 3.14 - [ ] Released version requires \`python>=3.14\` - [ ] Coordinated PR in athena-archive-api bumping the dep pin
Author
Owner

Pinned to Python 3.14 in 0772433. Released as athena-file 1.4.0.

Pinned to Python 3.14 in 0772433. Released as athena-file 1.4.0.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ModernLeft/athena-file#7
No description provided.