Skip to content

Commit

Permalink
Add Python 3.12
Browse files Browse the repository at this point in the history
setuptools is no longer installed along with Python.

Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Oct 3, 2023
1 parent 345e85e commit 10dd524
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- uses: pre-commit/[email protected]
tests:
name: Tests
Expand All @@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Install Python tools
run: |
python -m pip install --upgrade pip
pip install jinja2 pytest
pip install jinja2 pytest setuptools
- name: Install OpenSlide
run: |
case "${{ matrix.os }}" in
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
shell: bash
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-arch: [x86, x64]
steps:
- name: Check out repo
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Install Python tools
run: |
python -m pip install --upgrade pip
pip install flask pytest wheel
pip install flask pytest setuptools wheel
# Current Pillow releases don't have 32-bit wheels
# https://github.com/python-pillow/Pillow/issues/7251
pip install Pillow --only-binary=:all:
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- name: Install Python tools
run: |
python -m pip install --upgrade pip
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
python_requires='>=3.8',
Expand Down

0 comments on commit 10dd524

Please sign in to comment.