From cb8f2c6630584d6d1b2d9296a0c780af0f5e5549 Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Mon, 27 Nov 2023 09:17:47 -0500 Subject: [PATCH] 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 --- .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 }}