Skip to content

Fix NumPy 2.0 compatibility by replacing removed np.alltrue with np.all - #42

Merged
philipperenard merged 2 commits into
UniNE-CHYN:masterfrom
xi6th:dev
Jul 2, 2026
Merged

Fix NumPy 2.0 compatibility by replacing removed np.alltrue with np.all#42
philipperenard merged 2 commits into
UniNE-CHYN:masterfrom
xi6th:dev

Conversation

@xi6th

@xi6th xi6th commented Jul 1, 2026

Copy link
Copy Markdown

np.alltrue was removed in NumPy 2.0; it was a plain alias for np.all with no behavior difference. This was breaking Image.eq and test assertions on modern NumPy, causing 32/39 tests to fail.

xi6th added 2 commits July 1, 2026 20:19
np.alltrue was removed in NumPy 2.0; it was a plain alias for np.all
with no behavior difference. This was breaking Image.__eq__ and test
assertions on modern NumPy, causing 32/39 tests to fail.
…ss-validation details

Document mpstool.variogram and mpstool.cv_metrics, which were previously
unmentioned, plus the tools/ CLI scripts and the note that these two
modules require an explicit import.
@philipperenard
philipperenard merged commit 1987be8 into UniNE-CHYN:master Jul 2, 2026
1 check failed
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.

2 participants