Skip to content

build(deps): Bump ndarray from 0.15.6 to 0.17.2 in /frontend/df-wasm - #2

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/frontend/df-wasm/ndarray-0.17.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/frontend/df-wasm/ndarray-0.17.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps ndarray from 0.15.6 to 0.17.2.

Release notes

Sourced from ndarray's releases.

ndarray-rand 0.16.0

This release of ndarray-rand adds compatibility for the new ArrayRef type in ndarray 0.17. It adds the the new RandomRefExt trait, providing sample_axis and sample_axis_using methods on ArrayRef.

This release also bumps the requirements for rand to 0.9.0 and for rand_distr to 0.5.0.

Changelog

Sourced from ndarray's changelog.

Version 0.17.2 (2026-01-10)

Version 0.17.2 is mainly a patch fix to bugs related to the new ArrayRef implementation.

In addition, ndarray has reduced its packaging footprint to ease supply chain reviews (and shrink the binary size!). A special thanks to @​SwishSwushPow and @​weiznich for bringing this to our attention and making the necessary changes.

Added

Fixed

Documentation

Version 0.17.1 (2025-11-02)

Version 0.17.1 provides a patch to fix the originally-unsound implementation of the new array reference types.

The reference types are now all unsized. Practically speaking, this has one major implication: writing functions and traits that accept RawRef and LayoutRef will now need a + ?Sized bound to work ergonomically with ArrayRef. For example, the release notes for 0.17.0 said

Reading / Writing Shape: LayoutRef<A, D>

LayoutRef lets functions view or modify shape/stride information without touching data. This replaces verbose signatures like:

fn alter_view<S>(a: &mut ArrayBase<S, Ix1>)
where S: Data<Elem = f64>;

Use AsRef / AsMut for best compatibility:

fn alter_shape<T>(a: &mut T)
where T: AsMut<LayoutRef<f64>>;

However, these functions now need an additional bound to allow for callers to pass in &ArrayRef types:

fn alter_shape<T>(a: &mut T)
where T: AsMut<LayoutRef<f64>> + ?Sized; // Added bound here

A huge thank you to Sarah Quiñones (@​sarah-quinones) for catching the original unsound bug and helping to fix it. She does truly excellent work with faer-rs; check it out!

Version 0.17.0 (2025-10-14) [YANKED]

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Fossferous

Copy link
Copy Markdown
Owner

recheck

Fossferous added a commit that referenced this pull request Sep 8, 2026
Dependabot has offered ndarray 0.15 -> 0.17 since July. The manifest already
said why it must not move; now it says so with the evidence, because a comment
asserting a constraint invites the next person to try it anyway.

Tried it: deep_filter is pinned at tag v0.5.6 and brings its own ndarray, so
two incompatible ArrayView2 types meet at
`self.inner.process(noisy.view(), enh.view_mut())` and df-wasm stops compiling
for wasm32. The pin can only move when deep_filter's does.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Bumps [ndarray](https://github.com/rust-ndarray/ndarray) from 0.15.6 to 0.17.2.
- [Release notes](https://github.com/rust-ndarray/ndarray/releases)
- [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md)
- [Commits](rust-ndarray/ndarray@0.15.6...0.17.2)

---
updated-dependencies:
- dependency-name: ndarray
  dependency-version: 0.17.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/frontend/df-wasm/ndarray-0.17.2 branch from 4a0df86 to 854d9a6 Compare September 8, 2026 07:21
@Fossferous

Copy link
Copy Markdown
Owner

Tried on 2026-09-08 and it cannot be taken yet.

deep_filter is pinned at tag v0.5.6 and brings its own ndarray, so bumping this crate to 0.17 gives two incompatible ArrayView2 types and df-wasm/src/lib.rs stops compiling at self.inner.process(noisy.view(), enh.view_mut()).

The pin can only move when deep_filter's does. The manifest now records that, and docs/DEPENDENCY_UPDATES.md has the full list of what is held and why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant