Skip to content

Commit 3822805

Browse files
Support Python 3.11 (#7179)
Support and test Python 3.11
1 parent 74b0dd3 commit 3822805

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/
6969
70-
test_py310:
70+
test_py311:
7171
needs: check_code_quality
7272
strategy:
7373
matrix:
@@ -80,10 +80,10 @@ jobs:
8080
- uses: actions/checkout@v4
8181
with:
8282
fetch-depth: 0
83-
- name: Set up Python 3.10
83+
- name: Set up Python 3.11
8484
uses: actions/setup-python@v5
8585
with:
86-
python-version: "3.10"
86+
python-version: "3.11"
8787
- name: Upgrade pip
8888
run: python -m pip install --upgrade pip
8989
- name: Install uv
@@ -94,7 +94,7 @@ jobs:
9494
run: |
9595
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/
9696
97-
test_py310_numpy2:
97+
test_py311_numpy2:
9898
needs: check_code_quality
9999
strategy:
100100
matrix:
@@ -107,10 +107,10 @@ jobs:
107107
- uses: actions/checkout@v4
108108
with:
109109
fetch-depth: 0
110-
- name: Set up Python 3.10
110+
- name: Set up Python 3.11
111111
uses: actions/setup-python@v5
112112
with:
113-
python-version: "3.10"
113+
python-version: "3.11"
114114
- name: Upgrade pip
115115
run: python -m pip install --upgrade pip
116116
- name: Install uv

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264
"Programming Language :: Python :: 3.8",
265265
"Programming Language :: Python :: 3.9",
266266
"Programming Language :: Python :: 3.10",
267+
"Programming Language :: Python :: 3.11",
267268
"Topic :: Scientific/Engineering :: Artificial Intelligence",
268269
],
269270
keywords="datasets machine learning datasets",

0 commit comments

Comments
 (0)