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 bugzilla.redhat.com.

Bug 1843804

Summary: FTBFS: Cython fails 2 tests with numpy 1.19
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: CythonAssignee: Igor Raits <igor.raits>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, igor.raits, mhroncok, ndbecker2, python-sig, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/Cython
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-22 20:50:41 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: 1803234, 1859435    

Description Miro Hrončok 2020-06-04 07:54:02 UTC
Description of problem:
Package Cython fails to build from source in Fedora rawhide due to reent update of numpy to 1.19.

======================================================================
ERROR: runTest (__main__.CythonRunTestCase)
compiling (c) and running numpy_test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 1247, in run
    ext_so_path = self.runCompileTest()
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 923, in runCompileTest
    return self.compile(
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 1168, in compile
    self._match_output(expected_errors, errors, tostderr)
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 1217, in _match_output
    self.assertEqual(None, unexpected)
AssertionError: None != "962:69: Cannot convert 'void *' to Python object"
======================================================================
ERROR: runTest (__main__.CythonRunTestCase)
compiling (cpp) and running numpy_test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 1247, in run
    ext_so_path = self.runCompileTest()
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 923, in runCompileTest
    return self.compile(
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 1168, in compile
    self._match_output(expected_errors, errors, tostderr)
  File "/builddir/build/BUILD/cython-0.29.19/runtests.py", line 1217, in _match_output
    self.assertEqual(None, unexpected)
AssertionError: None != "962:69: Cannot convert 'void *' to Python object"
----------------------------------------------------------------------
Ran 2281 tests in 992.989s
FAILED (errors=2, skipped=6)


Version-Release number of selected component (if applicable):
0.29.19-1.fc33



Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/Cython

Comment 1 Gwyn Ciesla 2020-07-22 15:35:26 UTC
Updated to 0.29.21, same problem. numpy 1.19.1 needs 0.29.21. Submitted upstream.

Comment 2 Miro Hrončok 2020-07-22 16:47:28 UTC
There is a bcond to disable the tests, and the numpy related tests can be skipped, please, don't comment out the entire %check section.

Comment 3 Gwyn Ciesla 2020-07-22 16:54:32 UTC
Successfully built without tests to build numpy 1.19.1. Will re-enable afterward if that works.

Comment 4 Gwyn Ciesla 2020-07-22 16:55:01 UTC
Sorry I missed that, I'll correct that if I can't re-enable.

Comment 5 Miro Hrončok 2020-07-22 17:07:56 UTC
> the numpy related tests can be skipped

Working on that.

Comment 6 Miro Hrončok 2020-07-22 17:09:08 UTC
I see, crossed wires, sorry.

Never mind, if you can reenable all tests, please do it. If not, temporary drop BR on numpy.

Comment 7 Gwyn Ciesla 2020-07-22 17:10:16 UTC
Will do. :)

Comment 8 Miro Hrončok 2020-07-22 22:36:14 UTC
Thank You, Gwyn!