Skip to content

Commit 771b7e5

Browse files
committed
Add Python 3.12 compatibility, drop Python 3.7 (EOL)
1 parent 4f8bfd5 commit 771b7e5

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/test.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-20.04, macos-latest, windows-latest]
16-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
16+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1717
# https://bugs.python.org/issue43749
1818
exclude:
19-
- os: windows-latest
20-
python-version: 3.7
2119
- os: windows-latest
2220
python-version: 3.8
2321

@@ -51,10 +49,10 @@ jobs:
5149
steps:
5250
- name: Checkout
5351
uses: actions/checkout@v2
54-
- name: Set up Python 3.11
52+
- name: Set up Python 3.12
5553
uses: actions/setup-python@v2
5654
with:
57-
python-version: 3.11
55+
python-version: 3.12
5856
- name: Install dependencies
5957
run: |
6058
make venv

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools ~= 65.6", "setuptools_scm[toml] ~= 7.1"]
2+
requires = ["setuptools ~= 67.8", "setuptools_scm[toml] ~= 7.1"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -46,7 +46,7 @@ development = [
4646
"coveralls>=3.0.0,<4.0.0",
4747
"flake8~=5.0",
4848
"flake8-docstrings>=1.6.0,<2.0.0",
49-
"pip-tools>=6.12.0,<7.0.0",
49+
"pip-tools~=7.3.0",
5050
"sphinx>=4.0.3,<4.1.0",
5151
"build~=0.9",
5252
]

requirements/development.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ packaging==22.0
6969
# sphinx
7070
pep517==0.13.0
7171
# via build
72-
pip-tools==6.12.1
72+
pip-tools==7.3.0
7373
# via pyfatfs (pyproject.toml)
7474
pluggy==1.0.0
7575
# via pytest

0 commit comments

Comments
 (0)