Skip to content

chore(deps): refresh the lock ahead of Python 3.15 (pydantic 2.14, FastAPI 0.143) - #19

Merged
JsNcAr merged 4 commits into
mainfrom
chore/deps-refresh
Oct 14, 2026
Merged

JsNcAr merged 4 commits into
mainfrom
chore/deps-refresh

Conversation

@JsNcAr

@JsNcAr JsNcAr commented Oct 14, 2026

Copy link
Copy Markdown
Owner

First of two pull requests for the move to Python 3.15. This one stays on 3.14 and only refreshes poetry.lock, so the version flip in the next PR changes nothing but the interpreter settings.

Branched from feat/gitlab-ci (#18) so the changelog entries do not conflict; merge #18 first.

Changes

  • poetry update: pydantic 2.13.5 to 2.14.1 with pydantic-core 2.50.1, the first release with Python 3.15 wheels. FastAPI 0.142.2 to 0.143.1, Starlette 1.7.0 to 1.8.0, Black 26.10.0 to 26.10.1, plus transitive updates (dnspython, filelock, platformdirs, pyflakes, wrapt, ast-serialize). No range in pyproject.toml changes.
  • FastAPI 0.143 has one breaking change: the automatic OpenTelemetry exporter setup from OTEL_* variables is now opt-in. The starter configures no telemetry, so nothing changes; the Known Issues observability entry now names the opt-in.
  • The SQLAlchemy pin comment in pyproject.toml gave an outdated reason (2.1 has shipped wheels since 2026-09-24, including 3.15). The pin stays because 2.1 is a new minor with behaviour changes, which is a separate change. On 3.15, 2.0.x installs as pure Python.

Verification

  • 3.14 locally: black, flake8, mypy and pip-audit clean; the full suite (138 tests) passed against PostgreSQL 17.
  • 3.15 on a python:3.15-slim container with this lock: install without source builds, lint clean, the full suite passed, uvicorn served GET /. The only deprecation warning is slowapi's asyncio.iscoroutinefunction (removed in 3.16, already in Known Issues).

Still to come (next PR)

.python-version, requires-python, the Black and mypy targets, the GitLab PYTHON_VERSION variable and the setup doc move to 3.15.

🤖 Generated with Claude Code

BrahiamSSS and others added 4 commits October 12, 2026 11:02
.gitlab-ci.yml for a GitLab instance, kept in step with the GitHub
workflows: one pipeline per change (merge request pipelines win over branch
pipelines), lint (black, flake8, mypy, pip-audit) and test (postgres:17
service, JUnit report in the merge request widget) on every change, and on a
v* tag the release jobs: verify (scripts/release.py, nothing installed),
build (poetry build) and release (glab, job-token login, wheel and sdist in
the generic package registry and linked from the release page). Python comes
from PYTHON_VERSION, checked against .python-version so the two cannot
drift; Poetry from poetry.lock's header. Validated with the instance's CI
lint API (GitLab 19.2).

Docs describe both hosts; the adapting list names the GitLab variables.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
After the push, the script prints where the release pipeline runs:
/actions on github.com, /-/pipelines elsewhere, parsed from the three
remote URL spellings (scp-like, ssh:// with a port, https). Tested.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…stAPI 0.143)

poetry update: pydantic 2.13.5 to 2.14.1 with pydantic-core 2.50.1, the first
release with Python 3.15 wheels; FastAPI 0.142.2 to 0.143.1; Starlette 1.7.0
to 1.8.0; Black 26.10.0 to 26.10.1; transitive updates (dnspython, filelock,
platformdirs, pyflakes, wrapt, ast-serialize). Ranges unchanged.

Verified on 3.14 with the full suite against PostgreSQL 17, lint, mypy and
pip-audit, and on a python:3.15-slim container with the same suite. FastAPI
0.143 makes the automatic OpenTelemetry exporter setup opt-in; the starter
configures no telemetry, so nothing changes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…try opt-in

The pyproject comment said 2.1.x had no wheels; 2.1.0 has shipped them since
2026-09-24, including Python 3.15. The pin stays because 2.1 is a new minor
with behaviour changes, which is its own change. Known Issues: the
observability entry now names the opt-in FastAPI 0.143 requires.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@JsNcAr
JsNcAr merged commit 5eaf2df into main Oct 14, 2026
2 checks passed
@JsNcAr
JsNcAr deleted the chore/deps-refresh branch October 14, 2026 15:54
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.

2 participants