Skip to content

Commit a4169f1

Browse files
messenseadamreichold
authored andcommitted
Bump rust-numpy version to 0.20.0
1 parent 53f7499 commit a4169f1

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
- Unreleased
4+
5+
- v0.20.0
46
- Increase MSRV to 1.56 released in October 2021 and available in Debain 12, RHEL 9 and Alpine 3.17 following the same change for PyO3. ([#378](https://github.com/PyO3/rust-numpy/pull/378))
57
- Add support for ASCII (`PyFixedString<N>`) and Unicode (`PyFixedUnicode<N>`) string arrays, i.e. dtypes `SN` and `UN` where `N` is the number of characters. ([#378](https://github.com/PyO3/rust-numpy/pull/378))
68
- Add support for the `bfloat16` dtype by extending the optional integration with the `half` crate. Note that the `bfloat16` dtype is not part of NumPy itself so that usage requires third-party packages like Tensorflow. ([#381](https://github.com/PyO3/rust-numpy/pull/381))

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "numpy"
3-
version = "0.19.0"
3+
version = "0.20.0"
44
authors = [
55
"The rust-numpy Project Developers",
66
"PyO3 Project and Contributors <https://github.com/PyO3>"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ name = "rust_ext"
3838
crate-type = ["cdylib"]
3939

4040
[dependencies]
41-
pyo3 = { version = "0.19", features = ["extension-module"] }
42-
numpy = "0.19"
41+
pyo3 = { version = "0.20", features = ["extension-module"] }
42+
numpy = "0.20"
4343
```
4444

4545
```rust
@@ -93,8 +93,8 @@ fn rust_ext<'py>(_py: Python<'py>, m: &'py PyModule) -> PyResult<()> {
9393
name = "numpy-test"
9494

9595
[dependencies]
96-
pyo3 = { version = "0.19", features = ["auto-initialize"] }
97-
numpy = "0.19"
96+
pyo3 = { version = "0.20", features = ["auto-initialize"] }
97+
numpy = "0.20"
9898
```
9999

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

134134
```toml
135-
numpy = "0.19"
135+
numpy = "0.20"
136136
ndarray = "0.13"
137137
```
138138

0 commit comments

Comments
 (0)