Skip to content

Commit ccaf972

Browse files
authored
upgrade requirements-dev.txt (#718)
* upgrade requirements-dev.txt Signed-off-by: xadupre <[email protected]> * fix broken dpendencies Signed-off-by: xadupre <[email protected]> * remove onnxcvonerter-common Signed-off-by: xadupre <[email protected]> * add missing function Signed-off-by: xadupre <[email protected]> * disable ut Signed-off-by: xadupre <[email protected]> * import Signed-off-by: xadupre <[email protected]> * pyspark Signed-off-by: xadupre <[email protected]> * more functions Signed-off-by: xadupre <[email protected]> * fix import Signed-off-by: xadupre <[email protected]> * missing import Signed-off-by: xadupre <[email protected]> * windows Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]>
1 parent 034dbfa commit ccaf972

File tree

175 files changed

+4684
-249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+4684
-249
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ubuntu-latest, macos-latest, windows-latest]
11-
python_version: ['3.12', '3.11', '3.10', '3.9']
11+
python_version: ['3.13', '3.12', '3.11', '3.10', '3.9']
1212
include:
13-
- python_version: '3.12'
13+
- python_version: '3.13'
1414
documentation: 1
1515
numpy_version: '>=2'
1616
scipy_version: '>=1.7.0'
@@ -132,10 +132,6 @@ jobs:
132132
pip install h2o
133133
pytest --maxfail=10 --durations=10 tests/h2o
134134
135-
- name: Run tests pysparkml
136-
if: matrix.os == 'ubuntu-latest' && matrix.python_version != '3.12'
137-
run: pytest --maxfail=10 --durations=10 tests/sparkml
138-
139135
- name: Run tests hummingbirdml
140136
if: matrix.os != 'macos-latest'
141137
run: |
@@ -146,6 +142,10 @@ jobs:
146142
- name: Run tests baseline
147143
run: pytest --maxfail=10 --durations=10 tests/baseline
148144

145+
- name: Run tests pysparkml
146+
if: matrix.os == 'ubuntu-latest' && matrix.python_version != '3.12'
147+
run: pytest --maxfail=10 --durations=10 tests/sparkml
148+
149149
- name: build
150150
run: pip wheel .
151151

CHANGELOGS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
## 1.13.0 (development)
44

5+
* Removes dependency on onnxconveter-common
6+
[#718](https://github.com/onnx/onnxmltools/pull/718)
57
* Handle issue with binary classifier setting output to [N,1] vs [N,2],
68
[#681](https://github.com/onnx/onnxmltools/pull/681)
7-
* Add missing dependency onnxconverter_common, fix multi regression with xgboost,
9+
* Fix multi regression with xgboost,
810
[#679](https://github.com/onnx/onnxmltools/pull/679),
911
fixes issues [No module named 'onnxconverter_common'](https://github.com/onnx/onnxmltools/issues/673),
1012
[onnx converted : xgboostRegressor multioutput model predicts 1 dimension instead of original 210 dimensions.](https://github.com/onnx/onnxmltools/issues/676)

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ pip install onnxmltools
3232
or install from source:
3333

3434
```bash
35-
pip install git+https://github.com/microsoft/onnxconverter-common
3635
pip install git+https://github.com/onnx/onnxmltools
3736
```
3837

docs/examples/plot_convert_h2o.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import onnxruntime as rt
3030
import h2o
3131
from h2o.estimators.gbm import H2OGradientBoostingEstimator
32-
from onnxconverter_common.data_types import FloatTensorType
32+
from onnxmltools.convert.common.data_types.data_types import FloatTensorType
3333
import onnxmltools
3434
from onnxmltools.convert import convert_h2o
3535

docs/examples/plot_convert_keras.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import onnxruntime as rt
3434

3535
import onnxmltools
36-
from onnxconverter_common.data_types import FloatTensorType
36+
from onnxmltools.convert.common.data_types.data_types import FloatTensorType
3737
from onnxmltools.convert import convert_keras
3838

3939

docs/examples/plot_convert_libsvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import onnxruntime as rt
3232

3333
import onnxmltools
34-
from onnxconverter_common.data_types import FloatTensorType
34+
from onnxmltools.convert.common.data_types.data_types import FloatTensorType
3535
from onnxmltools.convert import convert_libsvm
3636

3737
iris = load_iris()

docs/examples/plot_convert_lightgbm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from lightgbm import LGBMClassifier, Dataset, train as train_lgbm
3131
import onnxruntime as rt
3232
import onnxmltools
33-
from onnxconverter_common.data_types import FloatTensorType
33+
from onnxmltools.convert.common.data_types.data_types import FloatTensorType
3434
from onnxmltools.convert import convert_lightgbm
3535

3636
iris = load_iris()

docs/examples/plot_convert_sklearn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
import skl2onnx
4646
import onnxmltools
47-
from onnxconverter_common.data_types import FloatTensorType
47+
from onnxmltools.convert.common.data_types.data_types import FloatTensorType
4848
from onnxmltools.convert import convert_sklearn
4949

5050
iris = load_iris()

docs/examples/plot_convert_sparkml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from pyspark.sql import SparkSession
3535
from pyspark.ml.feature import VectorAssembler, StringIndexer
3636
import onnxmltools
37-
from onnxconverter_common.data_types import FloatTensorType
37+
from onnxmltools.convert.common.data_types.data_types import FloatTensorType
3838
from onnxmltools.convert import convert_sparkml
3939

4040

docs/examples/plot_convert_xgboost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import onnxruntime as rt
3232

3333
import onnxmltools
34-
from onnxconverter_common.data_types import FloatTensorType
34+
from onnxmltools.convert.common.data_types.data_types import FloatTensorType
3535
from onnxmltools.convert import convert_xgboost
3636

3737
iris = load_iris()

0 commit comments

Comments
 (0)