Skip to content

ndarray-rand: update to rand 0.10 and rand_distr 0.6 - #1607

Merged
akern40 merged 1 commit into
rust-ndarray:masterfrom
SomeB1oody:update-rand-0.10
Oct 19, 2026
Merged

akern40 merged 1 commit into
rust-ndarray:masterfrom
SomeB1oody:update-rand-0.10

Conversation

@SomeB1oody

Copy link
Copy Markdown
Contributor

Closes #1590

Summary

Bumps rand 0.9 -> 0.10 and rand_distr 0.5 -> 0.6 across the workspace. The rand_isaac dev-dependency in ndarray-rand moves to 0.5 to match rand_core 0.10.

ndarray-rand version bump (need to publish)

ndarray-rand goes 0.16.0 -> 0.17.0. Even though its own code is unchanged, updates in rand and rand_distr are breaking changes and these 2 crates are publicly re-exported in ndarray-rand.

Tests (using crate MSRV 1.87.0)

  • cargo test -p ndarray-rand: 7 + 4 pass
  • cargo test -p ndarray-rand --features quickcheck: 8 + 4 pass
  • Other workspace-wide tests also pass

MSRV

No Change

@SomeB1oody

Copy link
Copy Markdown
Contributor Author

Hi @akern40, gentle ping on this one. This PR is not a heavy change, just a dependency version bump. CI hasn't run yet since it needs workflow approval for first-time contributors. Happy to make any changes needed. Thanks!

@nilgoyette

Copy link
Copy Markdown
Collaborator

@akern40 I was about to merge this, but the cicd seems to be stuck at "conclusion".

@akern40

akern40 commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Hey sorry everyone, life had gotten a little busy over the past few months but I am trying to dedicate more time here again! I am going through and rebasing PRs to trigger CI, please stand by and I will get this merged

No changes needed in ndarray-rand itself.

Changes in `crates/numeric-tests/tests/accuracy.rs`:
- Import `RngExt` for `random_range`.
- Replace the removed `SmallRng::from_os_rng` with `SmallRng::from_rng(&mut rand::rng())`.

bump ndarray-rand to 0.17.0
@akern40
akern40 merged commit c9fe937 into rust-ndarray:master Oct 19, 2026
15 checks passed
@akern40

akern40 commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Thank you for your contributions and your patience!

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.

Support for rand 0.10

3 participants