Skip to content

Commit d93db22

Browse files
Drop Python 3.10/3.11, add Python 3.14 support (#99)
* Initial plan * Update Python version support: drop 3.10/3.11, add 3.14 Co-authored-by: MatthewMiddlehurst <25731235+MatthewMiddlehurst@users.noreply.github.com> Agent-Logs-Url: https://github.com/time-series-machine-learning/tsml-py/sessions/083c8f7d-e6f9-4f7e-ad4a-2bdcdb1a6a01 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MatthewMiddlehurst <25731235+MatthewMiddlehurst@users.noreply.github.com>
1 parent 94fc738 commit d93db22

6 files changed

Lines changed: 15 additions & 18 deletions

File tree

.github/workflows/periodic_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-python@v6
2121
with:
22-
python-version: "3.12"
22+
python-version: "3.13"
2323

2424
- uses: pre-commit/action@v3.0.1
2525
with:
@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: actions/setup-python@v6
3535
with:
36-
python-version: "3.12"
36+
python-version: "3.13"
3737

3838
- name: Install
3939
uses: nick-fields/retry@v4
@@ -55,7 +55,7 @@ jobs:
5555
fail-fast: false
5656
matrix:
5757
os: [ ubuntu-24.04, macos-14, windows-2022 ]
58-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
58+
python-version: [ "3.12", "3.13", "3.14" ]
5959

6060
steps:
6161
- uses: actions/checkout@v6
@@ -85,7 +85,7 @@ jobs:
8585

8686
- uses: actions/setup-python@v6
8787
with:
88-
python-version: "3.12"
88+
python-version: "3.13"
8989

9090
- name: Disable Numba JIT
9191
run: echo "NUMBA_DISABLE_JIT=1" >> $GITHUB_ENV

.github/workflows/pr_precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-python@v6
2323
with:
24-
python-version: "3.12"
24+
python-version: "3.13"
2525

2626
- uses: tj-actions/changed-files@v47
2727
id: changed-files

.github/workflows/pr_pytest.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- uses: actions/setup-python@v6
2727
with:
28-
python-version: "3.12"
28+
python-version: "3.13"
2929

3030
- name: Install
3131
uses: nick-fields/retry@v4
@@ -47,15 +47,13 @@ jobs:
4747
fail-fast: false
4848
matrix:
4949
os: [ ubuntu-24.04, windows-2022 ]
50-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
50+
python-version: [ "3.12", "3.13", "3.14" ]
5151
# skip python versions unless the PR has the 'full pytest actions' label
5252
pr-testing:
5353
- ${{ (github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full pytest actions')) }}
5454
exclude:
5555
- pr-testing: true
56-
python-version: "3.10"
57-
- pr-testing: true
58-
python-version: "3.12"
56+
python-version: "3.13"
5957

6058
steps:
6159
- uses: actions/checkout@v6
@@ -85,7 +83,7 @@ jobs:
8583

8684
- uses: actions/setup-python@v6
8785
with:
88-
python-version: "3.12"
86+
python-version: "3.13"
8987

9088
- name: Disable Numba JIT
9189
run: echo "NUMBA_DISABLE_JIT=1" >> $GITHUB_ENV

.github/workflows/precommit_autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-python@v6
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.13"
1919

2020
- uses: browniebroke/pre-commit-autoupdate-action@v1.0.1
2121

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-python@v6
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.13"
1919

2020
- uses: pre-commit/action@v3.0.1
2121
with:
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: actions/setup-python@v6
3232
with:
33-
python-version: "3.12"
33+
python-version: "3.13"
3434

3535
- name: Build project
3636
run: |
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
os: [ ubuntu-24.04, macos-14, windows-2022 ]
55-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
55+
python-version: [ "3.12", "3.13", "3.14" ]
5656

5757
steps:
5858
- uses: actions/checkout@v6

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ maintainers = [
1313
{name = "Matthew Middlehurst", email = "m.b.middlehurst@soton.ac.uk"},
1414
]
1515
readme = "README.md"
16-
requires-python = ">=3.10,<3.14"
16+
requires-python = ">=3.12,<3.15"
1717
keywords = [
1818
"data-science",
1919
"machine-learning",
@@ -32,10 +32,9 @@ classifiers = [
3232
"Operating System :: Unix",
3333
"Operating System :: MacOS",
3434
"Programming Language :: Python",
35-
"Programming Language :: Python :: 3.10",
36-
"Programming Language :: Python :: 3.11",
3735
"Programming Language :: Python :: 3.12",
3836
"Programming Language :: Python :: 3.13",
37+
"Programming Language :: Python :: 3.14",
3938
]
4039
dependencies = [
4140
"aeon>=1.0.0",

0 commit comments

Comments
 (0)