Skip to content

Commit e6a5f78

Browse files
authored
Support Python 3.12 and 3.13 (#55)
We include Python 3.12 and 3.13 in our pipeline for continuous integration.
1 parent 58d60f2 commit e6a5f78

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.9", "3.10", "3.11"]
15+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1616

1717
steps:
1818
- uses: actions/checkout@master
@@ -26,6 +26,9 @@ jobs:
2626
run: |
2727
python3 -m pip install --upgrade pip
2828
pip3 install --upgrade coveralls
29+
# Setuptools need to be installed separately as Python >3.12 does not include
30+
# them.
31+
pip3 install setuptools
2932
pip3 install -e .[dev]
3033
3134
- name: Run checks

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"Programming Language :: Python :: 3.9",
3535
"Programming Language :: Python :: 3.10",
3636
"Programming Language :: Python :: 3.11",
37+
"Programming Language :: Python :: 3.12",
38+
"Programming Language :: Python :: 3.13",
3739
],
3840
license="License :: OSI Approved :: MIT License",
3941
keywords="abnf backus-naur convert regular expressions",

0 commit comments

Comments
 (0)