Skip to content

Commit 1041c53

Browse files
committed
Bump README/CI ndarray versions
1 parent b4df5a4 commit 1041c53

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ jobs:
160160
cargo_lock = toml.load("Cargo.lock")
161161
for pkg in cargo_lock["package"]:
162162
pkg_id = pkg["name"] + ":" + pkg["version"]
163-
if pkg["name"] == "ndarray" and pkg["version"] != "0.13.1":
164-
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "0.13.1"], check=True)
163+
if pkg["name"] == "ndarray" and pkg["version"] != "0.15.6":
164+
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "0.15.6"], check=True)
165165
elif pkg["name"] == "parking_lot" and pkg["version"] != "0.11.2":
166166
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "0.11.2"], check=True)
167167
elif pkg["name"] == "once_cell" and pkg["version"] != "1.14.0":

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,17 @@ For example, if you specify the following dependencies
133133

134134
```toml
135135
numpy = "0.21"
136-
ndarray = "0.13"
136+
ndarray = "0.15"
137137
```
138138

139-
this will currently depend on both version `0.13.1` and `0.15.3` of `ndarray` by default
140-
even though `0.13.1` is within the range `>= 0.13, < 0.16`. To fix this, you can run
139+
this will currently depend on both version `0.15.6` and `0.16.1` of `ndarray` by default
140+
even though `0.15.6` is within the range `>= 0.15, < 0.17`. To fix this, you can run
141141

142142
```sh
143-
cargo update --package ndarray:0.15.3 --precise 0.13.1
143+
cargo update --package ndarray:0.16.1 --precise 0.15.6
144144
```
145145

146-
to achieve a single dependency on version `0.13.1` of `ndarray`.
146+
to achieve a single dependency on version `0.15.6` of `ndarray`.
147147

148148
## Contributing
149149

0 commit comments

Comments
 (0)