[to #48269383]fix: onnx protobuf version conflict

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11914565

    * [to #48269383]fix: onnx protobuf version conflict
This commit is contained in:
mulin.lyh
2023-03-08 14:49:22 +08:00
parent 691443257c
commit e993438f86

View File

@@ -66,11 +66,13 @@ envs:
default: # default env, case not in other env will in default, pytorch.
dependencies: # requirement packagespip install before test case run.
- numpy>=1.20
- protobuf<4,>=3.20.2
tensorflow1x: # cases excuted tensorflow1.x framework.
requirements: # requirements files run before test case run.
- tensorflow1x.txt
dependencies: # requirement packagespip install before test case run.
- numpy==1.18.5
- protobuf>=3.19.0,<3.21.0
tests:
- test_text_to_speech.py
- test_csanmt_translation.py