Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to PyO3 0.21 final #1248

Merged
merged 1 commit into from Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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