Skip to content

Commit be011b4

Browse files
committed
Add support for Python 3.12
Signed-off-by: Avi Shinnar <[email protected]>
1 parent 048c206 commit be011b4

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
python-version: [3.8, 3.9, '3.10', '3.11']
13+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
1414

1515
steps:
1616
- uses: actions/checkout@v4
@@ -118,6 +118,9 @@ jobs:
118118
- test-case: test/test_core_misc.py
119119
python-version: '3.11'
120120
setup-target: '.[full,test]'
121+
- test-case: test/test_core_misc.py
122+
python-version: '3.12'
123+
setup-target: '.[full,test]'
121124
- test-case: test/test_autogen_lib.py
122125
python-version: '3.11'
123126
setup-target: '.[test]'
@@ -193,7 +196,7 @@ jobs:
193196
- test/test_pipeline.py
194197
- test/test_relational.py
195198
- test/test_category_encoders.py
196-
python-version: [3.8, 3.9, '3.10', '3.11']
199+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
197200
setup-target: ['.[full,test]']
198201
include:
199202
- test-case: test/test_core_transformers.py
@@ -275,7 +278,7 @@ jobs:
275278
- test/test_core_classifiers.py
276279
- test/test_core_regressors.py
277280
- test/test_core_transformers.py
278-
python-version: ['3.10', '3.11']
281+
python-version: ['3.10', '3.11', '3.12']
279282
setup-target: ['.']
280283
steps:
281284
- uses: actions/checkout@v4
@@ -392,7 +395,7 @@ jobs:
392395
- demo_
393396
- docs_
394397
- talk_
395-
python-version: [3.8, 3.9, '3.10', '3.11']
398+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
396399
setup-target: ['.[full,test]']
397400
test-case: ['test/test_notebooks.py']
398401
dir: ['examples']
@@ -423,6 +426,11 @@ jobs:
423426
setup-target: '.[tutorial,test]'
424427
test-case: 'test/test_notebooks.py'
425428
# nbexcludes: '06_multobj.ipynb'
429+
- dir: 'examples/kdd22'
430+
python-version: '3.12'
431+
setup-target: '.[tutorial,test]'
432+
test-case: 'test/test_notebooks.py'
433+
# nbexcludes: '06_multobj.ipynb'
426434

427435
steps:
428436
- uses: actions/checkout@v4

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
"Programming Language :: Python :: 3.9",
136136
"Programming Language :: Python :: 3.10",
137137
"Programming Language :: Python :: 3.11",
138+
"Programming Language :: Python :: 3.12",
138139
"Topic :: Software Development",
139140
"Topic :: Scientific/Engineering",
140141
"Topic :: Scientific/Engineering :: Artificial Intelligence",

0 commit comments

Comments
 (0)