Skip to content

Commit 4d03379

Browse files
fix: use maturin build + pip install instead of maturin develop
maturin develop requires a virtualenv. Use maturin build to create a wheel then pip install it into the system Python instead.
1 parent 4373719 commit 4d03379

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/benchmark.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: Build and install Python binding
4242
run: |
4343
pip install maturin
44-
maturin develop --release --manifest-path asherah-py/Cargo.toml
44+
maturin build --release --manifest-path asherah-py/Cargo.toml --out dist/
45+
pip install dist/*.whl
4546
4647
- name: Install Node.js dependencies
4748
run: |

0 commit comments

Comments
 (0)