Skip to content

Test failures due to asarray(..., copy=False) semantics change in numpy main #20170

@rgommers

Description

@rgommers

gh-19997 anticipated this change and fixed most things, however that fix was incomplete (or the NumPy implementation changed after it landed). What is left is now visible in wheel builds (example log):

   ERROR io/_harwell_boeing/tests/test_hb.py - ValueError: Unable to avoid copy ...
  ERROR linalg/tests/test_sketches.py - ValueError: Unable to avoid copy while ...
  ERROR sparse/csgraph/tests/test_shortest_path.py - ValueError: Unable to avoi...
  ERROR sparse/linalg/_isolve/tests/test_iterative.py - ValueError: Unable to a...

We need to fix these and then retrigger wheel builds to fix the current nightlies, which are not usable because they were not built against numpy main (see numpy/numpy#25907 (comment)).

Cc @mtsokol for visibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectA clear bug or issue that prevents SciPy from being installed or used as expected

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions