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 - FTBFS: Cython fails 2 tests with numpy 1.19
Summary: FTBFS: Cython fails 2 tests with numpy 1.19
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Cython
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F33FTBFS 1859435
TreeView+ depends on / blocked
 
Reported: 2020-06-04 07:54 UTC by Miro Hrončok
Modified: 2020-07-22 22:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-22 20:50:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github cython cython issues 3750 0 None open Build issue with numpy 1.19.x 2020-07-22 15:35:26 UTC

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!


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