Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935509

Summary: dev-python/protobuf-python-4.23.3 fails tests: ModuleNotFoundError: No module named 'numpy'
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=934062
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info

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)