Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicit pass the Python path to pipx in CI step
Browse files Browse the repository at this point in the history
abravalheri committed Jan 8, 2025
1 parent 4e82e8b commit 3b5d070
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -95,7 +95,10 @@ jobs:
run: |
rm -rf dist
# workaround for pypa/setuptools#4333
pipx run --pip-args 'pyproject-hooks!=1.1' build
pipx run \
--python {{ steps.python-install.outputs.python-path }} \
--pip-args 'pyproject-hooks!=1.1' \
build
echo "PRE_BUILT_SETUPTOOLS_SDIST=$(ls dist/*.tar.gz)" >> $GITHUB_ENV
echo "PRE_BUILT_SETUPTOOLS_WHEEL=$(ls dist/*.whl)" >> $GITHUB_ENV
rm -rf setuptools.egg-info # Avoid interfering with the other tests

0 comments on commit 3b5d070

Please sign in to comment.