Skip to content

Commit

Permalink
update to PyO3 0.21 final
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Mar 26, 2024
1 parent 193f5d7 commit f6175de
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/argument_markers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f6175de

Please sign in to comment.