Skip to content

Commit 10dd524

Browse files
committed
Add Python 3.12
setuptools is no longer installed along with Python. Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent 345e85e commit 10dd524

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/python.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.12'
2525
- uses: pre-commit/[email protected]
2626
tests:
2727
name: Tests
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
matrix:
3232
os: [ubuntu-latest, macos-latest]
33-
python-version: [3.8, 3.9, "3.10", "3.11"]
33+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
3434
steps:
3535
- name: Check out repo
3636
uses: actions/checkout@v4
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install Python tools
4242
run: |
4343
python -m pip install --upgrade pip
44-
pip install jinja2 pytest
44+
pip install jinja2 pytest setuptools
4545
- name: Install OpenSlide
4646
run: |
4747
case "${{ matrix.os }}" in
@@ -69,7 +69,7 @@ jobs:
6969
shell: bash
7070
strategy:
7171
matrix:
72-
python-version: [3.8, 3.9, "3.10", "3.11"]
72+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
7373
python-arch: [x86, x64]
7474
steps:
7575
- name: Check out repo
@@ -82,7 +82,7 @@ jobs:
8282
- name: Install Python tools
8383
run: |
8484
python -m pip install --upgrade pip
85-
pip install flask pytest wheel
85+
pip install flask pytest setuptools wheel
8686
# Current Pillow releases don't have 32-bit wheels
8787
# https://github.com/python-pillow/Pillow/issues/7251
8888
pip install Pillow --only-binary=:all:
@@ -133,7 +133,7 @@ jobs:
133133
- name: Set up Python
134134
uses: actions/setup-python@v4
135135
with:
136-
python-version: '3.11'
136+
python-version: '3.12'
137137
- name: Install Python tools
138138
run: |
139139
python -m pip install --upgrade pip

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
'Programming Language :: Python :: 3.9',
4444
'Programming Language :: Python :: 3.10',
4545
'Programming Language :: Python :: 3.11',
46+
'Programming Language :: Python :: 3.12',
4647
'Topic :: Scientific/Engineering :: Bio-Informatics',
4748
],
4849
python_requires='>=3.8',

0 commit comments

Comments
 (0)