Skip to content

Commit bf67ddc

Browse files
committed
remove 3.9 support
1 parent e8c08d5 commit bf67ddc

39 files changed

Lines changed: 76 additions & 263 deletions

.github/workflows/daily_jupyter_nb_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v4
2121
with:
22-
python-version: '3.9'
22+
python-version: '3.10'
2323
- name: Set up uv
2424
uses: astral-sh/setup-uv@v6
2525
with:
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Python
4747
uses: actions/setup-python@v4
4848
with:
49-
python-version: 3.9
49+
python-version: '3.10'
5050
- name: Set up uv
5151
uses: astral-sh/setup-uv@v6
5252
with:
@@ -78,7 +78,7 @@ jobs:
7878
download_name: macos
7979
- image_name: windows-latest
8080
download_name: windows
81-
python-version: ["3.9", "3.10", "3.11"]
81+
python-version: ["3.10", "3.11"]
8282
# FINANCIAL__ECONOMIC_ESSENTIALS database unavailable in gcp, azure
8383
cloud-provider: [aws]
8484
steps:

.github/workflows/daily_modin_precommit_py39_py310.yml renamed to .github/workflows/daily_modin_precommit_py310.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is copied from original daily_precommit.yml with one change: only run Snowpark pandas tests
22

3-
name: Daily Snowpark pandas API test with Py3.9 and Py3.10
3+
name: Daily Snowpark pandas API test with Py3.10
44
on:
55
schedule:
66
# 12 AM UTC
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: '3.9'
26+
python-version: '3.10'
2727
- name: Set up uv
2828
uses: astral-sh/setup-uv@v6
2929
with:
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Python
5151
uses: actions/setup-python@v4
5252
with:
53-
python-version: 3.9
53+
python-version: '3.10'
5454
- name: Set up uv
5555
uses: astral-sh/setup-uv@v6
5656
with:
@@ -80,7 +80,7 @@ jobs:
8080
- name: Set up Python
8181
uses: actions/setup-python@v4
8282
with:
83-
python-version: 3.9
83+
python-version: '3.10'
8484
- name: Set up uv
8585
uses: astral-sh/setup-uv@v6
8686
with:
@@ -105,7 +105,7 @@ jobs:
105105
- name: Set up Python
106106
uses: actions/setup-python@v4
107107
with:
108-
python-version: 3.9
108+
python-version: '3.10'
109109
- name: Set up uv
110110
uses: astral-sh/setup-uv@v6
111111
with:
@@ -136,7 +136,7 @@ jobs:
136136
- name: Set up Python
137137
uses: actions/setup-python@v4
138138
with:
139-
python-version: 3.9
139+
python-version: '3.10'
140140
- name: Set up uv
141141
uses: astral-sh/setup-uv@v6
142142
with:
@@ -171,7 +171,7 @@ jobs:
171171
download_name: macos
172172
- image_name: windows-latest-64-cores
173173
download_name: windows
174-
python-version: ["3.9", "3.10"]
174+
python-version: ["3.10"]
175175
cloud-provider: [aws, azure, gcp]
176176
steps:
177177
- name: Checkout Code
@@ -418,7 +418,7 @@ jobs:
418418
python-version: "3.10"
419419
cloud-provider: gcp
420420
- os: ubuntu-latest-64-cores
421-
python-version: "3.9"
421+
python-version: "3.10"
422422
cloud-provider: aws
423423
steps:
424424
- name: Checkout Code
@@ -509,7 +509,7 @@ jobs:
509509
- name: Set up Python
510510
uses: actions/setup-python@v4
511511
with:
512-
python-version: '3.9'
512+
python-version: '3.10'
513513
- name: Set up uv
514514
uses: astral-sh/setup-uv@v6
515515
with:
@@ -564,7 +564,7 @@ jobs:
564564
- name: Setup Python
565565
uses: actions/setup-python@v4
566566
with:
567-
python-version: '3.9'
567+
python-version: '3.10'
568568
- name: Set up uv
569569
uses: astral-sh/setup-uv@v6
570570
with:

