Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore(deps/rand): update to rand v0.9.0 #3574

Merged
merged 8 commits into from
Jan 28, 2025

Conversation

cratelyn
Copy link
Collaborator

@cratelyn cratelyn commented Jan 28, 2025

supersedes #3569.

this branch updates rand from 0.8.5 to 0.9.0.

note the changes to rand::distr::weighted::Error's variants. see rust-random/rand#1382, and rust-random/rand#1470. in particular, this change: https://github.com/rust-random/rand/pull/1382/files#diff-b0eb1b0ef894742b65e07f23af6cbeffae64ec8311adb6ea606603e978023e0cL116-R113

most other changes in this branch relate to the renaming of thread_rng() to rng(), and gen() to random().

dependabot bot and others added 7 commits January 28, 2025 10:38
Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 to 0.9.0.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: katelyn martin <kate@buoyant.io>
Signed-off-by: katelyn martin <kate@buoyant.io>
Signed-off-by: katelyn martin <kate@buoyant.io>
Signed-off-by: katelyn martin <kate@buoyant.io>
this addresses some ci errors related to duplicate dependencies:

```
error[duplicate]: found 2 duplicate entries for crate 'getrandom'
   ┌─ /github/workspace/Cargo.lock:75:1
   │
75 │ ╭ getrandom 0.2.15 registry+https://github.com/rust-lang/crates.io-index
76 │ │ getrandom 0.3.1 registry+https://github.com/rust-lang/crates.io-index
   │ ╰─────────────────────────────────────────────────────────────────────┘ lock entries
   │
```

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn requested review from olix0r and sfleen January 28, 2025 17:37
@cratelyn cratelyn marked this pull request as ready for review January 28, 2025 17:38
@cratelyn cratelyn requested a review from a team as a code owner January 28, 2025 17:38
linkerd/distribute/src/service/random.rs Outdated Show resolved Hide resolved
Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn merged commit 31d9e8f into main Jan 28, 2025
23 checks passed
@cratelyn cratelyn deleted the kate/dependabot.update-rand-0.9.0 branch January 28, 2025 21:31
@cratelyn
Copy link
Collaborator Author

the corresponding update to the control plane can be found in linkerd/linkerd2#13604.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants