Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 932016

Summary: dev-lang/python-3.11.9: test_interpreters test__xxsubinterpreters hangs
Product: Gentoo Linux Reporter: M Sirabella <marco>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: normal CC: marco, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info '=dev-lang/python-3.11.9:3.11::gentoo'

Description M Sirabella 2024-05-17 06:16:02 UTC
Created attachment 893118 [details]
build.log

might be related to the reports of tests hanging with USE=pgo
Comment 1 M Sirabella 2024-05-17 06:18:20 UTC
Created attachment 893119 [details]
emerge --info '=dev-lang/python-3.11.9:3.11::gentoo'
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-12 15:37:22 UTC
Well, they just started hanging for me on 3.12, and also with USE=-pgo.  Sigh.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-12 16:41:03 UTC
In my case, it was a .pth file installed by dev-python/noseofyeti.  I've removed it, and now tests work.

What's your:

$ ls /usr/lib/python3.11/site-packages/*.pth

?
Comment 4 M Sirabella 2024-06-21 16:33:40 UTC
There was a file at /usr/lib/python3.11/site-packages/libsigrok-0.5.2-py3.11-nspkg.pth that when removed I believe fixed things? It didn't exist for python3.12 and the tests for that didn't hang.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-21 17:00:32 UTC
Ah, ok.  I think we have a good long-term for that in 3.13, I'll backport it to older versions when we're up for a new release.