Skip to content
New issue

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

Reporting module test reports issues with numpy.dsize #440

Open
olofk opened this issue Aug 22, 2024 · 0 comments
Open

Reporting module test reports issues with numpy.dsize #440

olofk opened this issue Aug 22, 2024 · 0 comments

Comments

@olofk
Copy link
Owner

olofk commented Aug 22, 2024

Getting the following error when running regression tests locally

========================================================================= ERRORS =========================================================================
________________________________________________________ ERROR collecting tests/test_reporting.py ________________________________________________________
tests/test_reporting.py:4: in <module>
    import pandas as pd
.tox/py3/lib/python3.12/site-packages/pandas/__init__.py:22: in <module>
    from pandas.compat import is_numpy_dev as _is_numpy_dev  # pyright: ignore # noqa:F401
.tox/py3/lib/python3.12/site-packages/pandas/compat/__init__.py:25: in <module>
    from pandas.compat.numpy import (
.tox/py3/lib/python3.12/site-packages/pandas/compat/numpy/__init__.py:4: in <module>
    from pandas.util.version import Version
.tox/py3/lib/python3.12/site-packages/pandas/util/__init__.py:2: in <module>
    from pandas.util._decorators import (  # noqa:F401
.tox/py3/lib/python3.12/site-packages/pandas/util/_decorators.py:14: in <module>
    from pandas._libs.properties import cache_readonly
.tox/py3/lib/python3.12/site-packages/pandas/_libs/__init__.py:13: in <module>
    from pandas._libs.interval import Interval
pandas/_libs/interval.pyx:1: in init pandas._libs.interval
    ???
E   ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
================================================================ short test summary info =================================================================
ERROR tests/test_reporting.py - ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================== 1 error in 1.40s ====================================================================

Would be great if someone (@GCHQDeveloper560 perhaps?) could look at a proper solution. In the meantime, I'm disabling the test module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant