Bug 2335909
Summary: | python-pip fails to build with Python 3.14: AssertionError: assert 'file:/tmp/file' == 'file:///tmp/file' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | python-pip | Assignee: | Miro Hrončok <mhroncok> |
Status: | POST --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ksurma, metherid, mhroncok, python-maint, python-packagers-sig, TicoTimo, torsava |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2322407 |
Description
Karolina Surma
2025-01-06 17:14:05 UTC
Seems to be https://github.com/python/cpython/issues/125974 and https://github.com/pypa/pip/pull/13138#issuecomment-2567715303 This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42. Oh wow. I even got: .......................................F...........F.................... [ 2%] .......F................................................................ [ 5%] .......x.x....x...X.............................X....................... [ 8%] ........................................................................ [ 11%] ........................................................................ [ 14%] ........................................................................ [ 17%] ........................................................................ [ 20%] ...................................................................ss... [ 23%] .sss...sss................F.................sF...........sssFssF........ [ 26%] ....................Fatal Python error: Segmentation fault Thread 0x00007f34af3ff6c0 [python3] (most recent call first): File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 534 in read File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 567 in from_io File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 1160 in _thread_receiver File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 341 in run File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 411 in _perform_spawn Current thread 0x00007f34b0911bc0 [python3] (most recent call first): File "/usr/lib64/python3.14/unittest/mock.py", line 1630 in __exit__ File "/builddir/build/BUILD/python-pip-25.1.1-build/pip-25.1.1/tests/unit/test_collector.py", line 870 in test_get_index_content_directory_append_index File "/usr/lib/python3.14/site-packages/_pytest/python.py", line 159 in pytest_pyfunc_call File "/usr/lib/python3.14/site-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3.14/site-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3.14/site-packages/_pytest/python.py", line 1627 in runtest File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 174 in pytest_runtest_call File "/usr/lib/python3.14/site-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3.14/site-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 242 in <lambda> File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 341 in from_call File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 241 in call_and_report File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 132 in runtestprotocol File "/usr/lib/python3.14/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol File "/usr/lib/python3.14/site-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3.14/site-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3.14/site-packages/xdist/remote.py", line 227 in run_one_test File "/usr/lib/python3.14/site-packages/xdist/remote.py", line 206 in pytest_runtestloop File "/usr/lib/python3.14/site-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3.14/site-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3.14/site-packages/_pytest/main.py", line 337 in _main File "/usr/lib/python3.14/site-packages/_pytest/main.py", line 283 in wrap_session File "/usr/lib/python3.14/site-packages/_pytest/main.py", line 330 in pytest_cmdline_main File "/usr/lib/python3.14/site-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3.14/site-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3.14/site-packages/xdist/remote.py", line 427 in <module> File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 1291 in executetask File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 341 in run File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 411 in _perform_spawn File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 389 in integrate_as_primary_thread File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 1273 in serve File "/usr/lib/python3.14/site-packages/execnet/gateway_base.py", line 1806 in serve File "<string>", line 8 in <module> File "<string>", line 1 in <module> Current thread's C stack trace (most recent call first): Binary file "/lib64/libpython3.14.so.1.0", at _Py_DumpStack+0x4c [0x7f34b031e7dc] Binary file "/lib64/libpython3.14.so.1.0", at +0x11f260 [0x7f34b031f260] Binary file "/lib64/libc.so.6", at +0x19bf0 [0x7f34b0028bf0] Binary file '<unknown>' [0x7f34b084c650] Extension modules: markupsafe._speedups (total: 1) [gw2] node down: Not properly terminated F replacing crashed worker gw2 .......x................................................................ [ 30%] ..................................xxx.x................................s [ 33%] s......s................................................................ [ 36%] ........................................................................ [ 39%] ........................................................................ [ 42%] ........................................................................ [ 45%] .................................x...........................F..F....... [ 48%] .ss.s.....F.F........................................................... [ 51%] .................................................................F...... [ 54%] ......................................................Fs.sss..s......... [ 57%] ....................................................x................... [ 60%] ........................................................................ [ 63%] ........................................................................ [ 66%] .....................................................s.................. [ 69%] ........................................................................ [ 72%] ........................................................................ [ 75%] ...............x.x.x.......x............................................ [ 78%] ........................................................................ [ 81%] ........................................................................ [ 84%] ........................................................................ [ 86%] ..............................................sss....................... [ 89%] .....................................................................sss [ 92%] ....................F................................................... [ 95%] ........................................................................ [ 98%] .....................s...... [100%] In a local mock build. And even in Koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=133875457 This fixes all the failures sans the segfault: https://github.com/pypa/pip/pull/13423 Here¨s the crash report https://github.com/python/cpython/issues/135448 |