From 2e6ef344be7b1fc2cddf853ade362112dfe3615a Mon Sep 17 00:00:00 2001 From: Barabazs <31799121+Barabazs@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:21:45 +0100 Subject: [PATCH] feat: use uv recommended setup --- .github/workflows/python-compatibility.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-compatibility.yml b/.github/workflows/python-compatibility.yml index 263ebb95..1c2fa782 100644 --- a/.github/workflows/python-compatibility.yml +++ b/.github/workflows/python-compatibility.yml @@ -17,16 +17,15 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + - name: Install uv + uses: astral-sh/setup-uv@v5 with: + version: "0.5.14" python-version: ${{ matrix.python-version }} - - name: Install package - run: | - python -m pip install uv - uv sync + - name: Install the project + run: uv sync --all-extras - name: Test import run: | - python -c "import whisperx; print('Successfully imported whisperx')" + uv run python -c "import whisperx; print('Successfully imported whisperx')"