On 2026-10-01 19:31, Mathieu Dubois-Briand via lists.openembedded.org wrote:
Ptests are failing on this one, when built with musl.
Failed ptests:
{'python3': ['test_append_limited_history', 'python3']}
https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/1308
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1297
If anybody wants to have a look. Otherwise I will try to find a bit of
time.
Hi Mathieu,
Failure looks related to new testcase (test_append_limited_history)
added this release .
https://docs.python.org/release/3.14.8/whatsnew/changelog.html
gh-123018 <https://github.com/python/cpython/issues/123018>: Fix
|readline.write_history_file()|
<https://docs.python.org/release/3.14.8/library/readline.html#readline.write_history_file>
and |readline.append_history_file()|
<https://docs.python.org/release/3.14.8/library/readline.html#readline.append_history_file>
producing a history file that |readline.read_history_file()|
<https://docs.python.org/release/3.14.8/library/readline.html#readline.read_history_file>
could not load when a limit was set with |readline.set_history_length()|
<https://docs.python.org/release/3.14.8/library/readline.html#readline.set_history_length>
and Python was built against |libedit|. This works around NetBSD PR
60322 <https://gnats.netbsd.org/60322>.
Change:
https://github.com/python/cpython/commit/e87da800b6103fd890841688da48e41e211be7b9
I think we need to skip newly added test case in above commit like we
did for test_write_read_limited_history in recipe.
# Also fails with editline instead of readline. See:
# https://github.com/python/cpython/issues/123018
SKIPPED_TESTS += " \
--ignore test_write_read_limited_history \
"
Regards,
Jaipaul
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247088):
https://lists.openembedded.org/g/openembedded-core/message/247088
Mute This Topic: https://lists.openembedded.org/mt/121522858/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-