From 2cd38877d1b6981599ccc7099334e799139157b5 Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Tue, 21 Nov 2023 15:55:33 -0500 Subject: [PATCH] chore: fix missing setuptools in CI 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 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8b1f57d1..721020ac3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}