Fixes to the editline integration have sadly introduced regressions on
musl:
FAIL: test_append_limited_history
(test.test_readline.TestHistoryManipulation.test_append_limited_history)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.14/test/test_readline.py", line 208, in
test_append_limited_history
self.assertEqual(readline.get_history_item(1), "second line")
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '_HiStOrY_V2_' != 'second line'
- _HiStOrY_V2_
+ second line
======================================================================
FAIL: test_write_read_append
(test.test_readline.TestHistoryManipulation.test_write_read_append)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.14/test/test_readline.py", line 101, in
test_write_read_append
self.assertEqual(readline.get_current_history_length(), 3)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 4 != 3
A ticket has been filed upstream so skip the tests for now.
Signed-off-by: Ross Burton <[email protected]>
---
meta/recipes-devtools/python/python3_3.14.9.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-devtools/python/python3_3.14.9.bb
b/meta/recipes-devtools/python/python3_3.14.9.bb
index 7cee04a0a19..683edea1d83 100644
--- a/meta/recipes-devtools/python/python3_3.14.9.bb
+++ b/meta/recipes-devtools/python/python3_3.14.9.bb
@@ -368,6 +368,11 @@ SKIPPED_TESTS:append:libc-musl = " \
--ignore
test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_interrupt
\
"
+# https://github.com/python/cpython/issues/159424
+SKIPPED_TESTS:append:libc-musl = " \
+ --ignore
test.test_readline.TestHistoryManipulation.test_append_limited_history \
+ --ignore test.test_readline.TestHistoryManipulation.test_write_read_append
\
+"
do_install_ptest:append () {
sed -i -e "s|SKIPPED_TESTS=|SKIPPED_TESTS=\"${SKIPPED_TESTS}\"|"
${D}${PTEST_PATH}/run-ptest
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#248555):
https://lists.openembedded.org/g/openembedded-core/message/248555
Mute This Topic: https://lists.openembedded.org/mt/121901077/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-