fix(ci): replace deprecated array.shape assignment for NumPy 2.5#7384
Merged
BubbleCal merged 1 commit intoJun 22, 2026
Merged
Conversation
Contributor
|
+1 |
Contributor
BubbleCal
approved these changes
Jun 22, 2026
Contributor
|
Thanks! |
BubbleCal
added a commit
that referenced
this pull request
Jun 30, 2026
## Summary This PR fixes CI-only issues on the `release/v8.0` branch so the v8 backport validation PRs can run against a healthy baseline. ## What changed - Backports #7384 to replace deprecated NumPy 2.5 `array.shape = -1` assignments with `reshape(-1)`. - Pins the Rust `linux-build` coverage job to `nightly-2026-06-24`, matching the nightly that passed for `v8.0.0-rc.2`. ## Why - The Python failures on #7519 match the existing `release/v8.0` rc2 failure mode: NumPy 2.5 emits `DeprecationWarning` for setting `array.shape`, and pytest treats warnings as errors. - The Rust `linux-build` failure on #7519 reproduces after rerun and is a nightly rustc ICE with `nightly-2026-06-30`; rc2 passed with `nightly-2026-06-24`. ## Validation - `cargo fmt --all` - `git diff --check origin/release/v8.0...HEAD` - `cargo fmt --all --check` Local Python targeted validation was attempted with `uv run pytest python/tests/test_indices.py -q`, but it stalled in the editable `pylance` build step before reaching pytest output. The PR CI will run the full Python matrix. --------- Co-authored-by: YueZhang <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblock CI