Skip to content

chore: Update dependencies (etcd-client, tonic, tokio) - #20

Merged
jopemachine merged 2 commits into
mainfrom
chore/update-crates-with-advisories
Nov 6, 2026
Merged

jopemachine merged 2 commits into
mainfrom
chore/update-crates-with-advisories

Conversation

@jopemachine

@jopemachine jopemachine commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

📚 Stacked PRs

Part of the etcd TLS work (BA-8980). Merge in order (bottom-up):

  1. 👉 chore: Update dependencies (etcd-client, tonic, tokio) #20 — chore: update dependencies ← you are here
  2. feat: Add TLS connection options #19 — feat(BA-8980): TLS connection options

Summary

  • Update etcd-client 0.16.1 to 0.21.1, tonic 0.13.1 to 0.14.9 and tokio 1.46.1 to 1.54.1, and refresh the rest of Cargo.lock and uv.lock. Building now needs rustc 1.88 because of tonic.
  • This also picks up the fixes for RUSTSEC-2026-0190 (anyhow), RUSTSEC-2026-0007 (bytes), RUSTSEC-2026-0258 (h2), RUSTSEC-2025-0047 (slab) and RUSTSEC-2026-0386 (tokio), and removes pin-utils (RUSTSEC-2026-0441).
  • Client::watch in etcd-client no longer waits for the server to create the watch. Watch now reads the created response itself, so ready_event still fires after the watch exists.
  • Error::InvalidHeaderValue became InvalidMetadataValue and still raises InvalidHeaderValueError. The new Error::Internal raises ClientError.
  • Remove tokio-stream, which is no longer used.

Not in this PR:

  • pyo3 stays at 0.27.2 (RUSTSEC-2026-0176, RUSTSEC-2026-0177). Moving to 0.30 needs lablup/pyo3-async-runtimes to move first. src and the vendored crate do not call nth, nth_back or new_closure.
  • ruff stays at 0.14.10. Newer versions report 55 findings in existing tests.

Test plan

  • Full test suite, three runs on rustc 1.88
  • ruff check, mypy
  • Wheel builds. The release jobs run on tags only

🤖 Generated with Claude Code

jopemachine and others added 2 commits November 6, 2026 15:56
Update `anyhow`, `bytes`, `h2`, `slab` and `tokio` to versions that contain
the fixes for their RustSec advisories. Only `Cargo.lock` changes.

`pyo3` stays at 0.27.2: the fix is in 0.29, which also needs the vendored
`pyo3-async-runtimes` to move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Update `etcd-client` to 0.21 and `tonic` to 0.14, and refresh `Cargo.lock`
and `uv.lock`. `tonic` 0.14 needs rustc 1.88.

`Client::watch` no longer waits for the server to create the watch, and
`ready_event` promises that it has been created, so `Watch` now reads the
created response itself.

`pyo3` stays at 0.27 until the vendored `pyo3-async-runtimes` moves to 0.30.
`ruff` stays at 0.14 because newer versions report 55 findings in existing
tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine jopemachine changed the title chore: Update locked crates with known advisories chore: Update dependencies (etcd-client, tonic, tokio) Nov 6, 2026
@jopemachine
jopemachine marked this pull request as ready for review November 6, 2026 07:16
@jopemachine jopemachine mentioned this pull request Nov 6, 2026
2 of 3 tasks
@jopemachine
jopemachine merged commit 11008a3 into main Nov 6, 2026
17 checks passed
@jopemachine
jopemachine deleted the chore/update-crates-with-advisories branch November 6, 2026 07:27
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