Bump dependencies: pyo3, rusqlite, rand#1107
Merged
cberner merged 1 commit intocberner:masterfrom Feb 15, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From this report, I noticed that a handful of dependencies are outdated, so I updated some, starting from the simplest.
No behavior change, and minimal code change was required.
Changes Summary
Dependency Bumps
rand[dev-dependencies]rusqlite[dependencies]pyo3[dependencies]pyo3-build-config[build-dependencies]Code Adjustments (required by
rand0.9 -> 0.10 API change)In
rand0.10, methodsrandom(),random_range(), andrandom_bool()moved from theRngtrait to the newRngExttrait. Two files updated:tests/integration_tests.rs:use rand::Rng->use rand::RngExtsrc/tree_store/page_store/bitmap.rs:use rand::{Rng, SeedableRng}->use rand::{RngExt, SeedableRng}Files Changed (5 total)
Cargo.toml- bumprandcrates/redb-bench/Cargo.toml- bumprusqlitecrates/redb-python/Cargo.toml- bumppyo3+pyo3-build-configsrc/tree_store/page_store/bitmap.rs-rand::Rng->rand::RngExt(test code)tests/integration_tests.rs-rand::Rng->rand::RngExtVerification
All checks performed with
RUSTFLAGS="--deny warnings".redb-bench: Could not build locally due to WSL2 cross-filesystem permission errors in native C library build scripts (
libsqlite3-sys,lz4-sys,librocksdb-sys). This is an environment limitation, not a code issue. CI runners on native Ubuntu/macOS/Windows will build this crate without issue. The Rust-levelcargo checkfor the bench crate itself succeeded (the failure is only in the C library linking phase).redb-python: Compilation and clippy verified. Full Python wrapper tests (
just test_py)require CPython 3.12 + maturin which will run in CI.
pyo3 0.24 -> 0.28: No code changes needed;
abi3-py37feature andextension-modulefeature both compile cleanly.
rusqlite 0.37 -> 0.38: No code changes needed in the benchmark crate.