Repository navigation
Remove redundant python3.15 installation from aarch64 builder image - #200595
puneetmatharu wants to merge 1 commit into
Conversation
PR Status: missing actionable issueAuto PR Triage did not find either of the following when it checked this PR:
Such PRs are a low priority for maintainers to review and might not get a response given the very high volume of PRs we receive. Please focus on If one of these applies, add the matching line to the PR description. If there is no 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/200595
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (10 Unrelated Failures)As of commit 6a55966 with merge base d2f3a9d ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
|
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
… images (#200653) - [ ] Passes lint (`spin fixlint`) - [ ] Added/updated tests (Dockerfile deletions; local structural checks only) - [ ] Updated documentation (not applicable) - [ ] Included benchmark results (not applicable) ## BC-breaking? ### Agent details: compatibility (AI-generated) Uses CPython 3.15/3.15t already supplied by the current manylinux base images, replacing the redundant locally compiled 3.15.0rc2 builds. ## Summary (human written only) > Make a PR that fixes everything ## Agent details (AI-generated) Prepared with OpenAI Codex at the author's request to cover every Docker image affected by the Python 3.15 installation collision. Draft for human review. Fresh manywheel Docker builds fail in `install_cpython.sh` with: ```text ln: failed to create symbolic link '/opt/_internal/cpython-3.15.0/bin/python': File exists ``` The manylinux base images now provide both CPython 3.15 and free-threaded 3.15. Rebuilding into those existing prefixes is unnecessary. Upstream [pypa/manylinux#2001](pypa/manylinux#2001) updates both variants to 3.15.0 final. Remove the redundant installer `COPY` and `RUN` from: - `Dockerfile_2_28`: covers x86-64 CPU, CUDA, ROCm and XPU derived images. - `Dockerfile_2_28_aarch64`: covers the standard AArch64 builder. - `Dockerfile_cuda_aarch64`: covers CUDA AArch64 builders. This extends the scope of #200595, which removes only the standard AArch64 block. The s390x image intentionally deletes the base image's Python installation before rebuilding for its development requirements, so its existing rebuild path is retained. Observed failure: [CPU builder job](https://github.com/pytorch/pytorch/actions/runs/38279825663/job/114914161885) from #200651. The other five failed manywheel image jobs hit the same symlink collision. Validation: `git diff --check` passed; an ad hoc local comparison confirmed that the only logical instruction removals are the three installer COPY/RUN pairs; all remaining RUN shell commands passed `bash -n`; s390x is unchanged. Docker is unavailable in the local environment, so full image builds and lint are pending. Changes under `.ci/docker` intentionally trigger image rebuilds. Pull Request resolved: #200653 Approved by: https://github.com/malfet
… images (#200681) [CD] Remove redundant CPython 3.15 builds from all affected manylinux images (#200653) - [ ] Passes lint (`spin fixlint`) - [ ] Added/updated tests (Dockerfile deletions; local structural checks only) - [ ] Updated documentation (not applicable) - [ ] Included benchmark results (not applicable) ## BC-breaking? ### Agent details: compatibility (AI-generated) Uses CPython 3.15/3.15t already supplied by the current manylinux base images, replacing the redundant locally compiled 3.15.0rc2 builds. ## Summary (human written only) > Make a PR that fixes everything ## Agent details (AI-generated) Prepared with OpenAI Codex at the author's request to cover every Docker image affected by the Python 3.15 installation collision. Draft for human review. Fresh manywheel Docker builds fail in `install_cpython.sh` with: ```text ln: failed to create symbolic link '/opt/_internal/cpython-3.15.0/bin/python': File exists ``` The manylinux base images now provide both CPython 3.15 and free-threaded 3.15. Rebuilding into those existing prefixes is unnecessary. Upstream [pypa/manylinux#2001](pypa/manylinux#2001) updates both variants to 3.15.0 final. Remove the redundant installer `COPY` and `RUN` from: - `Dockerfile_2_28`: covers x86-64 CPU, CUDA, ROCm and XPU derived images. - `Dockerfile_2_28_aarch64`: covers the standard AArch64 builder. - `Dockerfile_cuda_aarch64`: covers CUDA AArch64 builders. This extends the scope of #200595, which removes only the standard AArch64 block. The s390x image intentionally deletes the base image's Python installation before rebuilding for its development requirements, so its existing rebuild path is retained. Observed failure: [CPU builder job](https://github.com/pytorch/pytorch/actions/runs/38279825663/job/114914161885) from #200651. The other five failed manywheel image jobs hit the same symlink collision. Validation: `git diff --check` passed; an ad hoc local comparison confirmed that the only logical instruction removals are the three installer COPY/RUN pairs; all remaining RUN shell commands passed `bash -n`; s390x is unchanged. Docker is unavailable in the local environment, so full image builds and lint are pending. Changes under `.ci/docker` intentionally trigger image rebuilds. Pull Request resolved: #200653 Approved by: https://github.com/malfet (cherry picked from commit a139ef7) Co-authored-by: Aaron Gokaslan <[email protected]>
huydhn
left a comment
There was a problem hiding this comment.
The build failures from the PR look legit https://github.com/pytorch/pytorch/actions/runs/38222202511/job/114721005525?pr=200595
|
Closed as superseded by #200653. |
Description
This PR removes the now-redundant custom installation of CPython 3.15 from the AArch64 manywheel Dockerfile.
The manylinux base image now includes both standard and free-threaded CPython 3.15.0; the October 9 update results in a collision. The PyTorch installer script (
install_cpython.sh) rebuilds CPython into/opt/_internal/cpython-3.15.0, then fails becausepythonalready exists there.