Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935509 - dev-python/protobuf-python-4.23.3 fails tests: ModuleNotFoundError: No module named 'numpy'
Summary: dev-python/protobuf-python-4.23.3 fails tests: ModuleNotFoundError: No module...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-04 23:47 UTC by matoro
Modified: 2024-07-04 23:47 UTC (History)
1 user (show)

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


Attachments
build.log and emerge --info (file_935509.txt,266.38 KB, text/plain)
2024-07-04 23:47 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-04 23:47:20 UTC
Created attachment 897008 [details]
build.log and emerge --info

ERROR: generator_test (unittest.loader._FailedTest.generator_test)
----------------------------------------------------------------------
ImportError: Failed to import test module: generator_test
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-python/protobuf-python-4.23.3/work/protobuf-23.3/python/google/protobuf/internal/generator_test.py", line 52, in <module>
    from google.protobuf import unittest_retention_pb2
ImportError: cannot import name 'unittest_retention_pb2' from 'google.protobuf' (/var/tmp/portage/dev-python/protobuf-python-4.23.3/work/protobuf-23.3/python/google/protobuf/__init__.py)


======================================================================
ERROR: numpy_test (unittest.loader._FailedTest.numpy_test)
----------------------------------------------------------------------
ImportError: Failed to import test module: numpy_test
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-python/protobuf-python-4.23.3/work/protobuf-23.3/python/google/protobuf/internal/numpy/numpy_test.py", line 35, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'


----------------------------------------------------------------------
Ran 917 tests in 16.319s

FAILED (errors=2, skipped=7)