Skip to content

Commit 0b2fd80

Browse files
authored
[SOT][CI] Cleanup Python 3.14 numpy special treatment (PaddlePaddle#79379)
1 parent 98d83a4 commit 0b2fd80

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

ci/run_sot_test.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ function run_sot_test() {
4242
run_and_check "Installing paddle wheel..." \
4343
$PYTHON_WITH_SPECIFY_VERSION -m pip install ${PADDLE_ROOT}/dist/paddlepaddle-0.0.0-cp${PY_VERSION_NO_DOT}-cp${PY_VERSION_NO_DOT}-linux_x86_64.whl
4444

45-
# Only python3.14 needs to install numpy>=2.3.5, because opencv-python will downgrade numpy to 2.2.6
46-
# see: https://github.com/opencv/opencv-python/issues/1155
47-
if [ "$PY_VERSION" == "3.14" ]; then
48-
run_and_check "Uninstalling numpy for Python 3.14..." \
49-
$PYTHON_WITH_SPECIFY_VERSION -m pip uninstall -y "numpy"
50-
run_and_check "Installing numpy>=2.3.5 for Python 3.14..." \
51-
$PYTHON_WITH_SPECIFY_VERSION -m pip install --force-reinstall --no-cache-dir "numpy>=2.3.5"
52-
fi
53-
5445
# cd to sot test dir
5546
cd $PADDLE_ROOT/test/sot/
5647

python/unittest_py/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ coverage==7.10.7
33
mock
44
gymnasium>=1.1.1
55
hypothesis<6.145.0
6-
opencv-python>= 4.10.0.84
6+
opencv-python>= 4.13.0.90
77
visualdl==2.5.3
88
paddle2onnx>=0.9.6; python_version < "3.12"
99
triton ; platform_system == 'Linux' and platform_machine == 'x86_64'

0 commit comments

Comments
 (0)