Repository navigation
pypi: strip stacked auditwheel hash suffixes - #1986
Open
pohlarized wants to merge 1 commit into
Open
pohlarized wants to merge 1 commit into
pohlarized wants to merge 1 commit into
Conversation
auditwheelHashPat previously matched only a single -<8+ hex> suffix before the first dot with a greedy stem group. When a pre-built library wheel such as scipy-openblas64 is already repaired by auditwheel and its libraries are re-bundled into a downstream wheel such as numpy, auditwheel appends a second hash suffix (for example libgfortran-83c28eba-468e71e5.so.5.0.0). Repeat the hash suffix group and make the stem match non-greedy so unbundledSoname strips all auditwheel hashes before builtin and SONAME filtering.
pohlarized
marked this pull request as ready for review
November 6, 2026 18:24
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
auditwheelHashPat previously matched only a single -<8+ hex> suffix before the first dot with a greedy stem group. When a pre-built library wheel such as scipy-openblas64 is already repaired by auditwheel and its libraries are re-bundled into a downstream wheel such as numpy, auditwheel appends a second hash suffix (for example libgfortran-83c28eba-468e71e5.so.5.0.0). Repeat the hash suffix group and make the stem match non-greedy so unbundledSoname strips all auditwheel hashes before builtin and SONAME filtering.
Across 2,943 evaluated PyPI wheels, stripping stacked
auditwheelhashes clears invalid runtime specifiers across 81 plans in 2 packages (numpy,scipy), with 0 regressions. Combined with #1987 to omit remaining wheel-born.libs/entries, this 2-PR stack unlocks +53 wheel builds across 95 updated plans.