diff --git a/Cargo.lock b/Cargo.lock index 910e9b456..cb04a926b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -329,9 +329,9 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.21.0-beta.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d0c41d899f822e5f39186d6da130a822a0a43edb19992b51bf4ef6cd0b4cfd1" +checksum = "a02a88a17e74cadbc8ce77855e1d6c8ad0ab82901a4a9b5046bd01c1c0bd95cd" dependencies = [ "cfg-if", "indoc", @@ -348,9 +348,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.21.0-beta.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5509c2aa78c7e770077e41ba86f806e60dcee812e924ccb2d6fe78c0a0128ce2" +checksum = "a5eb0b6ecba38961f6f4bd6cd5906dfab3cd426ff37b2eed5771006aa31656f1" dependencies = [ "once_cell", "python3-dll-a", @@ -359,9 +359,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.21.0-beta.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6bb234a86ed619a661f3bb3c2493aaff9cb937e33e198d17f5f20a15881e155" +checksum = "ba8a6e48a29b5d22e4fdaf132d8ba8d3203ee9f06362d48f244346902a594ec3" dependencies = [ "libc", "pyo3-build-config", @@ -369,9 +369,9 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.21.0-beta.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0b787de2c6832eb1eb393c9f82f976a5a87bda979780d9b853878846a8d2e4b" +checksum = "4e80493c5965f94a747d0782a607b2328a4eea5391327b152b00e2f3b001cede" dependencies = [ "proc-macro2", "pyo3-macros-backend", @@ -381,9 +381,9 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" -version = "0.21.0-beta.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e3b7beed357786d2afe845871964e824ad8af0df38a403f7d01cdc81aadb211" +checksum = "fcd7d86f42004025200e12a6a8119bd878329e6fddef8178eaafa4e4b5906c5b" dependencies = [ "heck", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 46b1ed4ca..c0022a3cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ include = [ rust-version = "1.76" [dependencies] -pyo3 = { version = "0.21.0-beta.0", features = ["generate-import-lib", "num-bigint"] } +pyo3 = { version = "0.21.0", features = ["generate-import-lib", "num-bigint"] } regex = "1.10.3" strum = { version = "0.25.0", features = ["derive"] } strum_macros = "0.26.1" @@ -71,12 +71,12 @@ debug = true strip = false [dev-dependencies] -pyo3 = { version = "0.21.0-beta.0", features = ["auto-initialize"] } +pyo3 = { version = "0.21.0", features = ["auto-initialize"] } [build-dependencies] version_check = "0.9.4" # used where logic has to be version/distribution specific, e.g. pypy -pyo3-build-config = { version = "0.21.0-beta.0" } +pyo3-build-config = { version = "0.21.0" } [lints.clippy] dbg_macro = "warn" diff --git a/src/argument_markers.rs b/src/argument_markers.rs index b3ca97c8d..4a9e80bbd 100644 --- a/src/argument_markers.rs +++ b/src/argument_markers.rs @@ -30,7 +30,7 @@ impl ArgsKwargs { #[pymethods] impl ArgsKwargs { #[new] - fn py_new(py: Python, args: &PyTuple, kwargs: Option<&Bound<'_, PyDict>>) -> Self { + fn py_new(py: Python, args: &Bound<'_, PyTuple>, kwargs: Option<&Bound<'_, PyDict>>) -> Self { Self { args: args.into_py(py), kwargs: match kwargs {