Skip to content

Commit

Permalink
Bump our version to 0.17.0 in parallel to PyO3's 0.17.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Aug 24, 2022
1 parent 251bfde commit 52d70ca
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

- Unreleased

- v0.17.0
- Add dynamic borrow checking to safely construct references into the interior of NumPy arrays. ([#274](https://github.com/PyO3/rust-numpy/pull/274))
- The deprecated iterator builders `NpySingleIterBuilder::{readonly,readwrite}` and `NpyMultiIterBuilder::add_{readonly,readwrite}` now take referencces to `PyReadonlyArray` and `PyReadwriteArray` instead of consuming them.
- The destructive `PyArray::resize` method is now unsafe if used without an instance of `PyReadwriteArray`. ([#302](https://github.com/PyO3/rust-numpy/pull/302))
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "numpy"
version = "0.16.2"
version = "0.17.0"
authors = [
"The rust-numpy Project Developers",
"PyO3 Project and Contributors <https://github.com/PyO3>"
Expand All @@ -22,10 +22,10 @@ num-complex = ">= 0.2, < 0.5"
num-integer = "0.1"
num-traits = "0.2"
ndarray = ">= 0.13, < 0.16"
pyo3 = { version = "0.16", default-features = false, features = ["macros"] }
pyo3 = { version = "0.17", default-features = false, features = ["macros"] }

[dev-dependencies]
pyo3 = { version = "0.16", default-features = false, features = ["auto-initialize"] }
pyo3 = { version = "0.17", default-features = false, features = ["auto-initialize"] }

[package.metadata.docs.rs]
all-features = true
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ name = "rust_ext"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.16", features = ["extension-module"] }
numpy = "0.16"
pyo3 = { version = "0.17", features = ["extension-module"] }
numpy = "0.17"
```

```rust
Expand Down Expand Up @@ -93,8 +93,8 @@ fn rust_ext(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
name = "numpy-test"

[dependencies]
pyo3 = { version = "0.16", features = ["auto-initialize"] }
numpy = "0.16"
pyo3 = { version = "0.17", features = ["auto-initialize"] }
numpy = "0.17"
```

```rust
Expand Down Expand Up @@ -132,7 +132,7 @@ on anything but that exact range. It can therefore be necessary to manually unif
For example, if you specify the following dependencies

```toml
numpy = "0.16"
numpy = "0.17"
ndarray = "0.13"
```

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.16", features = ["extension-module"] }
pyo3 = { version = "0.17", 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.16", features = ["extension-module", "multiple-pymethods"] }
pyo3 = { version = "0.17", 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.16", features = ["extension-module", "abi3-py37"] }
pyo3 = { version = "0.17", features = ["extension-module", "abi3-py37"] }
numpy = { path = "../.." }

[workspace]

0 comments on commit 52d70ca

Please sign in to comment.