Skip to content

Commit 8aa59e7

Browse files
committed
Add support for Python 3.12
1 parent 0522957 commit 8aa59e7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/pythonpackage.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
18+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -25,6 +25,7 @@ jobs:
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: ${{ matrix.python-version }}
28+
allow-prereleases: true
2829
- name: Install dependencies
2930
run: |
3031
python -m pip install --upgrade pip

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
"Programming Language :: Python :: 3.8",
4343
"Programming Language :: Python :: 3.9",
4444
"Programming Language :: Python :: 3.10",
45+
"Programming Language :: Python :: 3.11",
46+
"Programming Language :: Python :: 3.12",
4547
"Programming Language :: Python :: 3 :: Only",
4648
],
4749
long_description=long_description,

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = flake8, py{37, 38, 39, 310, 311}
7+
envlist = flake8, py{37, 38, 39, 310, 311, 312}
88

99
[testenv]
1010
commands = {envpython} -m pytest --cov smmap --cov-report xml {posargs}

0 commit comments

Comments
 (0)