Skip to content

chore(deps): bump rand_distr from 0.5.1 to 0.6.0#20403

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/main/rand_distr-0.6.0
Closed

chore(deps): bump rand_distr from 0.5.1 to 0.6.0#20403
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/main/rand_distr-0.6.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 17, 2026

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

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@github-actions github-actions Bot added the core Core DataFusion crate label Feb 17, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/main/rand_distr-0.6.0 branch from c329de7 to 5382b1d Compare February 18, 2026 12:20
@dependabot dependabot Bot force-pushed the dependabot/cargo/main/rand_distr-0.6.0 branch from 5382b1d to be9d962 Compare February 28, 2026 10:47
@dependabot dependabot Bot force-pushed the dependabot/cargo/main/rand_distr-0.6.0 branch from be9d962 to c0664e7 Compare March 16, 2026 20:43
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 dependabot Bot force-pushed the dependabot/cargo/main/rand_distr-0.6.0 branch from c0664e7 to 6c58724 Compare March 16, 2026 20:45
zzcclp pushed a commit to zzcclp/arrow-datafusion that referenced this pull request Apr 23, 2026
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes #123` indicates that this PR will close issue #123.
-->

N/A

## Rationale for this change

<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->

Some PRs are being omitted from stale check because they were in a
cache, and the workflow appears to not have permission to delete cache
so they are forever stuck as unprocessed.

For example in this run:
https://github.com/apache/datafusion/actions/runs/24756695077/job/72431314533

Seeing this in logs:

```
[apache#20473]            issue skipped due being processed during the previous run
[apache#20460]            pull request skipped due being processed during the previous run
[apache#20448]            issue skipped due being processed during the previous run
[apache#20443]            issue skipped due being processed during the previous run
[apache#20435]            issue skipped due being processed during the previous run
[apache#20418]            issue skipped due being processed during the previous run
[apache#20417]            pull request skipped due being processed during the previous run
[apache#20416]            pull request skipped due being processed during the previous run
[apache#20403]            pull request skipped due being processed during the previous run
```

And at the end we see this warning:

```
Warning: Error delete _state: [403] Resource not accessible by integration - https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key
```

stale workflow uses a cache in case it hits the `operations-per-run`
limit meant to prevent API rate limiting (we have default of 30), so it
seems we previously hit this limit and some issues/PRs were cached, and
have never been uncached since so are never processed again. See:
https://github.com/actions/stale#operations-per-run

## What changes are included in this PR?

<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->

Give permission to stale workflow to run github actions (like delete
cache). See recommended permissions:

https://github.com/actions/stale#recommended-permissions

## Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->

## Are there any user-facing changes?

<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->

<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->
@Jefffrey
Copy link
Copy Markdown
Contributor

@Jefffrey Jefffrey closed this Apr 25, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 25, 2026

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/main/rand_distr-0.6.0 branch April 25, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-dependencies core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant