Hosted and vendored modes cannot deliver a patched release that publishes only platform wheels: no way to consume one patched wheel per platform tag
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Start at crates/socket-patch-core/src/patch/redirect/mod.rs:753 and crates/socket-patch-core/src/vendor/pypi.rs:2139 to see where hosted withholds the redirect and vendored pins one platform. Read the lock-entry model and how upstream PyPI wheel sets are parsed, then trace how a patched wheel reference is built. Done means a hosted or vendored PyPI reference can carry one patched wheel per upstream tag with its own hash, the lock entry rewrites to that full set, and delivery still withholds when coverage is incomplete.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
A PyPI release that publishes only platform wheels cannot be delivered patched in hosted or vendored mode:
- hosted withholds the redirect with
redirect_pypi_platform_wheel(crates/socket-patch-core/src/patch/redirect/mod.rs:753); - vendored pins the lock to one platform and reports
vendor_platform_locked(crates/socket-patch-core/src/vendor/pypi.rs:2139).
Both behaviours are correct for a single patched wheel (#701, #932 and #1048 fixed the silent single-platform pin). The gap is that there is no way to consume a SET of patched wheels for one release.
Why this matters
Packages with compiled extensions often publish no universal wheel at all (pillow: 87 files in 12.3.0, none -none-any). When the patch service can provide a patched wheel for each platform tag of the release, a cross-platform lock entry could list all of them, the way the upstream lock entry does.
Suggested direction
Let a hosted or vendored PyPI reference carry one patched wheel per upstream wheel of the release (same tags, own hashes) and rewrite the lock entry to that full set. Withhold, as today, when the set does not cover every wheel the lock entry lists.
- Ngôn ngữ chính
- Rust
- Star
- 9
- Fork
- 2
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 309
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SocketDev/socket-patch
-
Windows unit tests fail on main: pnpm-registry-overrides fixtures are checked out as CRLF (mixes CRLF and LF line endings)Có thể đã có người làm @mikolalysenko đã nhận hôm nay. Đang mởagent:claimed agent:triaged ci-janitor priority:p1
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
SocketDev/socket-patch#2238 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:triaged arch-audit priority:p3 refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
SocketDev/socket-patch#1860 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:triaged arch-audit priority:p3 refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
SocketDev/socket-patch#1838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Nightly: pnpm11_registry_route_is_cleaned_up_when_a_patch_is_not_needed fails on Windows (pnpm records the RUNNER~1 short path as a second importer)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởagent:triaged ci-janitor priority:p1
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
SocketDev/socket-patch#2235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Agent mode reports a gem whose installed file was edited as "not installed on this host" / "not found on disk", `apply --check` says to run `apply`, and `rollback` exits 1 with "modified after patching" on every runCó thể đã có người làm @mikolalysenko đã nhận hôm nay. Đang mởagent:claimed agent:triaged bug bughunt pm:bundler priority:p1 ux
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
SocketDev/socket-patch#2231 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SocketDev/socket-patch
Issue tương tự
-
area: cli good first issue type: feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
[Bug] Windows Ghidra provider rejects a PATH-only JDK: bare `java.exe` probe fails with Win32 87Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
renaming a provider to a taken name fails with a raw sql errorCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:storage kind:bug priority:p3 ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug bugfix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
storytold/photocraft#16975 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
expo/exact#1716 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày