python-jupyter-console fails to build with Python 3.10.0a3. ====================================================================== ERROR: test that `jupyter console` starts a terminal ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/lib/python3.10/site-packages/ipython_genutils/testing/decorators.py", line 186, in skipper_func return f(*args, **kwargs) File "/builddir/build/BUILD/jupyter_console-6.2.0/jupyter_console/tests/test_console.py", line 20, in test_console_starts p, pexpect, t = start_console() File "/builddir/build/BUILD/jupyter_console-6.2.0/jupyter_console/tests/test_console.py", line 71, in start_console idx = p.expect(r'In \[\d+\]', timeout=t) File "/usr/lib/python3.10/site-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, File "/usr/lib/python3.10/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/usr/lib/python3.10/site-packages/pexpect/expect.py", line 179, in expect_loop return self.eof(e) File "/usr/lib/python3.10/site-packages/pexpect/expect.py", line 122, in eof raise exc pexpect.exceptions.EOF: End Of File (EOF). Braindead platform. <pexpect.pty_spawn.spawn object at 0x7f1d7c2777f0> command: /usr/bin/python3 args: ['/usr/bin/python3', '-m', 'jupyter_console', '--colors=NoColor'] buffer (last 100 chars): b'' before (last 100 chars): b"interact' was never awaited\r\n[IPKernelApp] WARNING | Parent appears to have exited, shutting down.\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 11758 child_fd: 6 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'In \\[\\d+\\]') ====================================================================== ERROR: Ensure display protocol plain/text key is supported ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/builddir/build/BUILD/jupyter_console-6.2.0/jupyter_console/tests/test_console.py", line 36, in test_display_text p, pexpect, t = start_console() File "/builddir/build/BUILD/jupyter_console-6.2.0/jupyter_console/tests/test_console.py", line 71, in start_console idx = p.expect(r'In \[\d+\]', timeout=t) File "/usr/lib/python3.10/site-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, File "/usr/lib/python3.10/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/usr/lib/python3.10/site-packages/pexpect/expect.py", line 179, in expect_loop return self.eof(e) File "/usr/lib/python3.10/site-packages/pexpect/expect.py", line 122, in eof raise exc pexpect.exceptions.EOF: End Of File (EOF). Braindead platform. <pexpect.pty_spawn.spawn object at 0x7f1d7bc66340> command: /usr/bin/python3 args: ['/usr/bin/python3', '-m', 'jupyter_console', '--colors=NoColor'] buffer (last 100 chars): b'' before (last 100 chars): b"interact' was never awaited\r\n[IPKernelApp] WARNING | Parent appears to have exited, shutting down.\r\n" after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 1 flag_eof: True pid: 11780 child_fd: 7 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'In \\[\\d+\\]') ---------------------------------------------------------------------- Ran 9 tests in 9.269s FAILED (SKIP=1, errors=2) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01827030-python-jupyter-console/ For all our attempts to build python-jupyter-console with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-jupyter-console/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
Appears to have been fixed in latest version, probably from switch to pytest.
Awesome, thanks!