Skip to content

Commit

Permalink
Add Python 3.12 compatibility, drop Python 3.7 (EOL)
Browse files Browse the repository at this point in the history
  • Loading branch information
zurcher committed Oct 13, 2023
1 parent 4f8bfd5 commit 771b7e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
# https://bugs.python.org/issue43749
exclude:
- os: windows-latest
python-version: 3.7
- os: windows-latest
python-version: 3.8

Expand Down Expand Up @@ -51,10 +49,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.11
python-version: 3.12
- name: Install dependencies
run: |
make venv
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools ~= 65.6", "setuptools_scm[toml] ~= 7.1"]
requires = ["setuptools ~= 67.8", "setuptools_scm[toml] ~= 7.1"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -46,7 +46,7 @@ development = [
"coveralls>=3.0.0,<4.0.0",
"flake8~=5.0",
"flake8-docstrings>=1.6.0,<2.0.0",
"pip-tools>=6.12.0,<7.0.0",
"pip-tools~=7.3.0",
"sphinx>=4.0.3,<4.1.0",
"build~=0.9",
]
Expand Down
2 changes: 1 addition & 1 deletion requirements/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ packaging==22.0
# sphinx
pep517==0.13.0
# via build
pip-tools==6.12.1
pip-tools==7.3.0
# via pyfatfs (pyproject.toml)
pluggy==1.0.0
# via pytest
Expand Down

0 comments on commit 771b7e5

Please sign in to comment.