From e8a90d69ea22f1b11985882daf7a51e6aece5f3b Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sun, 30 Jun 2024 10:43:21 +0200 Subject: [PATCH] Replace pip by uv pip --- .github/workflows/cd-syftcli.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-syftcli.yml b/.github/workflows/cd-syftcli.yml index 8c76c672f4c..dc3b01d67f3 100644 --- a/.github/workflows/cd-syftcli.yml +++ b/.github/workflows/cd-syftcli.yml @@ -69,17 +69,20 @@ jobs: if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }} run: | python -m pip install --upgrade pip - pip install --upgrade tox setuptools wheel twine bump2version==1.0.1 PyYAML==6.0.1 + python -p pip install uv==0.2.17 + uv --version + python -m uv pip install --upgrade tox setuptools wheel twine bump2version==1.0.1 PyYAML==6.0.1 + - name: Bump the Version if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }} id: bump-version run: | - python3 syftcli/version.py + python syftcli/version.py bump2version patch --allow-dirty --no-commit tox -e lint || true echo "deployed_version=$(python3 syftcli/version.py)" >> $GITHUB_OUTPUT - python3 syftcli/version.py + python syftcli/version.py working-directory: ./packages/syftcli - name: Write the new hash