Skip to content

Commit baf56a8

Browse files
chore(deps): update python docker tag to v3.14 (#556)
* chore(deps): update python docker tag to v3.14 * ci: read the Python version from backend/.python-version The hardcoded python-version let CI keep testing 3.13 while the Docker image moved to 3.14. Reading the version file keeps CI and the shipped runtime on the same interpreter permanently. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tássio Noronha <tassionoronha@gmail.com>
1 parent 95c4eb8 commit baf56a8

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
if: steps.backend-changes.outputs.run_backend == 'true'
5050
uses: actions/setup-python@v7
5151
with:
52-
python-version: "3.13"
52+
# Single source of truth with the Docker image: CI must test the
53+
# same interpreter the backend ships with.
54+
python-version-file: backend/.python-version
5355
cache: pip
5456

5557
- name: Install dependencies

backend/.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13
1+
3.14

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13-slim
1+
FROM python:3.14-slim
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)