Bump the random group with 3 updates by dependabot[bot] · Pull Request #7371 · RustPython/RustPython
Bumps the random group with 3 updates: getrandom, rand and mt19937.
Updates getrandom from 0.3.4 to 0.4.2
Changelog
Sourced from getrandom's changelog.
0.4.2 - 2026-03-03
Changed
- Bump
r-efidependency to v6 #814Fixed
#810: rust-random/getrandom#810 #811: rust-random/getrandom#811 #814: rust-random/getrandom#814
0.4.1 - 2026-02-03
Fixed
- Documentation build on docs.rs #801
#801: rust-random/getrandom#801
0.4.0 - 2026-02-02
Added
RawOsErrortype alias #739SysRngbehind new featuresys_rng#751- WASIp3 support #779
extern_implopt-in backend #786 #794- Motor OS support #797
Changed
- Use Edition 2024 and MSRV 1.85 #749
#739: rust-random/getrandom#739 #749: rust-random/getrandom#749 #751: rust-random/getrandom#751 #779: rust-random/getrandom#779 #786: rust-random/getrandom#786 #794: rust-random/getrandom#794 #797: rust-random/getrandom#797
Commits
4d82673Release v0.4.2 (#821)158fdd4build(deps): bump the all-deps group with 3 updates (#818)5b0adccchangelog: fix Motor OS PR link (#816)f19d321changelog: move version links to relevant sections (#815)b83c779Avoid accessingerrnoon unexpected return values. (#810)3d1b151Updater-efito v6 (#814)73c17f7windows: check return value ofProcessPrng(#811)7589557Update Cargo.lock (#809)6dfd5cbUnify lazy types (#804)5e6b022Update Cargo.lock (#806)- Additional commits viewable in compare view
Updates rand from 0.9.2 to 0.10.0
Changelog
Sourced from rand's changelog.
[0.10.0] - 2026-02-08
Changes
- The dependency on
rand_chachahas been replaced with a dependency onchacha20. This changes the implementation behindStdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones inchacha20instead ofrand_chacha(#1642).- Rename fns
IndexedRandom::choose_multiple->sample,choose_multiple_array->sample_array,choose_multiple_weighted->sample_weighted, structSliceChooseIter->IndexedSamplesand fnsIteratorRandom::choose_multiple->sample,choose_multiple_fill->sample_fill(#1632)- Use Edition 2024 and MSRV 1.85 (#1653)
- Let
Fillbe implemented for element types, not sliceable types (#1652)- Fix
OsError::raw_os_erroron UEFI targets by returningOption<usize>(#1665)- Replace fn
TryRngCore::read_adapter(..) -> RngReadAdapterwith simpler structRngReader(#1669)- Remove fns
SeedableRng::from_os_rng,try_from_os_rng(#1674)- Remove
Clonesupport forStdRng,ReseedingRng(#1677)- Use
postcardinstead ofbincodeto test the serde feature (#1693)- Avoid excessive allocation in
IteratorRandom::samplewhenamountis much larger than iterator size (#1695)- Rename
os_rng->sys_rng,OsRng->SysRng,OsError->SysError(#1697)- Rename
Rng->RngExtas upstreamrand_corehas renamedRngCore->Rng(#1717)Additions
- Add fns
IndexedRandom::choose_iter,choose_weighted_iter(#1632)- Pub export
Xoshiro128PlusPlus,Xoshiro256PlusPlusprngs (#1649)- Pub export
ChaCha8Rng,ChaCha12Rng,ChaCha20Rngbehindchachafeature (#1659)- Fn
rand::make_rng() -> R where R: SeedableRng(#1734)Removals
- Removed
ReseedingRng(#1722)- Removed unused feature "nightly" (#1732)
- Removed feature
small_rng(#1732)#1632: rust-random/rand#1632 #1642: rust-random/rand#1642 #1649: rust-random/rand#1649 #1652: rust-random/rand#1652 #1653: rust-random/rand#1653 #1659: rust-random/rand#1659 #1665: rust-random/rand#1665 #1669: rust-random/rand#1669 #1674: rust-random/rand#1674 #1677: rust-random/rand#1677 #1693: rust-random/rand#1693 #1695: rust-random/rand#1695 #1697: rust-random/rand#1697 #1717: rust-random/rand#1717 #1722: rust-random/rand#1722 #1732: rust-random/rand#1732 #1734: rust-random/rand#1734
Commits
acc5f24Prepare v0.10.0 releases (#1729)95c5165Add fn rand::make_rng (#1734)146da58CHANGELOG: add PR links (#1738)8cacd6dREADME tweaks (#1737)28e3df8Update chacha20: use ChaChaCore directly; remove bytes_until_reseed field (#1...03db311Replace fn reseed_and_generate with try_to_reseedb14483eApply inline attr to fn generatefda8f74Remove bytes_until_reseed field213bb3bBump chacha20 to 0.10.0-rc.1172afe1eMinor tweaks; prepare v0.10.0-rc.9 (#1736)- Additional commits viewable in compare view
Updates mt19937 from 3.2.0 to 3.3.0
Commits
- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions