Skip to content

Commit

Permalink
ci: try using maturin 1.5.1, for building source distribution.
Browse files Browse the repository at this point in the history
With version 1.6.0 the build is failing with this error:

```
Caused by: File yara_x-0.6.0/README.md was already added from /Users/vmalvarez/Projects/yara-x/README.md, can't added it from /Users/vmalvarez/Projects/yara-x/py/README.md
```
  • Loading branch information
plusvic committed Jul 30, 2024
1 parent f5e1f74 commit d100619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ jobs:

- name: Build sdist
if: matrix.build == 'linux' && matrix.python-version == 'cp312'
# Using maturin 1.6.0 because the latest version (1.7.0) has the
# Using maturin 1.5.1 because the latest version (1.7.0) has the
# following issue: https://github.com/PyO3/maturin/issues/2154
run: |
pip install maturin==1.6.0 build
pip install maturin==1.5.1 build
python -m build --sdist -o wheelhouse py
- name: Build ${{ matrix.platform || matrix.os }} binaries
Expand Down

0 comments on commit d100619

Please sign in to comment.