Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1914830 - python-metakernel: FTBFS in Fedora rawhide
Summary: python-metakernel: FTBFS in Fedora rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: python-metakernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F34FTBFS PYTHON3.10
TreeView+ depends on / blocked
Reported: 2021-01-11 10:03 UTC by Tomáš Hrnčiar
Modified: 2021-01-17 09:37 UTC (History)
1 user (show)

Fixed In Version: python-metakernel-0.27.5-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-01-17 09:37:28 UTC
Type: Bug

Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-01-11 10:03:25 UTC
Description of problem:
Package python-metakernel fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
koji build --scratch f34 python-metakernel-0.27.5-1.fc34.src.rpm

Additional info:
This package is tracked by Koschei. See:

=================================== FAILURES ===================================
_________________________ REPLWrapTestCase.test_python _________________________
self = <metakernel.tests.test_replwrap.REPLWrapTestCase testMethod=test_python>
    def test_python(self):
        if platform.python_implementation() == 'PyPy':
            raise unittest.SkipTest("This test fails on PyPy because of REPL differences")
        p = replwrap.python(sys.executable)
        res = p.run_command('4+7')
>       assert res.strip() == '11'
E       AssertionError: assert '\x1b[?2004l\...\n\x1b[?2004h' == '11'
E         - 11
E         + [?2004l
E         + 11
E         + [?2004h
/builddir/build/BUILD/metakernel-0.27.5/metakernel/tests/ AssertionError
=============================== warnings summary ===============================
  /usr/lib/python3.9/site-packages/ipykernel/ DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    from imp import lock_held as import_lock_held
-- Docs:
=========================== short test summary info ============================
FAILED metakernel/tests/ - Ass...
============= 1 failed, 77 passed, 3 skipped, 1 warning in 45.29s ==============

Comment 1 Mattias Ellert 2021-01-17 09:37:28 UTC
One of the tests started failing when the readline library was updated from version 8.0 to 8.1.
The failure has been reported upstream:
The failing test was disabled in the package build.

Note You need to log in before you can comment on or make changes to this bug.