Skip to content

Commit

Permalink
Bump version to 0.19 following PyO3's current release.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed May 31, 2023
1 parent 7e6babe commit b185b6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 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.19.0
- Add `PyUntypedArray` as an untyped base type for `PyArray` which can be used to inspect arguments before more targeted downcasts. This is accompanied by some methods like `dtype` and `shape` moving from `PyArray` to `PyUntypedArray`. They are still accessible though, as `PyArray` dereferences to `PyUntypedArray` via the `Deref` trait. ([#369](https://github.com/PyO3/rust-numpy/pull/369))
- Drop deprecated `PyArray::from_exact_iter` as it does not provide any benefits over `PyArray::from_iter`. ([#370](https://github.com/PyO3/rust-numpy/pull/370))

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "numpy"
version = "0.18.0"
version = "0.19.0"
authors = [
"The rust-numpy Project Developers",
"PyO3 Project and Contributors <https://github.com/PyO3>"
Expand Down
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.18", features = ["extension-module"] }
numpy = "0.18"
pyo3 = { version = "0.19", features = ["extension-module"] }
numpy = "0.19"
```

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

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

```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.18"
numpy = "0.19"
ndarray = "0.13"
```

Expand Down

0 comments on commit b185b6e

Please sign in to comment.