Skip to content

Commit

Permalink
switch to pyo3's 0.21 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Icxolu committed Mar 28, 2024
1 parent 89a7aa3 commit 12e6cd4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ num-complex = ">= 0.2, < 0.5"
num-integer = "0.1"
num-traits = "0.2"
ndarray = ">= 0.13, < 0.16"
pyo3 = { version = "0.21.0-beta", default-features = false, features = ["gil-refs", "macros"] }
pyo3 = { version = "0.21.0", default-features = false, features = ["gil-refs", "macros"] }
rustc-hash = "1.1"

[dev-dependencies]
pyo3 = { version = "0.21.0-beta", default-features = false, features = ["auto-initialize", "gil-refs"] }
pyo3 = { version = "0.21.0", default-features = false, features = ["auto-initialize", "gil-refs"] }
nalgebra = { version = "0.32", default-features = false, features = ["std"] }

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion examples/linalg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "rust_linalg"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.21.0-beta", features = ["extension-module"] }
pyo3 = { version = "0.21.0", features = ["extension-module"] }
numpy = { path = "../.." }
ndarray-linalg = { version = "0.14.1", features = ["openblas-system"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/parallel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "rust_parallel"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.21.0-beta", features = ["extension-module", "multiple-pymethods"] }
pyo3 = { version = "0.21.0", features = ["extension-module", "multiple-pymethods"] }
numpy = { path = "../.." }
ndarray = { version = "0.15", features = ["rayon", "blas"] }
blas-src = { version = "0.8", features = ["openblas"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "rust_ext"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.21.0-beta", features = ["extension-module", "abi3-py37"] }
pyo3 = { version = "0.21.0", features = ["extension-module", "abi3-py37"] }
numpy = { path = "../.." }

[workspace]

0 comments on commit 12e6cd4

Please sign in to comment.