Skip to content

[3.15] gh-157983: Skip test for ctypes.util.find_library when ld is mold (GH-157984) - #158008

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-dcaa311-3.15
Sep 24, 2026
Merged

hugovk merged 1 commit into
python:3.15from
miss-islington:backport-dcaa311-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

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 dcaa311)

Co-authored-by: Petr Viktorin encukou@gmail.com

…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>
@hugovk
hugovk merged commit 5509203 into python:3.15 Sep 24, 2026
61 checks passed
@miss-islington
miss-islington deleted the backport-dcaa311-3.15 branch September 24, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants