Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937138 - dev-python/redis-5.0.8 fails tests: ModuleNotFoundError: No module named 'numpy'
Summary: dev-python/redis-5.0.8 fails tests: ModuleNotFoundError: No module named 'numpy'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-08-02 14:35 UTC by matoro
Modified: 2024-08-02 16:11 UTC (History)
3 users (show)

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


Attachments
build.log and emerge --info (file_937138.txt,60.41 KB, text/plain)
2024-08-02 14:35 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-08-02 14:35:46 UTC
Created attachment 898817 [details]
build.log and emerge --info

=========================================================================================================================== test session starts ============================================================================================================================
platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 -- /var/tmp/portage/dev-python/redis-5.0.8/work/redis-py-5.0.8-python3_12/install/usr/bin/python3.12
cachedir: .pytest_cache
rootdir: /var/tmp/portage/dev-python/redis-5.0.8/work/redis-py-5.0.8
configfile: pytest.ini
plugins: localserver-0.8.1, aiohttp-1.0.5, forked-1.6.0, mock-3.14.0, timeout-2.3.1, asyncio-0.24.0a0
timeout: 30.0s
timeout method: signal
timeout func_only: False
asyncio: mode=Mode.AUTO, default_loop_scope=[]
collecting ... collected 2957 items / 2 errors / 978 deselected / 1979 selected

================================================================================================================================== ERRORS ==================================================================================================================================
__________________________________________________________________________________________________________________ ERROR collecting tests/test_search.py ___________________________________________________________________________________________________________________
ImportError while importing test module '/var/tmp/portage/dev-python/redis-5.0.8/work/redis-py-5.0.8/tests/test_search.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/usr/lib/python3.12/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
/usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
tests/test_search.py:7: in <module>
    import numpy as np
E   ModuleNotFoundError: No module named 'numpy'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-08-02 14:39:15 UTC
My bad, sorry!
Comment 2 Larry the Git Cow gentoo-dev 2024-08-02 16:11:12 UTC
The bug has been closed via the following commit(s):

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

commit ba0a9a0eba32f31783ecd977b6664dd6ce53cb34
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-08-02 14:37:42 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-08-02 16:11:01 +0000

    dev-python/redis: Add numpy test de
    
    Closes: https://bugs.gentoo.org/937138
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/redis/redis-5.0.8.ebuild | 1 +
 1 file changed, 1 insertion(+)