Bug 1927129
Summary: | ipython: FTBFS in Fedora rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | ipython | Assignee: | Lumír Balhar <lbalhar> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dcantrell, lbalhar, mhroncok, michel, mrunge, orion, python-sig, tomspur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://koschei.fedoraproject.org/package/ipython | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-10 12:18:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1868278, 1890881 |
Description
Tomáš Hrnčiar
2021-02-10 07:04:59 UTC
Builds fine for me in rawhide mock and Koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=61702440 There are also some failures with Python 3.10a5. https://download.copr.fedorainfracloud.org/results/@python/python3.10/fedora-rawhide-x86_64/01955212-ipython/builder-live.log.gz ====================================================================== ERROR: test_multi (IPython.core.tests.test_inputsplitter.InteractiveLoopTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILDROOT/ipython-7.20.0-1.fc34.x86_64/usr/lib/python3.10/site-packages/IPython/core/tests/test_inputsplitter.py", line 382, in test_multi self.check_ns(['x =(1+','1+','2)'], dict(x=4)) File "/builddir/build/BUILDROOT/ipython-7.20.0-1.fc34.x86_64/usr/lib/python3.10/site-packages/IPython/core/tests/test_inputsplitter.py", line 362, in check_ns exec(src, test_ns) File "<string>", line 1 x =(1+ ^ SyntaxError: '(' was never closed ====================================================================== FAIL: test_check_complete (IPython.core.tests.test_inputsplitter.InputSplitterTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILDROOT/ipython-7.20.0-1.fc34.x86_64/usr/lib/python3.10/site-packages/IPython/core/tests/test_inputsplitter.py", line 347, in test_check_complete self.assertEqual(isp.check_complete("a = [1,\n2,"), ('incomplete', 0)) AssertionError: Tuples differ: ('invalid', None) != ('incomplete', 0) First differing element 0: 'invalid' 'incomplete' - ('invalid', None) + ('incomplete', 0) """Fail immediately, with the given message.""" >> raise self.failureException("Tuples differ: ('invalid', None) != ('incomplete', 0)\n\nFirst differing element 0:\n'invalid'\n'incomplete'\n\n- ('invalid', None)\n+ ('incomplete', 0)") ====================================================================== FAIL: test_push3 (IPython.core.tests.test_inputsplitter.InputSplitterTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILDROOT/ipython-7.20.0-1.fc34.x86_64/usr/lib/python3.10/site-packages/IPython/core/tests/test_inputsplitter.py", line 257, in test_push3 self.assertEqual(isp.push('b = [1,'), False) AssertionError: True != False 'True != False' = '%s != %s' % _common_shorten_repr(True, False) 'True != False' = self._formatMessage('True != False', 'True != False') >> raise self.failureException('True != False') There are 2 different issues in here. There are failures on Python 3.10. And there were failures in Koschei on Python 3.9 / ppc64le but I was not able to reproduce with: [ipython (rawhide)]$ fedpkg --release rawhide build --nowait --scratch --arches ppc64le Building ipython-7.20.0-1.fc35 for rawhide Created task: 61702817 Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=61702817 So I'd say this can either be closed or renamed to be Python 3.10 specific. The fix is in dist-git but I don't plan to build it in rawhide. |