Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828967 - sci-libs/scikit-image-0.17.2: requires tifffile as a dependency
Summary: sci-libs/scikit-image-0.17.2: requires tifffile as a dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-12 03:34 UTC by Alex Fan
Modified: 2021-12-13 03:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,5.72 KB, text/plain)
2021-12-12 03:37 UTC, Alex Fan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Fan archtester 2021-12-12 03:34:37 UTC
Running `from skimage.io import imsave` will give a module import error. 

>>> from skimage.io import imsave
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.9/site-packages/skimage/io/__init__.py", line 7, in <module>
    from .manage_plugins import *
  File "/usr/lib/python3.9/site-packages/skimage/io/manage_plugins.py", line 23, in <module>
    from .collection import imread_collection_wrapper
  File "/usr/lib/python3.9/site-packages/skimage/io/collection.py", line 13, in <module>
    from tifffile import TiffFile
ModuleNotFoundError: No module named 'tifffile'

I originally discovered this in dev-python/dask's test suite. test_image will fail because of tifffile module import error if scikit-image is installed.

Reproducible: Always
Comment 1 Alex Fan archtester 2021-12-12 03:37:17 UTC
Created attachment 758622 [details]
emerge --info
Comment 2 Alex Fan archtester 2021-12-13 02:45:48 UTC
with the new dev-python/tifffile, this python method works well
Comment 3 Larry the Git Cow gentoo-dev 2021-12-13 03:34:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb87ba920cdae4a637269fc33db5fcbb2f6f518

commit 5fb87ba920cdae4a637269fc33db5fcbb2f6f518
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-13 03:20:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-13 03:34:42 +0000

    sci-libs/scikit-image: add missing tifffile dependency
    
    Closes: https://bugs.gentoo.org/828967
    Thanks-to: Alex Fan <alex.fan.q@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ikit-image-0.17.2.ebuild => scikit-image-0.17.2-r1.ebuild} | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)