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

[maicos-latest] Failed CI run #234

Open
github-actions bot opened this issue Nov 24, 2024 · 2 comments
Open

[maicos-latest] Failed CI run #234

github-actions bot opened this issue Nov 24, 2024 · 2 comments

Comments

@github-actions
Copy link

At least two repeated CI runs for maicos have failed.
Here is the last recorded status of the tests:

  • installing python: passed
  • installing the mdakit: passed
  • installing mdanalysis: passed
  • installing the test dependencies: passed
  • running tests: fail
    Pinging maintainers: @schlaicha @PicoCentauri @hejamu
@orbeckst
Copy link
Member

The error in CI (eg see https://github.com/MDAnalysis/MDAKits/actions/runs/12421404414/job/34681030970?pr=251 )

 ___________________ ERROR collecting tests/core/test_base.py ___________________
ImportError while importing test module '/home/runner/work/MDAKits/MDAKits/maicos/tests/core/test_base.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../../miniconda3/envs/test/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/core/test_base.py:23: in <module>
    from maicos import DensityPlanar, _version
src/maicos/__init__.py:14: in <module>
    from .modules import *
src/maicos/modules/__init__.py:11: in <module>
    from .densitycylinder import DensityCylinder
src/maicos/modules/densitycylinder.py:16: in <module>
    from ..core import ProfileCylinderBase
src/maicos/core/__init__.py:22: in <module>
    from .base import AnalysisBase, ProfileBase
src/maicos/core/base.py:25: in <module>
    from ..lib.math import center_cluster, new_mean, new_variance
src/maicos/lib/math.py:17: in <module>
    from ._cmath import compute_structure_factor  # noqa: F401
src/maicos/lib/_cmath.pyx:1: in init maicos.lib._cmath
    # distutils: language = c
E   ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
------------------------------- Captured stderr --------------------------------

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

indicates a binary incompatibility with MDA 2.8.0: Our compiled packages are now built against numpy 2.0.

@PicoCentauri
Copy link

Thanks for the issue @orbeckst . We will do a new release after christmas which should fix this.

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

2 participants