Skip to content

Update to Python 3.15 - #677

Merged
bpepple merged 1 commit into
masterfrom
python3.15
Nov 7, 2026
Merged

bpepple merged 1 commit into
masterfrom
python3.15

Conversation

@bpepple

@bpepple bpepple commented Nov 7, 2026

Copy link
Copy Markdown
Member

Changes

  • pyproject.toml: requires-python is now >=3.15, and the ruff and black targets are now py315.
  • Containerfile: both the builder and runtime stages now use python:3.15-slim.
  • CI: actions/setup-python now installs 3.15.
  • uv.lock: relocked for the new minimum. Package versions don't change; the only effect is that the cp314 wheel entries are dropped.

Testing

Run locally against Python 3.15.2:

  • pytest --create-db: 2238 passed, 2 skipped (same skips as on 3.14)
  • ruff check . and ruff format --check .: clean
  • manage.py check: no issues

Deployment / Developer notes

  • Production needs an image rebuild to pick up the new base image. I haven't run a container build locally, so the first CI or deploy build will be the first test of python:3.15-slim.
  • Local virtualenvs need recreating with uv sync --dev (uv picks up 3.15 from requires-python).

Raise requires-python to >=3.15 and target py315 in the ruff and black settings. Move the container image (both build stages) and the CI workflow to Python 3.15.

Relock uv.lock for the new minimum. Package versions stay the same; only the cp314 wheel entries are dropped.
@bpepple bpepple self-assigned this Nov 7, 2026
@bpepple bpepple added dependencies Pull requests that update a dependency file chore Miscellaneous drudgery labels Nov 7, 2026
@bpepple
bpepple merged commit c6e1c48 into master Nov 7, 2026
2 checks passed
@bpepple
bpepple deleted the python3.15 branch November 7, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Miscellaneous drudgery dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant