Hello. It appears that kitty-0.21.1-1.fc35 fails to build in rawhide with some test failures on at least s390x: ====================================================================== ERROR: test_multiprocessing_spawn (kitty_tests.tui.TestTUI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/kitty-0.21.1/kitty_tests/tui.py", line 48, in test_multiprocessing_spawn test_spawn() self = <kitty_tests.tui.TestTUI testMethod=test_multiprocessing_spawn> test_spawn = <function test_spawn at 0x3ffad2fa0e0> File "/builddir/build/BUILD/kitty-0.21.1/kitty/multiprocessing.py", line 68, in test_spawn x = q.get(timeout=2) ctx = <multiprocessing.context.SpawnContext object at 0x3ffae920bb0> get_context = <bound method DefaultContext.get_context of <multiprocessing.context.DefaultContext object at 0x3ffae920b80>> p = <SpawnProcess name='SpawnProcess-1' pid=2645726 parent=2645715 stopped exitcode=1> q = <multiprocessing.queues.Queue object at 0x3ffae3dffa0> File "/usr/lib64/python3.10/multiprocessing/queues.py", line 114, in get raise Empty block = True deadline = 663352.157820916 self = <multiprocessing.queues.Queue object at 0x3ffae3dffa0> timeout = 1.999996468075551 _queue.Empty ---------------------------------------------------------------------- Ran 102 tests in 3.145s FAILED (errors=1, skipped=2) This blocks the Python 3.10 rebuild of the package.
This appears to be a timeout issue. Maybe the builder is just too slow? In copr, the package builds fine: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/kitty/ Running 3 scratchbuilds on all architectures to see how relevant the individual architectures are for the failures.
Miro good day. I've in a hurry reported upstream https://github.com/kovidgoyal/kitty/issues/3712 Didn't look into that yet, but seems like there is a two python version installed at the same time.
Observations: this happens on all architectures, even if I sed s/timeout=2/timeout=20/. > seems like there is a two python version installed at the same time. Indeed python3.9 is installed in root.log. Let me see why.
Because of: BuildRequires: kitty Let's build without tests first, only to build with tests later.
Oh no, wait, this is only because https://github.com/kovidgoyal/kitty/issues/2881 to add kitty on PATH. We should not install kitty to add it to PATH, we should add the recently built kitty to it.
https://src.fedoraproject.org/rpms/kitty/pull-request/3
Miro thanks a lot for help. Now it built successfully on Rawhide.