Skip to content

Commit

Permalink
Support Python 3.11 (#7179)
Browse files Browse the repository at this point in the history
Support and test Python 3.11
  • Loading branch information
albertvillanova authored Oct 8, 2024
1 parent 74b0dd3 commit 3822805
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/
test_py310:
test_py311:
needs: check_code_quality
strategy:
matrix:
Expand All @@ -80,10 +80,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install uv
Expand All @@ -94,7 +94,7 @@ jobs:
run: |
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/
test_py310_numpy2:
test_py311_numpy2:
needs: check_code_quality
strategy:
matrix:
Expand All @@ -107,10 +107,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install uv
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords="datasets machine learning datasets",
Expand Down

0 comments on commit 3822805

Please sign in to comment.