Skip to content

Commit 7d8ff68

Browse files
author
Wenbing Li
authored
Update requirements.txt (#363)
* Update requirements.txt * Fix CI build script. * Update the README doc
1 parent 362444a commit 7d8ff68

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

.azure-pipelines/linux-CI-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
conda install -c conda-forge numpy
3737
conda install -c conda-forge cmake
3838
pip install $(ONNX_PATH)
39-
pip install -r requirements.txt
4039
git clone https://github.com/microsoft/onnxconverter-common
4140
cd onnxconverter-common
4241
pip install -e .
4342
cd ..
43+
pip install -r requirements.txt
4444
pip install -r requirements-dev.txt
4545
pip install $(ORT_PATH)
4646
pip install pytest

.azure-pipelines/linux-conda-CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ jobs:
5050
conda install -c conda-forge numpy
5151
conda install -c conda-forge cmake
5252
pip install $(ONNX_PATH)
53-
pip install -r requirements.txt
5453
git clone https://github.com/microsoft/onnxconverter-common
5554
cd onnxconverter-common
5655
pip install -e .
5756
cd ..
57+
pip install -r requirements.txt
5858
pip install -r requirements-dev.txt
5959
test '$(python.version)' != '2.7' && pip install $(ONNXRT_PATH)
6060
pip install pytest

.azure-pipelines/win32-CI-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
python -m pip install --upgrade pip numpy
3838
echo Test numpy installation... && python -c "import numpy"
3939
pip install %COREML_PATH% %ONNX_PATH%
40-
pip install -r requirements.txt
4140
git clone https://github.com/microsoft/onnxconverter-common
4241
cd onnxconverter-common
4342
pip install -e .
4443
cd ..
4544
echo Test onnxconverter-common installation... && python -c "import onnxconverter_common"
45+
pip install -r requirements.txt
4646
pip install -r requirements-dev.txt
4747
pip install %ONNXRT_PATH%
4848
echo Test onnxruntime installation... && python -c "import onnxruntime"

.azure-pipelines/win32-conda-CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ jobs:
5656
python -m pip install --upgrade pip numpy
5757
echo Test numpy installation... && python -c "import numpy"
5858
pip install %COREML_PATH% %ONNX_PATH%
59-
pip install -r requirements.txt
6059
git clone https://github.com/microsoft/onnxconverter-common
6160
cd onnxconverter-common
6261
pip install -e .
6362
cd ..
6463
echo Test onnxconverter-common installation... && python -c "import onnxconverter_common"
64+
pip install -r requirements.txt
6565
pip install -r requirements-dev.txt
6666
pip install %ONNXRT_PATH%
6767
echo Test onnxruntime installation... && python -c "import onnxruntime"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ pip install onnxmltools
2424
```
2525
or install from source:
2626
```
27+
pip install git+https://github.com/microsoft/onnxconverter-common
2728
pip install git+https://github.com/onnx/onnxmltools
2829
```
2930
If you choose to install `onnxmltools` from its source code, you must set the environment variable `ONNX_ML=1` before installing the `onnx` package.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
keras2onnx
22
numpy
33
onnx
4-
onnxconverter-common>=1.5.0
4+
onnxconverter-common>=1.6.1
55
protobuf
66
six
77
skl2onnx

0 commit comments

Comments
 (0)