Skip to content

Commit

Permalink
chore: fix missing setuptools in CI (#3189)
Browse files Browse the repository at this point in the history
Install `setuptools` in addition to `wheel` before trying to run
`python setup.py` manually.

Note that `setuptools` is already correctly listed in the
`pyproject.toml` file for consumers installing via `pip` etc, but
in CI the file is run directly to generate `sdist` and `bdist_wheel`
artifacts for PyPI.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
  • Loading branch information
milas committed Nov 27, 2023
1 parent 7140969 commit cb8f2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Generate Pacakge
run: |
pip3 install wheel
pip3 install setuptools wheel
python setup.py sdist bdist_wheel
env:
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_DOCKER: ${{ inputs.tag }}
Expand Down

0 comments on commit cb8f2c6

Please sign in to comment.