diff --git a/ci/test/try_install.sh b/ci/test/try_install.sh index e7c4d9ceee3ddea408974bf9f85c0f42f601c5f7..1da22d00493ea736b556ba5675985ca8c2c7e4d8 100644 --- a/ci/test/try_install.sh +++ b/ci/test/try_install.sh @@ -11,8 +11,8 @@ if [ -n "$index" ]; then elif [ -d "$wheel_path" ]; then ls -la $wheel_path export PATH=/root/.local/bin:$PATH - python3 -m pip install piprepo==0.1.3 --user - piprepo build $wheel_path + python3 -m pip install https://oneflow-static.oss-cn-beijing.aliyuncs.com/pipindex/pipindex-0.1.3-py2.py3-none-any.whl --user + pipindex build $wheel_path python3 -m pip install -U --user --extra-index-url file://${wheel_path}/simple ${pkg_name} elif [ -e "$wheel_path" ]; then python3 -m pip install --user "$wheel_path" diff --git a/docker/ci/test-v2/requirements.txt b/docker/ci/test-v2/requirements.txt index c01cf243bb74f29c03d0c12106c8cee333725579..97bc8f55d65f93ddafe13aeca6eb831da999e60c 100644 --- a/docker/ci/test-v2/requirements.txt +++ b/docker/ci/test-v2/requirements.txt @@ -6,4 +6,4 @@ pycocotools opencv-python==4.2.0.34 scipy pillow -piprepo +https://oneflow-static.oss-cn-beijing.aliyuncs.com/pipindex/pipindex-0.1.3-py2.py3-none-any.whl diff --git a/docker/ci/test/requirements.txt b/docker/ci/test/requirements.txt index a4771a4389a339840d88be431b777898848b6871..ebff5a1583d11d25bb2ce9d80bc66e3df1536714 100644 --- a/docker/ci/test/requirements.txt +++ b/docker/ci/test/requirements.txt @@ -7,4 +7,4 @@ opencv-python==4.2.0.34 scipy pillow tensorflow-addons==0.9.1 -piprepo +https://oneflow-static.oss-cn-beijing.aliyuncs.com/pipindex/pipindex-0.1.3-py2.py3-none-any.whl