We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, there are some errors in newer versions of NumPy, e.g. 1.24.0 or later.
============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.2.1, pluggy-1.0.0 rootdir: /tmp/makepkg/python-krypy/src/krypy-2.2.0 collected 20 items / 3 errors ==================================== ERRORS ==================================== ________________ ERROR collecting krypy/tests/test_deflation.py ________________ krypy/tests/test_deflation.py:3: in <module> import krypy.tests.test_linsys as test_linsys <frozen importlib._bootstrap>:1027: in _find_and_load ??? <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:688: in _load_unlocked ??? /usr/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) krypy/tests/test_linsys.py:109: in <module> {'A': test_utils.get_matrix_hpd(), krypy/tests/test_utils.py:16: in get_matrix_hpd a = numpy.array(numpy.linspace(1, 2, 10), dtype=numpy.complex) /usr/lib/python3.10/site-packages/numpy/__init__.py:284: in __getattr__ raise AttributeError("module {!r} has no attribute " E AttributeError: module 'numpy' has no attribute 'complex'. Did you mean: 'complex_'? _________________ ERROR collecting krypy/tests/test_linsys.py __________________ krypy/tests/test_linsys.py:109: in <module> {'A': test_utils.get_matrix_hpd(), krypy/tests/test_utils.py:16: in get_matrix_hpd a = numpy.array(numpy.linspace(1, 2, 10), dtype=numpy.complex) /usr/lib/python3.10/site-packages/numpy/__init__.py:[284](https://gitlab.com/dune-archiso/testing/aur/aur/-/jobs/3663929125#L284): in __getattr__ raise AttributeError("module {!r} has no attribute " E AttributeError: module 'numpy' has no attribute 'complex'. Did you mean: 'complex_'? ________________ ERROR collecting krypy/tests/test_recycling.py ________________ krypy/tests/test_recycling.py:2: in <module> import krypy.tests.test_linsys as test_linsys <frozen importlib._bootstrap>:1027: in _find_and_load ??? <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:688: in _load_unlocked ??? /usr/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) krypy/tests/test_linsys.py:109: in <module> {'A': test_utils.get_matrix_hpd(), krypy/tests/test_utils.py:16: in get_matrix_hpd a = numpy.array(numpy.linspace(1, 2, 10), dtype=numpy.complex) /usr/lib/python3.10/site-packages/numpy/__init__.py:284: in __getattr__ raise AttributeError("module {!r} has no attribute " E AttributeError: module 'numpy' has no attribute 'complex'. Did you mean: 'complex_'? =============================== warnings summary =============================== krypy/utils.py:13 /tmp/makepkg/python-krypy/src/krypy-2.2.0/krypy/utils.py:13: DeprecationWarning: Please use `isintlike` from the `scipy.sparse` namespace, the `scipy.sparse.sputils` namespace is deprecated. from scipy.sparse.sputils import isintlike krypy/tests/test_utils.py:94 krypy/tests/test_utils.py:94: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_house will be ignored def test_house(): krypy/tests/test_utils.py:128 krypy/tests/test_utils.py:128: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_givens will be ignored def test_givens(): krypy/tests/test_utils.py:149 krypy/tests/test_utils.py:149: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_projection will be ignored def test_projection(): krypy/tests/test_utils.py:216 krypy/tests/test_utils.py:216: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_qr will be ignored def test_qr(): krypy/tests/test_utils.py:243 krypy/tests/test_utils.py:243: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_angles will be ignored def test_angles(): krypy/tests/test_utils.py:[292](https://gitlab.com/dune-archiso/testing/aur/aur/-/jobs/3663929125#L292) krypy/tests/test_utils.py:292: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_hegedus will be ignored def test_hegedus(): krypy/tests/test_utils.py:338 krypy/tests/test_utils.py:338: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_arnoldi will be ignored def test_arnoldi(): krypy/tests/test_utils.py:485 krypy/tests/test_utils.py:485: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_ritz will be ignored def test_ritz(): krypy/tests/test_utils.py:637 krypy/tests/test_utils.py:637: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_NormalizedRootsPolynomial will be ignored def test_NormalizedRootsPolynomial(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR krypy/tests/test_deflation.py - AttributeError: module 'numpy' has no attribute 'complex'. Did you mean: 'complex_'? ERROR krypy/tests/test_linsys.py - AttributeError: module 'numpy' has no attribute 'complex'. Did you mean: 'complex_'? ERROR krypy/tests/test_recycling.py - AttributeError: module 'numpy' has no attribute 'complex'. Did you mean: 'complex_'? !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! ======================== 10 warnings, 3 errors in 0.43s ========================
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, there are some errors in newer versions of NumPy, e.g. 1.24.0 or later.
The text was updated successfully, but these errors were encountered: