Skip to content

CI: test Python 3.12+#1282

Merged
qubvel merged 1 commit intoqubvel-org:mainfrom
adamjstewart:tests/python
Mar 12, 2026
Merged

CI: test Python 3.12+#1282
qubvel merged 1 commit intoqubvel-org:mainfrom
adamjstewart:tests/python

Conversation

@adamjstewart
Copy link
Copy Markdown
Collaborator

Many of our deps follow SPEC 0 and only support Python 3.12+. If we want to test the latest versions of packages like numpy (#1277) we need to also bump the versions of Python we test.

This PR removes tests for Python 3.10 and 3.11 and adds tests for Python 3.13 and 3.14. It bumps all tests/docs to use Python 3.14 by default.

Signed-off-by: Adam J. Stewart <ajstewart426@gmail.com>
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: qubvel-org/segmentation_models.pytorch
if: matrix.os == 'macos-latest' && matrix.python-version == '3.12'
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why this was here? I think we should upload coverage metrics for all tests, even if some lines of code are Python-version specific.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk 😄

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

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

@qubvel qubvel merged commit ec711f5 into qubvel-org:main Mar 12, 2026
17 checks passed
@adamjstewart adamjstewart deleted the tests/python branch March 12, 2026 15:15
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