Skip to content

Commit c4199bb

Browse files
authored
Support python 3.12 (#89)
1 parent db0fe2d commit c4199bb

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/test_pr.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15+
test3_12:
16+
name: Test Py3.12
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.12'
23+
- name: Run tests
24+
run: |
25+
python --version
26+
pip install -q -e .[dev]
27+
python -m unittest discover --pattern '*test*.py'
1528
test3_11:
1629
name: Test Py3.11
1730
runs-on: ubuntu-latest

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def get_version():
9090
"Programming Language :: Python :: 3.9",
9191
"Programming Language :: Python :: 3.10", # Colab
9292
"Programming Language :: Python :: 3.11",
93+
"Programming Language :: Python :: 3.12",
9394
"Operating System :: OS Independent",
9495
"Topic :: Scientific/Engineering :: Artificial Intelligence",
9596
],

0 commit comments

Comments
 (0)