Skip to content

Commit d2dc07d

Browse files
authored
Test Python 3.12 (#1673)
Co-authored-by: zariiii9003 <[email protected]>
1 parent b547dfc commit d2dc07d

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ jobs:
2222
"3.9",
2323
"3.10",
2424
"3.11",
25+
"3.12",
2526
"pypy-3.8",
2627
"pypy-3.9",
2728
]
28-
include:
29-
# Only test on a single configuration while there are just pre-releases
30-
- os: ubuntu-latest
31-
experimental: true
32-
python-version: "3.12.0-alpha - 3.12.0"
29+
# uncomment when python 3.13.0 alpha is available
30+
#include:
31+
# # Only test on a single configuration while there are just pre-releases
32+
# - os: ubuntu-latest
33+
# experimental: true
34+
# python-version: "3.13.0-alpha - 3.13.0"
3335
fail-fast: false
3436
steps:
3537
- uses: actions/checkout@v3
@@ -95,6 +97,9 @@ jobs:
9597
- name: mypy 3.11
9698
run: |
9799
mypy --python-version 3.11 .
100+
- name: mypy 3.12
101+
run: |
102+
mypy --python-version 3.12 .
98103
- name: ruff
99104
run: |
100105
ruff check can

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ classifiers = [
2626
"Intended Audience :: Telecommunications Industry",
2727
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
2828
"Natural Language :: English",
29-
"Natural Language :: English",
3029
"Operating System :: MacOS",
3130
"Operating System :: Microsoft :: Windows",
3231
"Operating System :: POSIX :: Linux",
@@ -35,6 +34,7 @@ classifiers = [
3534
"Programming Language :: Python :: 3.9",
3635
"Programming Language :: Python :: 3.10",
3736
"Programming Language :: Python :: 3.11",
37+
"Programming Language :: Python :: 3.12",
3838
"Programming Language :: Python :: Implementation :: CPython",
3939
"Programming Language :: Python :: Implementation :: PyPy",
4040
"Topic :: System :: Hardware :: Hardware Drivers",

0 commit comments

Comments
 (0)