Skip to content

Commit d100619

Browse files
committed
ci: try using maturin 1.5.1, for building source distribution.
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 ```
1 parent f5e1f74 commit d100619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ jobs:
135135

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

0 commit comments

Comments
 (0)