Fix pyproject_buildrequires invocation for hatchling backend
This commit is contained in:
parent
3a7a7a032a
commit
3979d68ec2
@ -48,9 +48,7 @@ sed -i 's/coverage.*//' tox.ini
|
||||
sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini
|
||||
|
||||
%generate_buildrequires
|
||||
# pyproject_buildrequires.py fails with
|
||||
# ValueError: build backend cannot provide build metadata (incl. runtime requirements) before build.
|
||||
%pyproject_buildrequires %{?with_tests:-t} || :
|
||||
%pyproject_buildrequires -w %{?with_tests:-t}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Loading…
Reference in New Issue
Block a user