.github/workflows/daily_modin_precommit_py311_py312.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/setup-python@v4
2525
with:
26-
python-version: '3.9'
26+
python-version: '3.10'
2727
- name: Set up uv
2828
uses: astral-sh/setup-uv@v6
2929
with:
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Python
5151
uses: actions/setup-python@v4
5252
with:
53-
python-version: 3.9
53+
python-version: '3.10'
5454
- name: Set up uv
5555
uses: astral-sh/setup-uv@v6
5656
with:
@@ -184,7 +184,7 @@ jobs:
184184
- name: Set up Python
185185
uses: actions/setup-python@v4
186186
with:
187-
python-version: '3.9'
187+
python-version: '3.10'
188188
- name: Set up uv
189189
uses: astral-sh/setup-uv@v6
190190
with:

.github/workflows/daily_precommit.yml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python
2525
uses: actions/setup-python@v4
2626
with:
27-
python-version: '3.9'
27+
python-version: '3.10'
2828
- name: Set up uv
2929
uses: astral-sh/setup-uv@v6
3030
with:
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up Python
5050
uses: actions/setup-python@v4
5151
with:
52-
python-version: '3.9'
52+
python-version: '3.10'
5353
- name: Set up uv
5454
uses: astral-sh/setup-uv@v6
5555
with:
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Python
7777
uses: actions/setup-python@v4
7878
with:
79-
python-version: 3.9
79+
python-version: '3.10'
8080
- name: Set up uv
8181
uses: astral-sh/setup-uv@v6
8282
with:
@@ -105,23 +105,20 @@ jobs:
105105
matrix:
106106
include:
107107
# Ubuntu + rotating cloud providers
108-
- { os: {image_name: ubuntu-latest-64-cores, download_name: linux}, python-version: "3.9", cloud-provider: aws }
109108
- { os: {image_name: ubuntu-latest-64-cores, download_name: linux}, python-version: "3.10", cloud-provider: azure }
110109
- { os: {image_name: ubuntu-latest-64-cores, download_name: linux}, python-version: "3.11", cloud-provider: gcp }
111110
- { os: {image_name: ubuntu-latest-64-cores, download_name: linux}, python-version: "3.12", cloud-provider: aws }
112111
- { os: {image_name: ubuntu-latest-64-cores, download_name: linux}, python-version: "3.13", cloud-provider: azure }
113112
- { os: {image_name: ubuntu-latest-64-cores, download_name: linux}, python-version: "3.14", cloud-provider: gcp }
114113

115114
# macOS + rotating cloud providers
116-
- { os: {image_name: macos-latest, download_name: macos}, python-version: "3.9", cloud-provider: gcp }
117115
- { os: {image_name: macos-latest, download_name: macos}, python-version: "3.10", cloud-provider: aws }
118116
- { os: {image_name: macos-latest, download_name: macos}, python-version: "3.11", cloud-provider: azure }
119117
- { os: {image_name: macos-latest, download_name: macos}, python-version: "3.12", cloud-provider: gcp }
120118
- { os: {image_name: macos-latest, download_name: macos}, python-version: "3.13", cloud-provider: aws }
121119
- { os: {image_name: macos-latest, download_name: macos}, python-version: "3.14", cloud-provider: azure }
122120

