[New-bugs-announce] [issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

Christian Heimes report at bugs.python.org
Fri Oct 29 10:37:29 EDT 2021


New submission from Christian Heimes <lists at cheimes.de>:

Some PGO tests are failing when Python is build with options ./configure --disable-test-modules --enable-optimizations . Test failures are caused by missing _testcapi module.

./python -m test --pgo --timeout=1200 || true
test test_array failed
test test_bytes failed
test test_cmath failed
test test_codecs failed
0:00:23 load avg: 1.98 [13/44] test_datetime
Failed to call load_tests:
...
ModuleNotFoundError: No module named '_testcapi'
test test_embed failed
test test_float failed
test test_itertools failed
test test_ordered_dict failed
test test_pickle failed
test test_struct failed
test test_unicode failed
test test_xml_etree_c failed
test_xml_etree_c failed (3 errors)

----------
components: Build, Tests
messages: 405308
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: Some PGO tests are failing when building with --enable-optimizations --disable-test-modules
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45668>
_______________________________________


More information about the New-bugs-announce mailing list