Skip to content

Commit 7153069

Browse files
magnusuMETdavidhewitt
authored andcommitted
Bump README/CI ndarray versions
1 parent c0373d2 commit 7153069

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
run: |
208208
import toml
209209
cargo_toml = toml.load("Cargo.toml")
210-
cargo_toml["dependencies"]["ndarray"] = "0.13.1"
210+
cargo_toml["dependencies"]["ndarray"] = "0.15.6"
211211
cargo_toml["dependencies"]["parking_lot"] = "0.11.2"
212212
cargo_toml["dependencies"]["num-complex"] = "0.2.4"
213213
cargo_toml["dependencies"]["once_cell"] = "1.14.0"
@@ -225,8 +225,8 @@ jobs:
225225
cargo_lock = toml.load("Cargo.lock")
226226
for pkg in cargo_lock["package"]:
227227
pkg_id = pkg["name"] + ":" + pkg["version"]
228-
if pkg["name"] == "ndarray" and pkg["version"] != "0.13.1":
229-
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "0.13.1"], check=True)
228+
if pkg["name"] == "ndarray" and pkg["version"] != "0.15.6":
229+
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "0.15.6"], check=True)
230230
elif pkg["name"] == "parking_lot" and pkg["version"] != "0.11.2":
231231
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "0.11.2"], check=True)
232232
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)