Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930663 - dev-python/imageio-2.34.1 fails tests: FAILED test_core.py::test_findlib2 - ValueError: No library name given
Summary: dev-python/imageio-2.34.1 fails tests: FAILED test_core.py::test_findlib2 - V...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-04-25 12:24 UTC by Agostino Sarubbo
Modified: 2024-04-25 14:33 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,559.23 KB, text/plain)
2024-04-25 12:24 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-04-25 12:24:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/imageio-2.34.1 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-25 12:24:07 UTC
Created attachment 891689 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-25 12:24:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E           ImportError: Pillow v10.3.0 is not supported by ImageIO's legacy pillow plugin when writing GIFs. Consider switching to the new plugin or downgrading to `pillow<10.1.0`.
E               IndexError: No (working) camera at <video0>.
E               OSError: Could not load meta information
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
E           RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
E           ValueError: No library name given.
                    except ImportError:
                except ImportError:
        except IndexError:
FAILED tests/test_core.py::test_findlib2 - ValueError: No library name given.
FAILED tests/test_ffmpeg.py::test_h264_reading - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_read_and_write - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_reverse_read - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_write_audio_ac3 - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_write_audio_default_codec - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_write_not_contiguous - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_writer_ffmpeg_params - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_writer_file_properly_closed - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_writer_more - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_writer_pixelformat_size_verbose - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
FAILED tests/test_ffmpeg.py::test_write_stream - RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
SKIPPED [1] tests/test_opencv.py:7: could not import 'imageio.plugins.opencv': No module named 'cv2'
tests/test_core.py::test_findlib2 FAILED                              [  9/253]
tests/test_ffmpeg.py::test_h264_reading FAILED                        [ 91/253]
tests/test_ffmpeg.py::test_read_and_write FAILED                      [ 71/253]
tests/test_ffmpeg.py::test_reverse_read FAILED                        [ 88/253]
tests/test_ffmpeg.py::test_write_audio_ac3 FAILED                     [ 74/253]
tests/test_ffmpeg.py::test_write_audio_default_codec FAILED           [ 75/253]
tests/test_ffmpeg.py::test_write_not_contiguous FAILED                [ 73/253]
tests/test_ffmpeg.py::test_writer_ffmpeg_params FAILED                [ 80/253]
tests/test_ffmpeg.py::test_writer_file_properly_closed FAILED         [ 78/253]
tests/test_ffmpeg.py::test_writer_more FAILED                         [ 77/253]
tests/test_ffmpeg.py::test_writer_pixelformat_size_verbose FAILED     [ 79/253]
tests/test_ffmpeg.py::test_write_stream FAILED                        [ 90/253]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-25 14:33:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803ac634aa5efda90491c0d9aab1b86dccd0aee8

commit 803ac634aa5efda90491c0d9aab1b86dccd0aee8
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-25 13:55:16 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-25 14:33:18 +0000

    dev-python/imageio: Fix test failures
    
    Closes: https://bugs.gentoo.org/930663
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/imageio/imageio-2.34.1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)