Skip to content

NumPy 2.6: replace deprecated numpy.isfortran with a.flags.fnc - #12723

Merged
crusaderky merged 1 commit into
dask:mainfrom
crusaderky:fix/numpy-isfortran-deprecation
Nov 13, 2026
Merged

crusaderky merged 1 commit into
dask:mainfrom
crusaderky:fix/numpy-isfortran-deprecation

Conversation

@crusaderky

@crusaderky crusaderky commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

No description provided.

NumPy 2.6 deprecates numpy.isfortran, which made all 288 parametrizations of
dask/array/tests/test_creation.py::test_arr_like fail in the nightly CI job
with 'DeprecationWarning: numpy.isfortran is deprecated. Use a.flags.fnc
instead.'

a.flags.fnc (Fortran-contiguous but not C-contiguous) is exactly equivalent
and is available in every supported NumPy version.
@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

     25 files  ±0       25 suites  ±0   6h 9m 10s ⏱️ + 1m 28s
 19 921 tests ±0   18 487 ✅  - 1   1 433 💤 ±0  1 ❌ +1 
379 513 runs  ±0  332 226 ✅ ±0  47 286 💤  - 1  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 5e2f1c5. ± Comparison against base commit 6c6b72f.

@crusaderky crusaderky changed the title [unsupervised AI] Replace deprecated numpy.isfortran with a.flags.fnc NumPy 2.6: replace deprecated numpy.isfortran with a.flags.fnc Nov 13, 2026
@crusaderky
crusaderky marked this pull request as ready for review November 13, 2026 13:23
@crusaderky
crusaderky merged commit 43fa2a6 into dask:main Nov 13, 2026
32 of 35 checks passed
@crusaderky
crusaderky deleted the fix/numpy-isfortran-deprecation branch November 13, 2026 13:23
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

Successfully merging this pull request may close these issues.

1 participant