Skip to content

Commit 58cf42d

Browse files
authored
Merge pull request #256 from Wenzel/dependabot/cargo/pyo3-0.24.1
build(deps): bump pyo3 from 0.21.2 to 0.24.1
2 parents e281389 + 0444880 commit 58cf42d

File tree

3 files changed

+21
-53
lines changed

3 files changed

+21
-53
lines changed

Cargo.lock

Lines changed: 19 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ thiserror = "2.0.11"
3333
microvmi = { path = "../" }
3434

3535
[dependencies.pyo3]
36-
version = "0.21.0"
36+
version = "0.24.1"
3737
features = ["extension-module", "abi3-py39"]
3838

3939
[package.metadata.release]

python/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl MicrovmiExt {
118118
size: usize,
119119
) -> PyResult<(Bound<'p, PyBytes>, u64)> {
120120
let mut bytes_read: u64 = 0;
121-
let pybuffer = PyBytes::new_bound_with(py, size, |buffer| {
121+
let pybuffer = PyBytes::new_with(py, size, |buffer| {
122122
self.driver
123123
.read_physical(paddr, buffer, &mut bytes_read)
124124
.ok();

0 commit comments

Comments
 (0)