123121
# Windows + rotating cloud providers
124-
- { os: {image_name: windows-latest-64-cores, download_name: windows}, python-version: "3.9", cloud-provider: azure }
125122
- { os: {image_name: windows-latest-64-cores, download_name: windows}, python-version: "3.10", cloud-provider: gcp }
126123
- { os: {image_name: windows-latest-64-cores, download_name: windows}, python-version: "3.11", cloud-provider: aws }
127124
- { os: {image_name: windows-latest-64-cores, download_name: windows}, python-version: "3.12", cloud-provider: azure }
@@ -210,9 +207,8 @@ jobs:
210207
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev
211208
shell: bash
212209
- name: Run data source tests
213-
# psycopg2 is not supported on macos 3.9
214210
# TODO: enable datasource tests for 3.14
215-
if: ${{ !(contains('macos', matrix.os.download_name) && matrix.python-version == '3.9') && !(matrix.python-version == '3.14') }}
211+
if: ${{ !(matrix.python-version == '3.14') }}
216212
run: python -m tox -e datasource
217213
env:
218214
PYTHON_VERSION: ${{ matrix.python-version }}
@@ -234,7 +230,7 @@ jobs:
234230
.tox/coverage.xml
235231
236232
test-fips:
237-
name: Test FIPS py-linux-3.9-${{ matrix.cloud-provider }}
233+
name: Test FIPS py-linux-3.10-${{ matrix.cloud-provider }}
238234
needs: build
239235
runs-on: ubuntu-latest-64-cores
240236
strategy:
@@ -261,15 +257,15 @@ jobs:
261257
- name: Run tests
262258
run: ./ci/test_fips_docker.sh
263259
env:
264-
PYTHON_VERSION: 3.9
260+
PYTHON_VERSION: '3.10'
265261
cloud_provider: ${{ matrix.cloud-provider }}
266262
PYTEST_ADDOPTS: --color=yes --tb=short
267263
TOX_PARALLEL_NO_SPINNER: 1
268264
shell: bash
269265
- uses: actions/upload-artifact@v4
270266
with:
271267
include-hidden-files: true
272-
name: coverage_linux-fips-3.9-${{ matrix.cloud-provider }}
268+
name: coverage_linux-fips-3.10-${{ matrix.cloud-provider }}
273269
path: |
274270
.coverage
275271
coverage.xml
@@ -284,7 +280,7 @@ jobs:
284280
os:
285281
- image_name: macos-latest
286282
download_name: macos # it includes doctest
287-
python-version: ["3.9", "3.10", "3.11", "3.12"]
283+
python-version: ["3.10", "3.11", "3.12"]
288284
cloud-provider: [aws]
289285
steps:
290286
- name: Checkout Code
@@ -362,7 +358,7 @@ jobs:
362358
os:
363359
- image_name: macos-latest
364360
download_name: macos
365-
python-version: ["3.9"]
361+
python-version: ["3.10"]
366362
cloud-provider: [aws]
367363
steps:
368364
- name: Checkout Code
@@ -437,7 +433,7 @@ jobs:
437433
image_name: windows-latest
438434
- download_name: ubuntu
439435
image_name: ubuntu-latest
440-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
436+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
441437
cloud-provider: [azure]
442438
steps:
443439
- name: Checkout Code
@@ -507,7 +503,7 @@ jobs:
507503
fail-fast: false
508504
matrix:
509505
os: [macos-latest, windows-latest, ubuntu-latest]
510-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.14"] # SNOW-2230787 test failing on Python 3.13
506+
python-version: ["3.10", "3.11", "3.12", "3.14"] # SNOW-2230787 test failing on Python 3.13
511507
cloud-provider: [gcp]
512508
protobuf-version: ["3.20.1", "4.25.3", "5.28.3"]
513509
steps:
@@ -577,7 +573,7 @@ jobs:
577573
os:
578574
- image_name: macos-latest
579575
download_name: macos # it includes doctest
580-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
576+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
581577
cloud-provider: [azure]
582578
steps:
583579
- name: Checkout Code
@@ -655,7 +651,7 @@ jobs:
655651
matrix:
656652
include:
657653
- os: macos-latest
658-
python-version: "3.9"
654+
python-version: "3.10"
659655
cloud-provider: azure
660656
- os: ubuntu-latest
661657
python-version: "3.12"
@@ -747,7 +743,7 @@ jobs:
747743
- name: Set up Python
748744
uses: actions/setup-python@v4
749745
with:
750-
python-version: '3.9'
746+
python-version: '3.10'
751747
- name: Set up uv
752748
uses: astral-sh/setup-uv@v6
753749
with:
@@ -802,7 +798,7 @@ jobs:
802798
- name: Setup Python
803799
uses: actions/setup-python@v4
804800
with:
805-
python-version: '3.9'
801+
python-version: '3.10'
806802
- name: Set up uv
807803
uses: astral-sh/setup-uv@v6
808804
with:

