Skip to content

Commit 296815c

Browse files
committed
WIP: Temporarily replace PyO3 version by Git dependency.
1 parent ab2d214 commit 296815c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ libc = "0.2"
1919
num-complex = ">= 0.2, <= 0.4"
2020
num-traits = "0.2"
2121
ndarray = ">= 0.13, < 0.16"
22-
pyo3 = { version = "0.15", default-features = false }
22+
pyo3 = { git = "https://github.com/PyO3/pyo3.git", branch = "main", default-features = false }
2323

2424
[dev-dependencies]
25-
pyo3 = { version = "0.15", features = ["auto-initialize"] }
25+
pyo3 = { git = "https://github.com/PyO3/pyo3.git", branch = "main", features = ["auto-initialize"] }
2626

2727
[workspace]
2828
members = ["examples/*"]

examples/linalg/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ name = "rust_linalg"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.15", features = ["extension-module"] }
12+
pyo3 = { git = "https://github.com/PyO3/pyo3.git", branch = "main", features = ["extension-module"] }
1313
numpy = { path = "../.." }
1414
ndarray-linalg = { version = "0.14.1", features = ["openblas-system"] }

examples/parallel/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "rust_parallel"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.15", features = ["extension-module"] }
12+
pyo3 = { git = "https://github.com/PyO3/pyo3.git", branch = "main", features = ["extension-module"] }
1313
numpy = { path = "../.." }
1414
ndarray = { version = "0.15", features = ["rayon", "blas"] }
1515
blas-src = { version = "0.8", features = ["openblas"] }

examples/simple-extension/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ name = "rust_ext"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.15", features = ["extension-module"] }
12+
pyo3 = { git = "https://github.com/PyO3/pyo3.git", branch = "main", features = ["extension-module"] }
1313
numpy = { path = "../.." }

0 commit comments

Comments
 (0)