Skip to content

Commit 2a4bb67

Browse files
committed
Bump PyO3 dependency to version 0.16.
1 parent 391c64c commit 2a4bb67

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
- Unreleased
4+
- Bump PyO3 version to 0.16 ([#259](https://github.com/PyO3/rust-numpy/pull/212))
45
- Support object arrays ([#216](https://github.com/PyO3/rust-numpy/pull/216))
56
- Support borrowing arrays that are part of other Python objects via `PyArray::borrow_from_array` ([#230](https://github.com/PyO3/rust-numpy/pull/216))
67
- Fixed downcasting ignoring element type and dimensionality ([#265](https://github.com/PyO3/rust-numpy/pull/265))

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ license = "BSD-2-Clause"
1616

1717
[dependencies]
1818
libc = "0.2"
19-
num-complex = ">= 0.2, <= 0.4"
19+
num-complex = ">= 0.2, < 0.5"
2020
num-traits = "0.2"
2121
ndarray = ">= 0.13, < 0.16"
22-
pyo3 = { version = "0.15", default-features = false }
22+
pyo3 = { version = "0.16", default-features = false }
2323

2424
[dev-dependencies]
25-
pyo3 = { version = "0.15", features = ["auto-initialize"] }
25+
pyo3 = { version = "0.16", features = ["auto-initialize"] }
2626

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

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Rust bindings for the NumPy C-API.
1515
## Requirements
1616
- Rust >= 1.48.0
1717
- Basically, our MSRV follows the one of [PyO3](https://github.com/PyO3/pyo3)
18-
- Python >= 3.6
19-
- Python 3.5 support is dropped from 0.13
18+
- Python >= 3.7
19+
- Python 3.6 support was dropped from 0.16
2020
- Some Rust libraries
2121
- [ndarray](https://github.com/rust-ndarray/ndarray) for Rust-side matrix library
2222
- [PyO3](https://github.com/PyO3/pyo3) for Python bindings

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 = { version = "0.16", 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 = { version = "0.16", features = ["extension-module"] }
1313
numpy = { path = "../.." }
1414
ndarray = { version = "0.15", features = ["rayon", "blas"] }
1515
blas-src = { version = "0.8", features = ["openblas"] }

examples/simple/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 = { version = "0.16", features = ["extension-module"] }
1313
numpy = { path = "../.." }

0 commit comments

Comments
 (0)