Skip to content

Update opera-utils version to 0.25.9 - #746

Merged
mirzaees merged 2 commits into
mainfrom
mirzaees-patch-1
Oct 8, 2026
Merged

mirzaees merged 2 commits into
mainfrom
mirzaees-patch-1

Conversation

@mirzaees

@mirzaees mirzaees commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

mirzaees and others added 2 commits October 8, 2026 15:18
jax 0.9.2 added a FutureWarning when jax.scipy.linalg.solve is given
an identity matrix as the RHS to compute a full inverse, since it hits
an ambiguous batched-solve path internal to cho_solve. Both call sites
in crlb.py were only ever using solve() this way to get a matrix
inverse, so switch them to jnp.linalg.inv directly.

Also cap numpy<2.5 in the dependency specs: gdal_calc.py (used via
_average_or_rename) still relies on an in-place ndarray.shape
assignment that numpy 2.5 deprecated. The fix landed upstream
(OSGeo/gdal#15127) but hasn't shipped in a GDAL release yet, so pin
around it until it does.

Since this repo's filterwarnings = ["error"] promotes both warnings to
hard failures, they were taking down ~54 tests across the CRLB and
GDAL-averaging code paths.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@mirzaees
mirzaees merged commit 0323ce9 into main Oct 8, 2026
8 checks passed
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