From 883734a6b833a8f5c0dd81e37ee6e6083c564d83 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Wed, 29 Mar 2023 11:33:18 +0800 Subject: [PATCH] fix: use offical pypi repository --- tests/system-test/0-others/udfpy_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-test/0-others/udfpy_main.py b/tests/system-test/0-others/udfpy_main.py index c6b2af0f83..916b032edb 100644 --- a/tests/system-test/0-others/udfpy_main.py +++ b/tests/system-test/0-others/udfpy_main.py @@ -419,7 +419,7 @@ class TDTestCase: tdLog.info("install taospyudf...") packs = ["taospyudf"] for pack in packs: - subprocess.check_call([sys.executable, '-m', 'pip', 'install', pack]) + subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-i', 'https://pypi.org/simple', '-U', pack]) tdLog.info("call ldconfig...") os.system("ldconfig") tdLog.info("install taospyudf successfully.") @@ -461,4 +461,4 @@ class TDTestCase: tdLog.success("%s successfully executed" % __file__) tdCases.addWindows(__file__, TDTestCase()) -tdCases.addLinux(__file__, TDTestCase()) \ No newline at end of file +tdCases.addLinux(__file__, TDTestCase())