Skip to content

[main] Drop missing cp313-cp313t from setuptools/wheel install loop#106

Open
JeniferC99 wants to merge 1 commit into
mainfrom
jechrist/fix-cp313t-missing-main
Open

[main] Drop missing cp313-cp313t from setuptools/wheel install loop#106
JeniferC99 wants to merge 1 commit into
mainfrom
jechrist/fix-cp313t-missing-main

Conversation

@JeniferC99
Copy link
Copy Markdown

@JeniferC99 JeniferC99 commented May 21, 2026

Why

Same fix as #105, applied to main. Both branches carry the broken loop introduced in #66.

manywheel/Dockerfile_2_28 aborts every wheel build at step 18:

#18 ERROR: ... cp313-cp313t ... did not complete successfully: exit code: 127

The pinned base image quay.io/pypa/manylinux_2_28_x86_64@sha256:2147aade9c… no longer ships /opt/python/cp313-cp313t/.

What

Drop cp313-cp313t from the loop. It's the only reference in the repo.

Test

Verified via #105 (rocm7.2): all four pytorch wheel jobs re-run today with the patched Dockerfile_2_28 successfully build and push rocm/pytorch-private:manylinux-7.2-compute-rocm-rel-7.2-93.

Most directly relevant for this PR: pytorch2.10 #62 (BUILDER_BRANCH=main is what this branch will become; today's run used the rocm7.2-based fix branch, identical content for this file). Its wheel-builder pwb pytorch#515 reaches naming to docker.io/rocm/pytorch-private:manylinux-7.2-compute-rocm-rel-7.2-93 done at 17:18.

The pinned manylinux_2_28_x86_64 base image
(sha256:2147aade9cc6f841c9b610ec7b033299b09e425cd3a652bdf1cb9fc885f86078)
no longer ships /opt/python/cp313-cp313t/. The free-threaded interpreter
moved up with CPython and is now distributed as cp314-cp314t /
cp315-cp315t. Iterating over cp313-cp313t in this RUN therefore aborts
the docker build with exit code 127 ("command not found").

Same root cause as the rocm7.2 fix; the loop was introduced in #66 and
is the only reference to cp313-cp313t in the repo.

Verified locally: docker build of the patched RUN against the same
pinned base digest now completes successfully.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings May 21, 2026 17:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes manywheel/Dockerfile_2_28 builds failing with exit code 127 by removing a non-existent CPython target (cp313-cp313t) from the setuptools/wheel install loop. This aligns the main branch with the already-applied fix on rocm7.2 (PR #105) and unblocks the py3.13 docker build path.

Changes:

  • Remove cp313-cp313t from the /opt/python/... install loop to prevent executing a missing interpreter.
  • Add inline Dockerfile comments documenting why cp313-cp313t is not used.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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