Skip to content

Commit

Permalink
Explicit pass the Python path to pipx in CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 8, 2025
1 parent 4e82e8b commit df1c1f7
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
Expand Up @@ -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
Expand Down

0 comments on commit df1c1f7

Please sign in to comment.