Skip to content

Commit 0830d0d

Browse files
authored
update to PyO3 0.21 final (#1248)
1 parent 193f5d7 commit 0830d0d

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ include = [
2727
rust-version = "1.76"
2828

2929
[dependencies]
30-
pyo3 = { version = "0.21.0-beta.0", features = ["generate-import-lib", "num-bigint"] }
30+
pyo3 = { version = "0.21.0", features = ["generate-import-lib", "num-bigint"] }
3131
regex = "1.10.3"
3232
strum = { version = "0.25.0", features = ["derive"] }
3333
strum_macros = "0.26.1"
@@ -71,12 +71,12 @@ debug = true
7171
strip = false
7272

7373
[dev-dependencies]
74-
pyo3 = { version = "0.21.0-beta.0", features = ["auto-initialize"] }
74+
pyo3 = { version = "0.21.0", features = ["auto-initialize"] }
7575

7676
[build-dependencies]
7777
version_check = "0.9.4"
7878
# used where logic has to be version/distribution specific, e.g. pypy
79-
pyo3-build-config = { version = "0.21.0-beta.0" }
79+
pyo3-build-config = { version = "0.21.0" }
8080

8181
[lints.clippy]
8282
dbg_macro = "warn"

src/argument_markers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl ArgsKwargs {
3030
#[pymethods]
3131
impl ArgsKwargs {
3232
#[new]
33-
fn py_new(py: Python, args: &PyTuple, kwargs: Option<&Bound<'_, PyDict>>) -> Self {
33+
fn py_new(py: Python, args: &Bound<'_, PyTuple>, kwargs: Option<&Bound<'_, PyDict>>) -> Self {
3434
Self {
3535
args: args.into_py(py),
3636
kwargs: match kwargs {

0 commit comments

Comments
 (0)