Skip to content

Commit 29e3779

Browse files
authored
[rocm7.1_internal_testing] Remove --no-use-pep517 (#2786)
We are removing the flag `--use-pep517` as it been deprecated in pip >=25.3. Fixes https://ontrack-internal.amd.com/browse/SWDEV-564417 Fails with: ``` + python3 -m pip wheel --no-build-isolation --no-deps --no-use-pep517 -w dist/vision git+https://github.com/pytorch/vision.git@966da7e46f65d6d49df3e31214470a4fe5cc8e66 Usage: /opt/venv/bin/python3 -m pip wheel [options] <requirement specifier> ... /opt/venv/bin/python3 -m pip wheel [options] -r <requirements file> ... /opt/venv/bin/python3 -m pip wheel [options] [-e] <vcs project url> ... /opt/venv/bin/python3 -m pip wheel [options] [-e] <local project path> ... /opt/venv/bin/python3 -m pip wheel [options] <archive url/path> ... no such option: --no-use-pep517 ``` After removing the flag ``` python3 -m pip wheel --no-build-isolation --no-deps -w dist/vision git+https://github.com/pytorch/vision.git@966da7e46f65d6d49df3e31214470a4fe5cc8e66 Collecting git+https://github.com/pytorch/vision.git@966da7e46f65d6d49df3e31214470a4fe5cc8e66 Cloning https://github.com/pytorch/vision.git (to revision 966da7e46f65d6d49df3e31214470a4fe5cc8e66) to /tmp/pip-req-build-otbwsr_y ```
1 parent 5fc1aea commit 29e3779

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.ci/pytorch/common_utils.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ function pip_build_and_install() {
9696
python3 -m pip wheel \
9797
--no-build-isolation \
9898
--no-deps \
99-
--no-use-pep517 \
10099
-w "${wheel_dir}" \
101100
"${build_target}"
102101
fi

0 commit comments

Comments
 (0)