Skip to content

Commit

Permalink
fix: try instructions on rust-numpy to fix double ndarray dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Oct 15, 2024
1 parent 20fdd8c commit 271e8aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
source mocpy-env/bin/activate
pip install --upgrade pip
pip install maturin
cargo update --package ndarray:0.15.6 --precise 0.15.6
maturin build --release --compatibility manylinux2014
maturin develop --release
pip install .[dev]
Expand Down Expand Up @@ -71,6 +72,7 @@ jobs:
pip install --upgrade pip
# Install and use maturin
pip install maturin
cargo update --package ndarray:0.15.6 --precise 0.15.6
maturin build --release --target universal2-apple-darwin
maturin develop --release
# Install dependencies
Expand Down Expand Up @@ -107,6 +109,7 @@ jobs:
.\mocpy-env\Scripts\activate
# Install and use maturin
pip install maturin
cargo update --package ndarray:0.15.6 --precise 0.15.6
maturin develop --release
# Install dependencies
pip install .[dev]
Expand Down
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,4 @@ features = ["extension-module"]
opt-level = 3

[profile.dev]
opt-level = 0



opt-level = 0

0 comments on commit 271e8aa

Please sign in to comment.