Skip to content

Chore: install uv via astral-sh/setup-uv, drop allow-prereleases for stable 3.15 - #50

Open
TayoBus wants to merge 5 commits into
rezhajulio:mainfrom
TayoBus:chore/python-315-ci-uv
Open

TayoBus wants to merge 5 commits into
rezhajulio:mainfrom
TayoBus:chore/python-315-ci-uv

Conversation

@TayoBus

@TayoBus TayoBus commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Replace pip install --upgrade pip uv with astral-sh/setup-uv@v10.3.0 in both jobs (lint + test) — the official astral action, cached, always the latest uv. (Pinned to the full semver because setup-uv no longer publishes a floating v10 tag.)
  • Remove allow-prereleases: true from the test matrix: Python 3.15.0 final was released 2026-10-09 and is marked stable=True in the actions/setup-python manifest, so the 3.15 matrix entry now resolves to the stable release.
  • Add .github/dependabot.yml (weekly, github-actions ecosystem) so action pins stay fresh automatically.
  • Bump Dockerfile to python:3.15-slim and .python-version to 3.15 (kept in sync because uv sync resolves its interpreter from .python-version).

Known limitation

  • pydantic-core==2.46.5 (pinned by pydantic 2.13.5) ships no cp315 wheel yet, so uv sync --frozen inside the slim image would have to compile it from source (needs a Rust toolchain the slim image lacks). Verified 2026-10-13 via a local uv sync --frozen on Python 3.15.0: 185/187 locked packages install from wheels; only pydantic-core was affected (aiohttp 3.14.3 had the same gap, fixed by bumping the lock to 3.14.5). The Docker build stays red until pydantic ships a release depending on a cp315-capable pydantic-core — the lock bump will follow then.

Verification

  • Workflow YAML parses cleanly.
  • Config + docs only; no code changes, so no functional risk. CI on this PR runs the full 3.11–3.15 matrix (ruff, mypy, pytest) as proof — all green.

…stable 3.15

- Replace 'pip install uv' with astral-sh/setup-uv@v10 in both jobs
  (official action, cached, tracks latest uv)
- Remove allow-prereleases from the test matrix: 3.15.0 final shipped
  2026-10-09 and is in the setup-python manifest as stable
- Dockerfile stays on python:3.14-slim: no official 3.15-slim image
  published yet (rc tags only as of 2026-10-12)
The official python:3.15-slim image is now published on Docker Hub.
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