Skip to content

Commit 513fb1f

Browse files
committed
python: update deps
1 parent 9018e04 commit 513fb1f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

python/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ mflow = ["microvmi/mflow"]
2828

2929
[dependencies]
3030
log = "0.4"
31-
env_logger = "0.9.0"
32-
thiserror = "1.0"
31+
env_logger = "0.11.6"
32+
thiserror = "2.0.11"
3333
microvmi = { path = "../" }
3434

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

3939
[package.metadata.release]
4040
# releases are managed by cargo release, but publication is done on the CI

python/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl MicrovmiExt {
6464
/// driver_type (int, optional): the hypervisor driver type on which the library should be initialized.
6565
/// init_param (DriverInitParamPy, optional): initialization parameters for driver initialization
6666
#[new]
67-
#[args(driver_type = "None", init_params = "None")]
67+
#[pyo3(signature = (driver_type=None, init_params=None))]
6868
fn new(driver_type: Option<u32>, init_params: Option<DriverInitParamsPy>) -> PyResult<Self> {
6969
info!("Microvmi Python init");
7070
debug!(

0 commit comments

Comments
 (0)