diff --git a/.github/workflows/strings.yml b/.github/workflows/strings.yml index b01d8ec7c..2a36eaadb 100644 --- a/.github/workflows/strings.yml +++ b/.github/workflows/strings.yml @@ -37,7 +37,7 @@ jobs: - name: Install system packages run: sudo apt update && sudo apt install gettext - name: Install Dependencies - run: pip3 install -e ".[dev]" + run: pip3 install uv && uv pip install --system -e ".[dev]" - name: Compile messages run: python manage.py compilemessages working-directory: ./src @@ -62,7 +62,7 @@ jobs: - name: Install system packages run: sudo apt update && sudo apt install enchant-2 hunspell hunspell-de-de aspell-en aspell-de - name: Install Dependencies - run: pip3 install -e ".[dev]" + run: pip3 install uv && uv pip install --system -e ".[dev]" - name: Spellcheck translations run: potypo working-directory: ./src diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 0c284155a..4ecec238f 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -35,7 +35,7 @@ jobs: restore-keys: | ${{ runner.os }}-pip- - name: Install Dependencies - run: pip3 install -e ".[dev]" psycopg2-binary + run: pip3 install uv && uv pip install --system -e ".[dev]" psycopg2-binary - name: Run isort run: isort -c . working-directory: ./src @@ -55,7 +55,7 @@ jobs: restore-keys: | ${{ runner.os }}-pip- - name: Install Dependencies - run: pip3 install -e ".[dev]" psycopg2-binary + run: pip3 install uv && uv pip install --system -e ".[dev]" psycopg2-binary - name: Run flake8 run: flake8 . working-directory: ./src diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2ef7b61b8..449043969 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,7 +53,7 @@ jobs: - name: Install system dependencies run: sudo apt update && sudo apt install gettext - name: Install Python dependencies - run: pip3 install --ignore-requires-python -e ".[dev]" psycopg2-binary # We ignore that flake8 needs newer python as we don't run flake8 during tests + run: pip3 install uv && uv pip install --system -e ".[dev]" psycopg2-binary - name: Run checks run: python manage.py check working-directory: ./src