Skip to content

Commit ec711f5

Browse files
authored
CI: test Python 3.12+ (#1282)
Signed-off-by: Adam J. Stewart <ajstewart426@gmail.com>
1 parent c06b01c commit ec711f5

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up python
1616
uses: actions/setup-python@v6.2.0
1717
with:
18-
python-version: '3.13'
18+
python-version: '3.14'
1919

2020
- name: Install pip dependencies
2121
run: pip install build

.github/workflows/tests.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: astral-sh/setup-uv@v7
2121
with:
22-
python-version: "3.11"
22+
python-version: "3.14"
2323
activate-environment: true
2424

2525
- name: Install dependencies
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
matrix:
3737
os: [ubuntu-latest, macos-latest, windows-latest]
38-
python-version: ["3.10", "3.11", "3.12"]
38+
python-version: ["3.12", "3.13", "3.14"]
3939
runs-on: ${{ matrix.os }}
4040
steps:
4141
- uses: actions/checkout@v6
@@ -60,7 +60,6 @@ jobs:
6060
with:
6161
token: ${{ secrets.CODECOV_TOKEN }}
6262
slug: qubvel-org/segmentation_models.pytorch
63-
if: matrix.os == 'macos-latest' && matrix.python-version == '3.12'
6463

6564
test_logits_match:
6665
runs-on: ubuntu-latest
@@ -69,7 +68,7 @@ jobs:
6968
- name: Set up Python
7069
uses: astral-sh/setup-uv@v7
7170
with:
72-
python-version: "3.10"
71+
python-version: "3.14"
7372
activate-environment: true
7473
- name: Install dependencies
7574
run: uv pip install -r requirements/required.txt -r requirements/test.txt
@@ -85,7 +84,7 @@ jobs:
8584
- name: Set up Python
8685
uses: astral-sh/setup-uv@v7
8786
with:
88-
python-version: "3.10"
87+
python-version: "3.14"
8988
activate-environment: true
9089
- name: Install dependencies
9190
run: uv pip install -r requirements/required.txt -r requirements/test.txt
@@ -101,7 +100,7 @@ jobs:
101100
- name: Set up Python
102101
uses: astral-sh/setup-uv@v7
103102
with:
104-
python-version: "3.10"
103+
python-version: "3.14"
105104
activate-environment: true
106105
- name: Install dependencies
107106
run: uv pip install -r requirements/required.txt -r requirements/test.txt
@@ -117,7 +116,7 @@ jobs:
117116
- name: Set up Python
118117
uses: astral-sh/setup-uv@v7
119118
with:
120-
python-version: "3.10"
119+
python-version: "3.14"
121120
activate-environment: true
122121
- name: Install dependencies
123122
run: uv pip install -r requirements/required.txt -r requirements/test.txt

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.12"
11+
python: "3.14"
1212

1313
# Build documentation in the "docs/" directory with Sphinx
1414
sphinx:

0 commit comments

Comments
 (0)