Bump pyo3 from 0.22.6 to 0.28.3 - #176
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Conversation
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.6 to 0.28.3. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](PyO3/pyo3@v0.22.6...v0.28.3) --- updated-dependencies: - dependency-name: pyo3 dependency-version: 0.28.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/cargo/pyo3-0.28.3
branch
from
May 21, 2026 16:33
8347dc6 to
3521075
Compare
10 tasks
Owner
Contributor
Author
|
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
zhangfengcdt
added a commit
that referenced
this pull request
May 23, 2026
Combined dependency upgrade addressing #172, #173, #174, #175, #176. pyo3 0.22 → 0.28: - `PyBytes::new_bound` / `PyDict::new_bound` / `PyList::new_bound` / `PyList::empty_bound` → unsuffixed `new` / `empty` (Bound is now the default). `PyList::new` is now fallible (returns `PyResult`), so call sites add `?`. - `py.allow_threads(..)` → `py.detach(..)` and `Python::with_gil(..)` → `Python::attach(..)` (0.28 rename). - `value.into_py(py)` → `value.into_py_any(py).unwrap()` via the new `IntoPyObjectExt` trait. - `obj.downcast::<T>()` → `obj.cast::<T>()` on `&Bound<PyAny>`. - Five `#[pyclass]` types that derive `Clone` opt-in to the legacy `FromPyObject` derive via `from_py_object` to avoid the 0.28 deprecation warning. bincode 1.3 → 2.0: - Dependabot proposed 3.0.0, which is an xkcd-2347 placeholder crate (`compile_error!`). Targeted 2.0 instead — the real latest stable. - Added thin `crate::serde_bincode` module wrapping `bincode::serde::encode_to_vec` / `decode_from_slice` with `bincode::config::legacy()` so the on-disk format stays byte-compatible with what 1.3 produced (git blobs, RocksDB rows, and proximity index snapshots written by older versions still round-trip). - `bincode::Error` is gone in 2.x. `GitKvError::SerializationError` splits into `SerializationEncodeError(EncodeError)` and `SerializationDecodeError(DecodeError)`; `StorageError::Serialization` likewise splits into `SerializationEncode` / `SerializationDecode`. lru 0.16 → 0.18, uuid 1.0 → 1.23, assert_cmd 2.0 → 2.2: drop-in. Verified: cargo build --all, cargo clippy with each feature flag set (default / +rocksdb_storage +proximity +proximity_text / python / python +proximity +proximity_text +rocksdb_storage), and the full `git sql` and `git sql rocksdb_storage proximity proximity_text` test suites all pass. maturin build with `python sql` produces a working wheel that round-trips basic ops; 21 of the 22 collected pre-rocksdb Python tests pass (the 1 setup error in test_sql is an unrelated pre-existing missing `git init` in the temp dir).
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.
Bumps pyo3 from 0.22.6 to 0.28.3.
Release notes
Sourced from pyo3's releases.
... (truncated)
Changelog
Sourced from pyo3's changelog.
... (truncated)
Commits
743af64release: 0.28.32042b4cfix deadlock when initializing enum viainto_pyobject()(#5928)0157247ci: update UI tests for Rust 1.94 (#5859)e234f8aUpdate getting-started.md (#5899)c06848dfix ffi-check in 3.15.0a7 (#5873)83f4283remove unusedtry_trait_v2feature when enabling thenightlyfeature (#5868)0de57edFix unsoundness inPyBytesWriter::write_vectored(#5907)49cd13ffixes #5900 -- address race condition with initialization and site.py loading...c90d163[fix] Fixstd::ffiimport for_Py_NegativeRefcount(#5847)b79d725fix(pyo3-macros): allow pyclass named Probe (#5837)