Skip to content

CI job is choking on new NumPy memory allocator warnings #14917

@rgommers

Description

@rgommers

Example: https://github.com/scipy/scipy/runs/4005856905?check_suite_focus=true

There's lots of this:

scipy/interpolate/tests/test_rbf.py ..........                           [ 17%]
Exception ignored in: 'array_dealloc'
Traceback (most recent call last):
  File "/home/runner/.local/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 59, in __exit__
    del self.unraisable
RuntimeWarning: Trying to dealloc data, but a memory policy is not set. If you take ownership of the data, you must also set a memory policy.

This looks like it's in Pythran code, but nothing changed there - it seems to be due to the new memory allocator in NumPy main. @mattip can you have a look at this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    PythranItems related to internal Pythran code basedefectA clear bug or issue that prevents SciPy from being installed or used as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions