Skip to content

Commit df1c1f7

Browse files
committed
Explicit pass the Python path to pipx in CI step
1 parent 4e82e8b commit df1c1f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ jobs:
9595
run: |
9696
rm -rf dist
9797
# workaround for pypa/setuptools#4333
98-
pipx run --pip-args 'pyproject-hooks!=1.1' build
98+
pipx run \
99+
--python ${{ steps.python-install.outputs.python-path }} \
100+
--pip-args 'pyproject-hooks!=1.1' \
101+
build
99102
echo "PRE_BUILT_SETUPTOOLS_SDIST=$(ls dist/*.tar.gz)" >> $GITHUB_ENV
100103
echo "PRE_BUILT_SETUPTOOLS_WHEEL=$(ls dist/*.whl)" >> $GITHUB_ENV
101104
rm -rf setuptools.egg-info # Avoid interfering with the other tests

0 commit comments

Comments
 (0)