Skip to content

chore: bump rand_distr from 0.5.1 to 0.6.0 - #24

Closed
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/cargo/rand_distr-0.6.0
Closed

dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/cargo/rand_distr-0.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor

Bumps rand_distr from 0.5.1 to 0.6.0.

Changelog

Sourced from rand_distr's changelog.

[0.6.0] — 2026-02-10

  • Bump to MSRV 1.85.0 and Edition 2024 in line with rand (#28)
  • Update rand to version 0.10.0 (#31, #48)

Additions

  • MultiDistribution trait to sample more efficiently from multi-dimensional distributions (#18)
  • Add WeightedAliasIndex::weights() to reconstruct the original weights in O(n) (#25)
  • ConstMultiDistribution trait as support for fixed-dimension distributions (#29)

Changes

  • Moved Dirichlet into the new multi module and implement MultiDistribution for it (#18)
  • Dirichlet no longer uses const generics, which means that its size is not required at compile time. Essentially a revert of [rand#1292]. (#30)

Fixes

  • Fix Geometric::new for small p > 0 where 1 - p rounds to 1 (#36)
  • Use direct-minimal-versions (#38)
  • Fix panic in FisherF::new on almost zero parameters (#39)
  • Fix panic in NormalInverseGaussian::new with very large alpha; this is a Value-breaking change (#40)
  • Fix hang and debug assertion in Zipf::new on invalid parameters (#41)
  • Fix panic in Binomial::sample with n ≥ 2^63; this is a Value-breaking change (#43)
  • Error instead of producing -inf output for Exp when lambda is -0.0 (#44)
  • Avoid returning NaN from Gamma::sample; this is a Value-breaking change and also affects ChiSquared and Dirichlet (#46)
Commits
  • 61d08aa Update rand 0.10 (#50)
  • c97a8f5 Merge pull request #46 from mstoeckl/gamma-avoid-nan
  • df52389 Merge pull request #51 from rust-random/push-qyyzynmpkuuo
  • 35ecffe CHANGELOG fixes
  • 06f586e Merge pull request #48 from mstoeckl/update-rand
  • 7540326 Merge pull request #49 from rust-random/push-kzzruutkmsxs
  • a101e4e Add PR links to the CHANGELOG
  • df2bae8 Update rand dependency to latest rc
  • be28239 Merge pull request #41 from mstoeckl/zipf-edge-case
  • 9a8000b Avoid hangs and debug asserts on invalid parameters for Zipf
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rand_distr](https://github.com/rust-random/rand_distr) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/rust-random/rand_distr/releases)
- [Changelog](https://github.com/rust-random/rand_distr/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand_distr@0.5.1...0.6.0)

---
updated-dependencies:
- dependency-name: rand_distr
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@git-mind-pr-guardian

Copy link
Copy Markdown

GitMind PR Review

{'pr_url': '#24', 'repo': 'Ayyankhan101/Transformer-In-Rust', 'pr_num': '24', 'title': 'chore: bump rand_distr from 0.5.1 to 0.6.0', 'author': 'dependabot[bot]', 'additions': 58, 'deletions': 15, 'changed_files': 2, 'review': '## Summary\nAutomatic review could not be generated — please review the diff manually.\n\n## Issues\nNo significant issues found.\n\n## Verdict\n💬 NEEDS DISCUSSION\nThe automated review failed; human review required.'}


Auto-generated by GitMind — AI-powered code analysis.

@git-mind-pr-guardian

Copy link
Copy Markdown

GitMind PR Review

{'pr_url': '#24', 'repo': 'Ayyankhan101/Transformer-In-Rust', 'pr_num': '24', 'title': 'chore: bump rand_distr from 0.5.1 to 0.6.0', 'author': 'dependabot[bot]', 'additions': 58, 'deletions': 15, 'changed_files': 2, 'review': '## Summary\nVersion mismatch between rand and rand_distr after bump; multiple rand versions are introduced.\n\n## Issues\nCargo.toml:29 — [HIGH] rand version pin is outdated — rand_distr 0.6.0 requires rand >= 0.10.0, but Cargo.toml still pins rand = "0.9". This results in both rand 0.9.5 and 0.10.2 being compiled (see Cargo.lock), which can cause build failures or runtime incompatibilities.\n\n## Verdict\n⚠️ REQUEST CHANGES\nThe dependency version conflict must be resolved by updating rand to 0.10 (or a compatible range) and verifying that the codebase builds and passes tests with the new version.'}


Auto-generated by GitMind — AI-powered code analysis.

Ayyankhan101 added a commit that referenced this pull request Sep 13, 2026
candle-core still depends on rand 0.9 / rand_distr 0.5, so both major
lines coexist in the lockfile. Call sites move to RngExt and
rand::make_rng::<StdRng>() in place of from_os_rng.

Supersedes Dependabot #18 and #24.
@dependabot @github

dependabot Bot commented on behalf of github Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/rand_distr-0.6.0 branch September 13, 2026 10:10
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