Skip to content

Commit 360ea46

Browse files
authored
Removing 3.9 & Adding 3.13 (#4053)
* adding new version, removing old version * use 3.10 for migration tests * ignore tensorflow for dev environments in 3.13 too * remove 0.40.3 from the migration tests * remove importlib_metadata properly * formatting * updated pytest-split for 3.13 * some integration changes * tensorboard changes * more tensorboard * ignoring deepchecks tests on 3.13 * skip windows 3.13 due to numpy failures * ignore 3.13 windows as well
1 parent dcfcb8a commit 360ea46

39 files changed

+130
-155
lines changed

.github/workflows/base-package-functionality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
python-version:
2828
description: Python version
2929
type: choice
30-
options: ['3.9', '3.10', '3.11', '3.12']
30+
options: ['3.10', '3.11', '3.12', '3.13']
3131
required: false
3232
default: '3.11'
3333
git-ref:

.github/workflows/ci-fast.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
uses: actions/[email protected]
4444
with:
4545
fetch-depth: 0
46-
- name: Set up Python 3.9
46+
- name: Set up Python 3.10
4747
uses: actions/[email protected]
4848
with:
49-
python-version: '3.9'
49+
python-version: '3.10'
5050
- name: Test migrations across versions
5151
run: bash scripts/test-migrations.sh sqlite random
5252
spellcheck:
@@ -79,7 +79,7 @@ jobs:
7979
== false
8080
uses: ./.github/workflows/update-templates-to-examples.yml
8181
with:
82-
python-version: '3.9'
82+
python-version: '3.11'
8383
os: ubuntu-latest
8484
secrets: inherit
8585
linting:

.github/workflows/ci-slow.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
- uses: actions/[email protected]
5151
with:
5252
fetch-depth: 0
53-
- name: Set up Python 3.9
53+
- name: Set up Python 3.10
5454
uses: actions/[email protected]
5555
with:
56-
python-version: '3.9'
56+
python-version: '3.10'
5757
- name: Login to Docker Hub
5858
uses: docker/login-action@v3
5959
with:
@@ -73,10 +73,10 @@ jobs:
7373
- uses: actions/[email protected]
7474
with:
7575
fetch-depth: 0
76-
- name: Set up Python 3.9
76+
- name: Set up Python 3.10
7777
uses: actions/[email protected]
7878
with:
79-
python-version: '3.9'
79+
python-version: '3.10'
8080
- name: Login to Docker Hub
8181
uses: docker/login-action@v3
8282
with:
@@ -97,10 +97,10 @@ jobs:
9797
uses: actions/[email protected]
9898
with:
9999
fetch-depth: 0
100-
- name: Set up Python 3.9
100+
- name: Set up Python 3.10
101101
uses: actions/[email protected]
102102
with:
103-
python-version: '3.9'
103+
python-version: '3.10'
104104
- name: Test migrations across versions
105105
run: bash scripts/test-migrations.sh sqlite full
106106
mariadb-db-migration-testing:
@@ -114,10 +114,10 @@ jobs:
114114
- uses: actions/[email protected]
115115
with:
116116
fetch-depth: 0
117-
- name: Set up Python 3.9
117+
- name: Set up Python 3.10
118118
uses: actions/[email protected]
119119
with:
120-
python-version: '3.9'
120+
python-version: '3.10'
121121
- name: Login to Docker Hub
122122
uses: docker/login-action@v3
123123
with:
@@ -177,7 +177,7 @@ jobs:
177177
strategy:
178178
matrix:
179179
os: [ubuntu-latest]
180-
python-version: ['3.9', '3.10', '3.12']
180+
python-version: ['3.10', '3.12', '3.13']
181181
fail-fast: false
182182
uses: ./.github/workflows/linting.yml
183183
with:
@@ -190,7 +190,7 @@ jobs:
190190
strategy:
191191
matrix:
192192
os: [ubuntu-latest]
193-
python-version: ['3.9', '3.10', '3.12']
193+
python-version: ['3.10', '3.12', '3.13']
194194
fail-fast: false
195195
uses: ./.github/workflows/unit-test.yml
196196
with:
@@ -203,7 +203,7 @@ jobs:
203203
strategy:
204204
matrix:
205205
os: [windows-latest]
206-
python-version: ['3.9', '3.10', '3.11', '3.12']
206+
python-version: ['3.10', '3.11', '3.12', '3.13']
207207
fail-fast: false
208208
uses: ./.github/workflows/linting.yml
209209
with:
@@ -216,7 +216,7 @@ jobs:
216216
strategy:
217217
matrix:
218218
os: [windows-latest]
219-
python-version: ['3.9', '3.10', '3.11', '3.12']
219+
python-version: ['3.10', '3.11', '3.12', '3.13']
220220
fail-fast: false
221221
uses: ./.github/workflows/unit-test.yml
222222
with:
@@ -229,7 +229,7 @@ jobs:
229229
strategy:
230230
matrix:
231231
os: [macos-latest]
232-
python-version: ['3.9', '3.10', '3.11', '3.12']
232+
python-version: ['3.10', '3.11', '3.12', '3.13']
233233
fail-fast: false
234234
uses: ./.github/workflows/linting.yml
235235
with:
@@ -242,7 +242,7 @@ jobs:
242242
strategy:
243243
matrix:
244244
os: [macos-latest]
245-
python-version: ['3.9', '3.10', '3.11', '3.12']
245+
python-version: ['3.10', '3.11', '3.12', '3.13']
246246
fail-fast: false
247247
uses: ./.github/workflows/unit-test.yml
248248
with:
@@ -255,7 +255,7 @@ jobs:
255255
strategy:
256256
matrix:
257257
os: [windows-latest]
258-
python-version: ['3.9', '3.10', '3.11', '3.12']
258+
python-version: ['3.10', '3.11', '3.12', '3.13']
259259
test_environment: [default]
260260
fail-fast: false
261261
uses: ./.github/workflows/integration-test-slow.yml
@@ -270,7 +270,7 @@ jobs:
270270
strategy:
271271
matrix:
272272
os: [macos-latest]
273-
python-version: ['3.9', '3.10', '3.11', '3.12']
273+
python-version: ['3.10', '3.11', '3.12', '3.13']
274274
test_environment: [default]
275275
fail-fast: false
276276
uses: ./.github/workflows/integration-test-slow.yml
@@ -285,25 +285,25 @@ jobs:
285285
strategy:
286286
matrix:
287287
os: [ubuntu-latest]
288-
python-version: ['3.9', '3.10', '3.12']
288+
python-version: ['3.10', '3.12', '3.13']
289289
test_environment:
290290
- default
291291
- docker-server-docker-orchestrator-mysql
292292
- docker-server-docker-orchestrator-mariadb
293293
exclude:
294-
# docker is time-consuming to run, so we only run it on 3.9
295-
- test_environment: docker-server-docker-orchestrator-mysql
296-
python-version: '3.9'
294+
# docker is time-consuming to run, so we only run it on 3.11
297295
- test_environment: docker-server-docker-orchestrator-mysql
298296
python-version: '3.10'
299297
- test_environment: docker-server-docker-orchestrator-mysql
300298
python-version: '3.12'
301-
- test_environment: docker-server-docker-orchestrator-mariadb
302-
python-version: '3.9'
299+
- test_environment: docker-server-docker-orchestrator-mysql
300+
python-version: '3.13'
303301
- test_environment: docker-server-docker-orchestrator-mariadb
304302
python-version: '3.10'
305303
- test_environment: docker-server-docker-orchestrator-mariadb
306304
python-version: '3.12'
305+
- test_environment: docker-server-docker-orchestrator-mariadb
306+
python-version: '3.13'
307307
fail-fast: false
308308
uses: ./.github/workflows/integration-test-slow.yml
309309
with:

.github/workflows/integration-test-fast-services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ on:
4141
python-version:
4242
description: Python version
4343
type: choice
44-
options: ['3.9', '3.10', '3.11', '3.12']
44+
options: ['3.10', '3.11', '3.12', '3.13']
4545
required: false
4646
default: '3.11'
4747
test_environment:

.github/workflows/integration-test-fast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ on:
4141
python-version:
4242
description: Python version
4343
type: choice
44-
options: ['3.9', '3.10', '3.11', '3.12']
44+
options: ['3.10', '3.11', '3.12', '3.13']
4545
required: false
4646
default: '3.11'
4747
test_environment:

.github/workflows/integration-test-slow-services.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ on:
4141
python-version:
4242
description: Python version
4343
type: choice
44-
options: ['3.9', '3.10', '3.11', '3.12']
44+
options: ['3.10', '3.11', '3.12', '3.13']
4545
required: false
4646
default: '3.11'
4747
test_environment:
@@ -152,7 +152,7 @@ jobs:
152152
- name: Install MacOS System Dependencies
153153
if: runner.os=='macOS'
154154
run: brew install libomp
155-
- name: Unbreak Python in GHA for 3.9-3.10
155+
- name: Unbreak Python in GHA for 3.10
156156
if: runner.os=='macOS' && inputs.python-version != '3.11'
157157
# github actions overwrites brew's python. Force it to reassert itself, by
158158
# running in a separate step.

.github/workflows/integration-test-slow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ on:
4141
python-version:
4242
description: Python version
4343
type: choice
44-
options: ['3.9', '3.10', '3.11', '3.12']
44+
options: ['3.10', '3.11', '3.12', '3.13']
4545
required: false
4646
default: '3.11'
4747
test_environment:
@@ -105,8 +105,8 @@ jobs:
105105
GCP_US_EAST4_SERVER_USERNAME: ${{ secrets.GCP_US_EAST4_SERVER_USERNAME }}
106106
GCP_US_EAST4_SERVER_PASSWORD: ${{ secrets.GCP_US_EAST4_SERVER_PASSWORD }}
107107
PYTEST_RERUNS: ${{ inputs.reruns }}
108-
# TODO: add Windows testing for Python 3.11 and 3.12 back in
109-
if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') && ! (inputs.os == 'windows-latest' && inputs.python-version == '3.11') && ! (inputs.os == 'windows-latest' && inputs.python-version == '3.12') }}
108+
# TODO: add Windows testing for Python 3.11 3.12 and 3.13 back in
109+
if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') && ! (inputs.os == 'windows-latest' && inputs.python-version == '3.11') && ! (inputs.os == 'windows-latest' && inputs.python-version == '3.12') && ! (inputs.os == 'windows-latest' && inputs.python-version == '3.13') }}
110110
defaults:
111111
run:
112112
shell: bash

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
python-version:
3838
description: Python version
3939
type: choice
40-
options: ['3.9', '3.10', '3.11', '3.12']
40+
options: ['3.10', '3.11', '3.12', '3.13']
4141
required: false
4242
default: '3.11'
4343
enable_tmate:

.github/workflows/nightly_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: ./.github/workflows/unit-test.yml
1111
with:
1212
os: ubuntu-latest
13-
python-version: '3.9'
13+
python-version: '3.11'
1414
git-ref: develop
1515
secrets: inherit
1616
if: github.repository == 'zenml-io/zenml'

.github/workflows/publish_to_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/[email protected]
2525
with:
26-
python-version: '3.9'
26+
python-version: '3.11'
2727
- name: Install uv
2828
uses: astral-sh/setup-uv@v6
2929
with:

0 commit comments

Comments
 (0)