Skip to content

Commit 946adb6

Browse files
committed
undo onnxscript install for python 3.14
1 parent 24e131a commit 946adb6

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

tools/ci_build/github/linux/docker/inference/aarch64/python/cpu/scripts/install_deps.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,5 @@ export CMAKE_ARGS="-DONNX_GEN_PB_TYPE_STUBS=ON -DONNX_WERROR=OFF"
1212

1313
for PYTHON_EXE in "${PYTHON_EXES[@]}"
1414
do
15-
16-
# For python 3.14, install onnxscript without dependencies (It depends on onnx, which does not suppport python 3.14 yet)
17-
# This can be removed once onnx supports python 3.14: update requirements.txt to replace onnx_weekly with onnx.
18-
if [[ "$PYTHON_EXE" == *cp314* ]]; then
19-
${PYTHON_EXE} -m pip install --upgrade pip setuptools wheel
20-
${PYTHON_EXE} -m pip install onnxscript ml_dtypes onnx_ir onnx_weekly typing_extensions packaging numpy --no-deps
21-
fi
22-
2315
${PYTHON_EXE} -m pip install -r requirements.txt
2416
done

tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,4 @@ fi
3434
export ONNX_ML=1
3535
export CMAKE_ARGS="-DONNX_GEN_PB_TYPE_STUBS=OFF -DONNX_WERROR=OFF"
3636

37-
# For python 3.14, install onnxscript without dependencies (It depends on onnx, which does not suppport python 3.14 yet)
38-
# This can be removed once onnx supports python 3.14: update requirements.txt to replace onnx_weekly with onnx.
39-
if [[ "$PYTHON_VER" = "3.14" ]]; then
40-
${PYTHON_EXE} -m pip install --upgrade pip setuptools wheel
41-
${PYTHON_EXE} -m pip install onnxscript ml_dtypes onnx_ir onnx_weekly typing_extensions packaging numpy --no-deps
42-
fi
43-
4437
${PYTHON_EXE} -m pip install -r "${0/%install_python_deps\.sh/requirements\.txt}"

tools/ci_build/github/linux/docker/scripts/manylinux/install_deps.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ export CMAKE_ARGS="-DONNX_GEN_PB_TYPE_STUBS=OFF -DONNX_WERROR=OFF"
3737

3838
for PYTHON_EXE in "${PYTHON_EXES[@]}"
3939
do
40-
# For python 3.14, install onnxscript without dependencies (It depends on onnx, which does not suppport python 3.14 yet)
41-
# This can be removed once onnx supports python 3.14: update requirements.txt to replace onnx_weekly with onnx.
42-
if [[ "$PYTHON_EXE" == *cp314* ]]; then
43-
${PYTHON_EXE} -m pip install --upgrade pip setuptools wheel
44-
${PYTHON_EXE} -m pip install onnxscript ml_dtypes onnx_ir onnx_weekly typing_extensions packaging --no-deps
45-
fi
46-
4740
${PYTHON_EXE} -m pip install -r "${0/%install_deps\.sh/requirements\.txt}"
4841
done
4942

0 commit comments

Comments
 (0)