Skip to content

Commit cb8f2c6

Browse files
authored
chore: fix missing setuptools in CI (#3189)
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 <[email protected]>
1 parent 7140969 commit cb8f2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Generate Pacakge
3030
run: |
31-
pip3 install wheel
31+
pip3 install setuptools wheel
3232
python setup.py sdist bdist_wheel
3333
env:
3434
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_DOCKER: ${{ inputs.tag }}

0 commit comments

Comments
 (0)