Skip to content

gh-157983: Skip test for ctypes.util.find_library when ld is mold - #157984

Merged
encukou merged 1 commit into
python:mainfrom
encukou:skip-mold
Sep 23, 2026
Merged

encukou merged 1 commit into
python:mainfrom
encukou:skip-mold

Conversation

@encukou

@encukou encukou commented Sep 23, 2026

Copy link
Copy Markdown
Member

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.

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.
@encukou encukou added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 23, 2026
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @encukou for commit 708a7f0 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F157984%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 23, 2026
@vstinner

Copy link
Copy Markdown
Member

cc @corona10

@furkanonder

Copy link
Copy Markdown
Contributor

!buildbot riscv64

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @furkanonder for commit 708a7f0 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F157984%2Fmerge

The command will test the builders whose names match following regular expression: riscv64

The builders matched are:

  • riscv64 Ubuntu PR

@ZeroIntensity

Copy link
Copy Markdown
Member

I assume you want this back to 3.13?

@encukou encukou added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Sep 23, 2026
@encukou
encukou merged commit dcaa311 into python:main Sep 23, 2026
138 of 144 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@encukou
encukou deleted the skip-mold branch September 23, 2026 16:13
@bedevere-app

bedevere-app Bot commented Sep 23, 2026

Copy link
Copy Markdown

GH-158008 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Sep 23, 2026
@encukou encukou added the needs backport to 3.14 bugs and security fixes label Sep 23, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Sep 23, 2026

Copy link
Copy Markdown

GH-158009 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Sep 23, 2026
hugovk pushed a commit that referenced this pull request Sep 24, 2026
…old (GH-157984) (#158008)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
hugovk pushed a commit that referenced this pull request Sep 24, 2026
…old (GH-157984) (#158009)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
encukou added a commit that referenced this pull request Sep 24, 2026
…old (GH-157984) (GH-158064)

(cherry picked from commit 1b42680)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
encukou added a commit that referenced this pull request Sep 24, 2026
…old (GH-157984) (GH-158066)

(cherry picked from commit 1b42680)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
encukou added a commit that referenced this pull request Sep 24, 2026
…old (GH-157984) (GH-158065)

(cherry picked from commit 1b42680)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
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.

7 participants