From 7caf48ad75748196041a4ee7d123ccbd60a0c65e Mon Sep 17 00:00:00 2001 From: Ewe Zi Yi <36802364+deadlycoconuts@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:55:42 +0800 Subject: [PATCH] fix(cicd): Fix invalid pip installation commands (#610) # Description In PR #608, the version of `setuptools` was pinned to `<75`. However, this wasn't done correctly for the pip installation command, causing the CICD pipeline to [fail](https://github.com/caraml-dev/merlin/actions/runs/10988775479/job/30506834078#step:4:13) when publishing new versions of the Merlin SDK, batch predictor and pyfunc server to PyPI. This PR simply corrects that invalid command. # Modifications - `.github/workflows/release.yml` - Fix incorrect pip installation command # Tests # Checklist - [x] Added PR label - [ ] Added unit test, integration, and/or e2e tests - [ ] Tested locally - [ ] Updated documentation - [ ] Update Swagger spec if the PR introduce API changes - [ ] Regenerated Golang and Python client if the PR introduces API changes # Release Notes ```release-note NONE ``` --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1ebc95b7..7e5a345e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: cache: pip - name: Install dependencies working-directory: ./python/sdk - run: pip install setuptools>=64,<75 setuptools_scm>=8 twine wheel + run: pip install "setuptools>=64,<75" "setuptools_scm>=8" "twine" "wheel" - name: Build and publish env: TWINE_USERNAME: ${{ secrets.pypi_username }} @@ -53,7 +53,7 @@ jobs: cache: pip - name: Install dependencies working-directory: ./python/pyfunc-server - run: pip install setuptools>=64,<75 setuptools_scm>=8 twine wheel + run: pip install "setuptools>=64,<75" "setuptools_scm>=8" "twine" "wheel" - name: Build and publish env: TWINE_USERNAME: ${{ secrets.pypi_username }} @@ -78,7 +78,7 @@ jobs: cache: pip - name: Install dependencies working-directory: ./python/batch-predictor - run: pip install setuptools>=64,<75 setuptools_scm>=8 twine wheel + run: pip install "setuptools>=64,<75" "setuptools_scm>=8" "twine" "wheel" - name: Build and publish env: TWINE_USERNAME: ${{ secrets.pypi_username }}