Skip to content

Conversation

@rocm-repo-management-api
Copy link

Cherry-pick of #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
```
@rocm-repo-management-api rocm-repo-management-api bot merged commit 832d147 into release/2.9 Nov 13, 2025
@rocm-repo-management-api rocm-repo-management-api bot deleted the autogenerated/release/2.9_cherry-pick_pr-2786 branch November 13, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants