Skip to content

Commit f4bc194

Browse files
xadupreamitportalexarntzenAlexander ArntzenAlexander Arntzen
authored andcommitted
Add scikit-learn==1.7.1 to CI (onnx#1196)
* update changelogs (onnx#1170) Signed-off-by: xadupre <[email protected]> * remove unused statements in plot_dbegin_options_zipmap.py (onnx#1171) Signed-off-by: Amit Portnoy <[email protected]> Signed-off-by: xadupre <[email protected]> * Fix unsued import (onnx#1172) * update changelogs Signed-off-by: xadupre <[email protected]> * Fix unused import Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Fix QDA converter crashing on string labels and incorrect shape calculation (onnx#1169) * fix crashing on string labels in QDA and incorrect shape calculation Signed-off-by: Alexander Arntzen <[email protected]> * run black Signed-off-by: Alexander Arntzen <[email protected]> * add test with String labels for QDA Signed-off-by: Alexander Arntzen <[email protected]> --------- Signed-off-by: Alexander Arntzen <[email protected]> Co-authored-by: Alexander Arntzen <[email protected]> Co-authored-by: Alexander Arntzen <[email protected]> Signed-off-by: xadupre <[email protected]> * Use onnx-weekly in CI, remove dependency on onnxconveter-common (onnx#1179) * Use onnx-weekly in CI Signed-off-by: xadupre <[email protected]> * remove dependency on onnxconverter-common Signed-off-by: xadupre <[email protected]> * BOOL Signed-off-by: xadupre <[email protected]> * fix wrong import Signed-off-by: xadupre <[email protected]> * fix examples Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Remove import of split_complex_to_pairs (onnx#1182) * update changelogs Signed-off-by: xadupre <[email protected]> * Remove import of `split_complex_to_pairs` It seems to be unused. Signed-off-by: Justin Chu <[email protected]> * fix target opset Signed-off-by: xadupre <[email protected]> * ci Signed-off-by: xadupre <[email protected]> * fix opset Signed-off-by: xadupre <[email protected]> * fix import Signed-off-by: xadupre <[email protected]> * ci Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> Signed-off-by: Justin Chu <[email protected]> Co-authored-by: Justin Chu <[email protected]> Signed-off-by: xadupre <[email protected]> * Add action to build the package (onnx#1184) * update changelogs Signed-off-by: xadupre <[email protected]> * Add action to build the package Signed-off-by: xadupre <[email protected]> * fix changelogs Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Migrate to use pyproject to simplify setup (onnx#1186) * Migrate to use pyproject to simplify setup Removed logic in setup.py that parses version etc. and instead use a more simplified pyproject.toml config Signed-off-by: Justin Chu <[email protected]> * classifiers Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> Signed-off-by: xadupre <[email protected]> * Defines action to publish on pypi (onnx#1185) * update changelogs Signed-off-by: xadupre <[email protected]> * Add publish pipeline Signed-off-by: xadupre <[email protected]> * change Signed-off-by: xadupre <[email protected]> * Update .github/workflows/release.yml Co-authored-by: Justin Chu <[email protected]> Signed-off-by: Xavier Dupré <[email protected]> --------- Signed-off-by: xadupre <[email protected]> Signed-off-by: Xavier Dupré <[email protected]> Co-authored-by: Justin Chu <[email protected]> Signed-off-by: xadupre <[email protected]> * Lint (onnx#1187) * update changelogs Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * fix release.yml (onnx#1188) * fix release.yml Signed-off-by: xadupre <[email protected]> * fix typo Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Fix the release package (onnx#1189) * update changelogs Signed-off-by: xadupre <[email protected]> * fix release Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Add a pypi badge on readme (onnx#1190) Signed-off-by: Justin Chu <[email protected]> Signed-off-by: xadupre <[email protected]> * Add scikit-learn==1.7.1 to CI Signed-off-by: xadupre <[email protected]> * remove duplicated paragraph Signed-off-by: xadupre <[email protected]> * fix one requirements Signed-off-by: xadupre <[email protected]> * fix ci Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> Signed-off-by: Amit Portnoy <[email protected]> Signed-off-by: Alexander Arntzen <[email protected]> Signed-off-by: Justin Chu <[email protected]> Signed-off-by: Xavier Dupré <[email protected]> Co-authored-by: Amit Portnoy <[email protected]> Co-authored-by: Alexander Johan Arntzen <[email protected]> Co-authored-by: Alexander Arntzen <[email protected]> Co-authored-by: Alexander Arntzen <[email protected]> Co-authored-by: Justin Chu <[email protected]> Signed-off-by: Maksym Sydorchuk <[email protected]>
1 parent ed4dab8 commit f4bc194

File tree

4 files changed

+27
-18
lines changed

4 files changed

+27
-18
lines changed

.github/workflows/linux-ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest]
10-
sklearn_version: ['==1.6.1', '==1.5.2', '==1.4.2', '==1.3.2', '==1.2.2', '==1.1.3']
10+
sklearn_version: ['==1.7.1', '==1.6.1', '==1.5.2', '==1.4.2', '==1.3.2', '==1.2.2']
1111
include:
12+
- sklearn_version: '==1.7.1'
13+
documentation: 1
14+
numpy_version: '>=2.0'
15+
scipy_version: '>=1.7.0'
16+
onnx_version: 'onnx-weekly'
17+
onnxrt_version: 'onnxruntime>=1.22.0'
18+
python_version: '3.13'
1219
- sklearn_version: '==1.6.1'
1320
documentation: 1
1421
numpy_version: '>=2.0'
@@ -17,7 +24,7 @@ jobs:
1724
onnxrt_version: 'onnxruntime>=1.22.0'
1825
python_version: '3.12'
1926
- sklearn_version: '==1.6.1'
20-
documentation: 1
27+
documentation: 0
2128
numpy_version: '>=2.0'
2229
scipy_version: '>=1.7.0'
2330
onnx_version: 'onnx>=1.18.0'
@@ -51,20 +58,13 @@ jobs:
5158
onnx_version: 'onnx<1.16.0'
5259
onnxrt_version: 'onnxruntime==1.17.3'
5360
sklearn_version: '==1.3.2'
54-
- python_version: '3.10'
61+
- python_version: '3.9'
5562
documentation: 0
5663
numpy_version: '>=1.21.1,<2.0'
5764
scipy_version: '>=1.7.0'
5865
onnx_version: 'onnx==1.14.1'
5966
onnxrt_version: 'onnxruntime==1.16.0'
6067
sklearn_version: '==1.2.2'
61-
- python_version: '3.9'
62-
documentation: 0
63-
numpy_version: '>=1.21.1,<2.0'
64-
scipy_version: '>=1.7.0'
65-
onnx_version: 'onnx==1.13.0'
66-
onnxrt_version: 'onnxruntime==1.14.0'
67-
sklearn_version: '==1.1.3'
6868

6969
steps:
7070
- name: Checkout repository

.github/workflows/windows-macos-ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ jobs:
77
strategy:
88
matrix:
99
os: [windows-latest, macos-latest]
10-
sklearn_version: ['==1.6.1', '==1.5.2', '==1.4.2', '==1.3.2', '==1.2.2', '==1.1.3']
10+
sklearn_version: ['==1.7.1', '==1.6.1', '==1.5.2', '==1.4.2', '==1.3.2', '==1.2.2']
1111
include:
12+
- sklearn_version: '==1.7.1'
13+
python_version: '3.12'
14+
numpy_version: '>=2.0'
15+
scipy_version: '>=1.7.0'
16+
onnx_version: 'onnx==1.18.0'
17+
onnxrt_version: 'onnxruntime==1.22.0'
1218
- sklearn_version: '==1.6.1'
1319
python_version: '3.12'
1420
numpy_version: '>=2.0'
@@ -57,12 +63,6 @@ jobs:
5763
scipy_version: '>=1.7.0'
5864
onnx_version: 'onnx>=1.16.0'
5965
onnxrt_version: 'onnxruntime>=1.18.0'
60-
- sklearn_version: '==1.1.3'
61-
python_version: '3.11'
62-
numpy_version: '>=1.21.1,<2.0'
63-
scipy_version: '>=1.7.0'
64-
onnx_version: 'onnx>=1.16.0'
65-
onnxrt_version: 'onnxruntime>=1.18.0'
6666

6767
steps:
6868
- name: Checkout repository

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,14 @@ pred_onx = sess.run([label_name], {input_name: X_test.astype(np.float32)})[0]
6767
## Contribute
6868
We welcome contributions in the form of feedback, ideas, or code.
6969

70+
## PR
71+
Before you submit any PR, you should apply the following command lines
72+
to fix the style issues.
73+
74+
```bash
75+
black .
76+
ruff check .
77+
```
78+
7079
## License
7180
[Apache License v2.0](LICENSE)

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ joblib
88
lightgbm; sys_platform != 'darwin'
99
loky
1010
matplotlib
11-
mlinsights>=0.3.631
11+
mlinsights>=0.5.2
1212
nbsphinx
1313
onnx
1414
onnx-array-api

0 commit comments

Comments
 (0)