Skip to content

Commit 4bebb99

Browse files
authored
test: use Python 3.10 in tests instead of 3.9 (#2616)
1 parent d7124f8 commit 4bebb99

38 files changed

+109
-109
lines changed

.github/workflows/aimlapi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35-
python-version: ["3.9", "3.13"]
35+
python-version: ["3.10", "3.13"]
3636

3737
steps:
3838
- name: Support longpaths
@@ -51,11 +51,11 @@ jobs:
5151
run: pip install --upgrade hatch
5252

5353
- name: Lint
54-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
54+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5555
run: hatch run fmt-check && hatch run test:types
5656

5757
- name: Generate docs
58-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
58+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5959
run: hatch run docs
6060

6161
- name: Run tests

.github/workflows/amazon_bedrock.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
os: [ubuntu-latest, windows-latest, macos-latest]
44-
python-version: ["3.9", "3.13"]
44+
python-version: ["3.10", "3.13"]
4545

4646
steps:
4747
- name: Support longpaths
@@ -60,11 +60,11 @@ jobs:
6060
run: pip install --upgrade hatch
6161

6262
- name: Lint
63-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
63+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
6464
run: hatch run fmt-check && hatch run test:types
6565

6666
- name: Generate docs
67-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
67+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
6868
run: hatch run docs
6969

7070
- name: Run unit tests

.github/workflows/amazon_sagemaker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest, windows-latest, macos-latest]
34-
python-version: ["3.9", "3.13"]
34+
python-version: ["3.10", "3.13"]
3535

3636
steps:
3737
- name: Support longpaths
@@ -50,11 +50,11 @@ jobs:
5050
run: pip install --upgrade hatch
5151

5252
- name: Lint
53-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
53+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5454
run: hatch run fmt-check && hatch run test:types
5555

5656
- name: Generate docs
57-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
57+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5858
run: hatch run docs
5959

6060
- name: Run tests

.github/workflows/anthropic.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35-
python-version: ["3.9", "3.13"]
35+
python-version: ["3.10", "3.13"]
3636

3737
steps:
3838
- name: Support longpaths
@@ -51,11 +51,11 @@ jobs:
5151
run: pip install --upgrade hatch
5252

5353
- name: Lint
54-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
54+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5555
run: hatch run fmt-check && hatch run test:types
5656

5757
- name: Generate docs
58-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
58+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5959
run: hatch run docs
6060

6161
- name: Run tests

.github/workflows/astra.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
max-parallel: 1
3333
matrix:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35-
python-version: ["3.9", "3.13"]
35+
python-version: ["3.10", "3.13"]
3636

3737
steps:
3838
- name: Support longpaths
@@ -51,11 +51,11 @@ jobs:
5151
run: pip install --upgrade hatch
5252

5353
- name: Lint
54-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
54+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5555
run: hatch run fmt-check && hatch run test:types
5656

5757
- name: Generate docs
58-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
58+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5959
run: hatch run docs
6060

6161
- name: Run tests

.github/workflows/azure_ai_search.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
max-parallel: 3
3535
matrix:
3636
os: [ubuntu-latest, windows-latest] # the tests are slow and we can't run many of them in parallel, so we skip testing on macOS
37-
python-version: ["3.9", "3.13"]
37+
python-version: ["3.10", "3.13"]
3838

3939
steps:
4040
- uses: actions/checkout@v6
@@ -48,11 +48,11 @@ jobs:
4848
run: pip install --upgrade hatch
4949

5050
- name: Lint
51-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
51+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5252
run: hatch run fmt-check && hatch run test:types
5353

5454
- name: Generate docs
55-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
55+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5656
run: hatch run docs
5757

5858
- name: Run tests

.github/workflows/chroma.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest, windows-latest, macos-latest]
34-
python-version: ["3.9", "3.13"]
34+
python-version: ["3.10", "3.13"]
3535

3636
steps:
3737
- name: Support longpaths
@@ -50,11 +50,11 @@ jobs:
5050
run: pip install --upgrade hatch
5151

5252
- name: Lint
53-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
53+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5454
run: hatch run fmt-check && hatch run test:types
5555

5656
- name: Generate docs
57-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
57+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5858
run: hatch run docs
5959

6060
- name: Run Chroma server on Linux/macOS

.github/workflows/cohere.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35-
python-version: ["3.9", "3.13"]
35+
python-version: ["3.10", "3.13"]
3636

3737
steps:
3838
- name: Support longpaths
@@ -51,11 +51,11 @@ jobs:
5151
run: pip install --upgrade hatch
5252

5353
- name: Lint
54-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
54+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5555
run: hatch run fmt-check && hatch run test:types
5656

5757
- name: Generate docs
58-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
58+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5959
run: hatch run docs
6060

6161
- name: Run tests

.github/workflows/cometapi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35-
python-version: ["3.9", "3.13"]
35+
python-version: ["3.10", "3.13"]
3636
max-parallel: 2 # to avoid "429 Resource has been exhausted"
3737

3838
steps:
@@ -51,11 +51,11 @@ jobs:
5151
- name: Install Hatch
5252
run: pip install --upgrade hatch
5353
- name: Lint
54-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
54+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5555
run: hatch run fmt-check && hatch run test:types
5656

5757
- name: Generate docs
58-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
58+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5959
run: hatch run docs
6060

6161
- name: Run tests

.github/workflows/elasticsearch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest] # we run Elasticsearch using Docker, which is not available on MacOS and Windows GitHub Runners
34-
python-version: ["3.9", "3.13"]
34+
python-version: ["3.10", "3.13"]
3535

3636
steps:
3737
- uses: actions/checkout@v6
@@ -45,14 +45,14 @@ jobs:
4545
run: pip install --upgrade hatch
4646

4747
- name: Lint
48-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
48+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
4949
run: hatch run fmt-check && hatch run test:types
5050

5151
- name: Run ElasticSearch container
5252
run: docker compose up -d
5353

5454
- name: Generate docs
55-
if: matrix.python-version == '3.9' && runner.os == 'Linux'
55+
if: matrix.python-version == '3.10' && runner.os == 'Linux'
5656
run: hatch run docs
5757

5858
- name: Run tests

0 commit comments

Comments
 (0)