Skip to content

Commit fcd4afc

Browse files
committed
Pin ndarray:0.15
1 parent 4047f84 commit fcd4afc

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
override: true
2727
components: rustfmt, clippy
2828

29+
- name: Run cargo update for ndarray 0.15
30+
uses: actions-rs/cargo@v1
31+
with:
32+
command: update
33+
args: --package ndarray:0.16.1 --precise 0.15.6
34+
2935
- name: Run cargo fmt
3036
uses: actions-rs/cargo@v1
3137
with:

.github/workflows/pytest.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ jobs:
4646
python -m pip install --upgrade pip
4747
pip install maturin numpy pytest poetry
4848
49+
- name: Run cargo update for ndarray 0.15
50+
uses: actions-rs/cargo@v1
51+
with:
52+
command: update
53+
args: --package ndarray:0.16.1 --precise 0.15.6
54+
4955
- name: Test Python
5056
run: |
5157
poetry install

.github/workflows/python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: PyO3/maturin-action@v1
2929
with:
3030
target: ${{ matrix.target }}
31-
args: --release --out dist --find-interpreter
31+
args: --release --out dist --find-interpreter -- --package ndarray:0.16.1 --precise 0.15.6
3232
sccache: 'true'
3333
manylinux: auto
3434
- name: Upload wheels
@@ -52,7 +52,7 @@ jobs:
5252
uses: PyO3/maturin-action@v1
5353
with:
5454
target: ${{ matrix.target }}
55-
args: --release --out dist --find-interpreter
55+
args: --release --out dist --find-interpreter -- --package ndarray:0.16.1 --precise 0.15.6
5656
sccache: 'true'
5757
- name: Upload wheels
5858
uses: actions/upload-artifact@v3
@@ -74,7 +74,7 @@ jobs:
7474
uses: PyO3/maturin-action@v1
7575
with:
7676
target: ${{ matrix.target }}
77-
args: --release --out dist --find-interpreter
77+
args: --release --out dist --find-interpreter -- --package ndarray:0.16.1 --precise 0.15.6
7878
sccache: 'true'
7979
- name: Upload wheels
8080
uses: actions/upload-artifact@v3
@@ -90,7 +90,7 @@ jobs:
9090
uses: PyO3/maturin-action@v1
9191
with:
9292
command: build
93-
args: --sdist --out dist --release
93+
args: --sdist --out dist --release -- --package ndarray:0.16.1 --precise 0.15.6
9494
- name: Upload sdist
9595
uses: actions/upload-artifact@v3
9696
with:

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
- name: Log active toolchain
4242
run: rustup show
4343

44+
- name: Run cargo update for ndarray 0.15
45+
uses: actions-rs/cargo@v1
46+
with:
47+
command: update
48+
args: --package ndarray:0.16.1 --precise 0.15.6
49+
4450
- name: Run cargo test in release mode
4551
uses: actions-rs/cargo@v1
4652
with:
@@ -72,6 +78,12 @@ jobs:
7278
- name: Log active toolchain
7379
run: rustup show
7480

81+
- name: Run cargo update for ndarray 0.15
82+
uses: actions-rs/cargo@v1
83+
with:
84+
command: update
85+
args: --package ndarray:0.16.1 --precise 0.15.6
86+
7587
- name: Run cargo test in release mode
7688
uses: actions-rs/cargo@v1
7789
with:

0 commit comments

Comments
 (0)