Bug 1737360 - python-nibabel fails to build with Python 3.8
Summary: python-nibabel fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nibabel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-08-05 08:31 UTC by Miro Hrončok
Modified: 2019-08-05 15:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-05 15:01:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-08-05 08:31:41 UTC
python-nibabel fails to build with Python 3.8.0b3.

======================================================================
ERROR: nibabel.tests.test_volumeutils.test_a2f_non_numeric
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/nibabel-2.4.1/nibabel/tests/test_volumeutils.py", line 702, in test_a2f_non_numeric
    arr.astype(float)
TypeError: Cannot cast array from dtype([('f1', '<f4'), ('f2', '<i2')]) to dtype('float64') according to the rule 'unsafe'

----------------------------------------------------------------------
Ran 7707 tests in 196.580s

FAILED (SKIP=44, errors=1)
sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/nibabel-2.4.1/nibabel/tests/data/tinypet.v'>
For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00994594-python-nibabel/

For all our attempts to build python-nibabel with Python 3.8, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-nibabel/

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.8:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Let us know here if you have any questions.

Comment 1 Ankur Sinha (FranciscoD) 2019-08-05 14:12:23 UTC
I build 2.5.0 for rawhide yesterday:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1347054

Could you check if that builds with python3.8 when you have a minute please?

Comment 2 Miro Hrončok 2019-08-05 15:01:34 UTC
2.5.0 built. Thanks.


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