.github/workflows/precommit.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v4
2828
with:
29-
python-version: '3.9'
29+
python-version: '3.10'
3030
- name: Set up uv
3131
uses: astral-sh/setup-uv@v6
3232
with:
@@ -51,7 +51,7 @@ jobs:
5151
- name: Set up Python
5252
uses: actions/setup-python@v4
5353
with:
54-
python-version: '3.9'
54+
python-version: '3.10'
5555
- name: Set up uv
5656
uses: astral-sh/setup-uv@v6
5757
with:
@@ -78,7 +78,7 @@ jobs:
7878
- name: Setup Python
7979
uses: actions/setup-python@v4
8080
with:
81-
python-version: 3.9
81+
python-version: '3.10'
8282
- name: Set up uv
8383
uses: astral-sh/setup-uv@v6
8484
with:
@@ -108,10 +108,6 @@ jobs:
108108
# matrix is empty for pre-commit, tests are only added
109109
# through the include directive
110110
include:
111-
# only run py3.9 tests on ubuntu+aws to isolate 3.9 failures
112-
- python-version: "3.9"
113-
os: ubuntu-latest-64-cores
114-
cloud-provider: aws
115111
# only run azure tests with latest python and ubuntu
116112
- cloud-provider: azure
117113
python-version: "3.12"
@@ -207,8 +203,7 @@ jobs:
207203
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev
208204
shell: bash
209205
- name: Run data source tests
210-
# psycopg2 is not supported on macos 3.9
211-
if: ${{ !(matrix.os == 'macos-latest' && matrix.python-version == '3.9') }}
206+
if: ${{ !(matrix.python-version == '3.14') }}
212207
run: python -m tox -e datasource
213208
env:
214209
PYTHON_VERSION: ${{ matrix.python-version }}
@@ -387,7 +382,7 @@ jobs:
387382
fail-fast: false
388383
matrix:
389384
os: [ macos-latest ]
390-
python-version: [ "3.9"]
385+
python-version: [ "3.10"]
391386
cloud-provider: [ aws ]
392387
steps:
393388
- name: Checkout Code
@@ -515,7 +510,7 @@ jobs:
515510
# version/cloud/OS permutation coverage.
516511
include:
517512
# The steps below are configured to run only doctests for macos-3.12-aws
518-
- python-version: "3.9"
513+
- python-version: "3.10"
519514
os: macos-latest
520515
cloud-provider: aws
521516
- cloud-provider: gcp
@@ -620,7 +615,7 @@ jobs:
620615
os:
621616
- image_name: macos-latest
622617
download_name: macos
623-
python-version: ["3.9"]
618+
python-version: ["3.10"]
624619
cloud-provider: [aws]
625620
steps:
626621
- name: Checkout Code
@@ -696,7 +691,7 @@ jobs:
696691
- name: Set up Python
697692
uses: actions/setup-python@v4
698693
with:
699-
python-version: '3.9'
694+
python-version: '3.10'
700695
- name: Set up uv
701696
uses: astral-sh/setup-uv@v6
702697
with:
@@ -758,7 +753,7 @@ jobs:
758753
- name: Setup Python
759754
uses: actions/setup-python@v4
760755
with:
761-
python-version: '3.9'
756+
python-version: '3.10'
762757
- name: Set up uv
763758
uses: astral-sh/setup-uv@v6
764759
with:

0 commit comments

Comments
 (0)