Skip to content

chore: add python 3.14 to CI matrix - #917

Merged
alexanderankin merged 6 commits into
testcontainers:mainfrom
imtoopunkforyou:issue-916
Nov 14, 2025
Merged

chore: add python 3.14 to CI matrix#917
alexanderankin merged 6 commits into
testcontainers:mainfrom
imtoopunkforyou:issue-916

Conversation

@imtoopunkforyou

@imtoopunkforyouimtoopunkforyou commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

Added:

  • Python 3.13 and 3.14 to CI testing matrix in community workflow
  • Python 3.14 to CI testing matrix in core workflow
  • Python 3.13 and 3.14 classifiers to pyproject.toml

Changed:

  • Default Python version in setup-env action from 3.12 to 3.14

Removed:

  • None

Closed#916

@Tranquility2

Copy link
Copy Markdown
Contributor

Hi, I recall @alexanderankin had some concern regarding testing too many versions, #871 (review)
need to think what does this replaces and why is this the default and not 3.13 (for example)

@imtoopunkforyou

Copy link
Copy Markdown
ContributorAuthor

Hi, I recall @alexanderankin had some concern regarding testing too many versions, #871 (review) need to think what does this replaces and why is this the default and not 3.13 (for example)

Hi, Then it would be most logical to abandon the official support for python 3.9
https://devguide.python.org/versions/

@alexanderankin

Copy link
Copy Markdown
Member

thinking about:

diff --git a/.github/workflows/ci-community.yml b/.github/workflows/ci-community.yml
index cd17794..44cb95d 100644
--- a/.github/workflows/ci-community.yml+++ b/.github/workflows/ci-community.yml@@ -44,7 +44,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.9", "3.13", "3.14"]+ python-version: ["3.10", "3.13", "3.14"]
module: ${{ fromJSON(needs.track-modules.outputs.changed_modules) }}
steps:
- name: Checkout contents
diff --git a/.github/workflows/ci-core.yml b/.github/workflows/ci-core.yml
index b312dbe..f7d9c3e 100644
--- a/.github/workflows/ci-core.yml+++ b/.github/workflows/ci-core.yml@@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.9", "3.13", "3.14"]+ python-version: ["3.10", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Set up Python

@alexanderankinalexanderankin changed the title Add support for Python 3.14chore: add python 3.14 to CI matrixNov 13, 2025
@codecov

codecovBot commented Nov 14, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.52%. Comparing base (f608df9) to head (fe680cd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #917 +/- ##
==========================================
- Coverage 79.78% 79.52% -0.26% 
==========================================
Files 14 14 Lines 1182 1182 Branches 184 184 ==========================================
- Hits 943 940 -3 - Misses 197 201 +4 + Partials 42 41 -1 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexanderankin
alexanderankin merged commit f76e982 into testcontainers:mainNov 14, 2025
7 of 9 checks passed
@imtoopunkforyou
imtoopunkforyou deleted the issue-916 branch November 16, 2025 10:00
Sign up for freeto 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.

Python 3.14 supports

3 participants

@imtoopunkforyou@Tranquility2@alexanderankin