https://bugzilla.redhat.com/show_bug.cgi?id=1878069



--- Comment #2 from Fabian Affolter <[email protected]> ---
(In reply to Robert-André Mauchin 🐧 from comment #1)
>  - Missing numpy for tests?
> 
> + /usr/bin/pytest -v tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.0rc2, pytest-6.0.2, py-1.9.0, pluggy-0.13.1 --
> /usr/bin/python3
> cachedir: .pytest_cache
> rootdir: /builddir/build/BUILD/stackprinter-0.2.4
> collecting ... collected 3 items / 1 error / 2 selected
> ==================================== ERRORS
> ====================================
> _______________ ERROR collecting tests/test_source_inspection.py
> _______________
> ImportError while importing test module
> '/builddir/build/BUILD/stackprinter-0.2.4/tests/test_source_inspection.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib64/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_source_inspection.py:1: in <module>
>     from source import sourcelines
> tests/source.py:1: in <module>
>     import numpy as np
> E   ModuleNotFoundError: No module named 'numpy'
> =========================== short test summary info
> ============================
> ERROR tests/test_source_inspection.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.13s
> ===============================
> 
> 
> BuildRequires:  python3dist(numpy)

Sorry, I uploaded an out-dated SPEC file. This is a requirement of course.

Thanks for the review.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to