Bug 1706125 - scikit-image incompatible with numpy as packaged in F30
Summary: scikit-image incompatible with numpy as packaged in F30
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-scikit-image
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-03 15:18 UTC by Benedikt Gollatz
Modified: 2019-05-14 00:59 UTC (History)
2 users (show)

Fixed In Version: python-scikit-image-0.14.2-1.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-14 00:59:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Benedikt Gollatz 2019-05-03 15:18:18 UTC
Description of problem:



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

python3-scikit-image-0.14.0-7.fc30
python3-numpy-1.16.3-1.fc30

How reproducible:

Always

Steps to Reproduce:
1. Run python3 on the shell
2. import skimage
3.

Actual results:

$ python3
Python 3.7.3 (default, Mar 27 2019, 13:36:35) 
[GCC 9.0.1 20190227 (Red Hat 9.0.1-0.8)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import skimage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.7/site-packages/skimage/__init__.py", line 157, in <module>
    from .util.dtype import *
  File "/usr/lib64/python3.7/site-packages/skimage/util/__init__.py", line 8, in <module>
    from .arraycrop import crop
  File "/usr/lib64/python3.7/site-packages/skimage/util/arraycrop.py", line 8, in <module>
    from numpy.lib.arraypad import _validate_lengths
ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib64/python3.7/site-packages/numpy/lib/arraypad.py)

Expected results:

A working import

Additional info:

This is a bug in scikit-image 0.14.0 and 0.14.1 when used with numpy 1.16, see <https://github.com/scikit-image/scikit-image/issues/3586> Fedora 30 packages python3-scikit-image 0.14.0 and python3-numpy 1.16.3.

Building packages of scikit-image 0.14.2 using the current specfile fixes the issue for me.

Comment 1 Fedora Update System 2019-05-05 21:04:51 UTC
python-scikit-image-0.14.2-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-06a147d434

Comment 2 Fedora Update System 2019-05-06 04:54:41 UTC
python-scikit-image-0.14.2-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-06a147d434

Comment 3 Fedora Update System 2019-05-14 00:59:24 UTC
python-scikit-image-0.14.2-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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