[3.15] gh-157983: Skip test for ctypes.util.find_library when ld is mold (GH-157984) - #158008
Merged
Merged
Conversation
…ld (pythonGH-157984) The `mold` linker does not support the `-t` option that `ctypes.util.find_library` uses. Since `find_library` is soft-deprecated and explicitly documented as *not expected to be updated for additional platforms and configurations*, we skip the test in the known failing case. (cherry picked from commit dcaa311d88e0e4fd320f0bcda86db5b277062117) Co-authored-by: Petr Viktorin <encukou@gmail.com>
ZeroIntensity
approved these changes
Sep 23, 2026
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.
The
moldlinker does not support the-toption thatctypes.util.find_libraryuses.Since
find_libraryis soft-deprecated and explicitly documented asnot expected to be updated for additional platforms and configurations,
we skip the test in the known failing case.
(cherry picked from commit dcaa311)
Co-authored-by: Petr Viktorin encukou@gmail.com
ldbeingmold#157983