From 313a70bf586903f3946a868216f7b47016673c47 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Wed, 17 Jul 2024 21:19:20 -0400 Subject: [PATCH] setup.py deprecation workaround with --use-pep517 (#1168) --- .github/workflows/tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ed320b8f..be65f743 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -84,7 +84,7 @@ jobs: sudo apt-get install libdbus-1-dev - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: x64 @@ -98,25 +98,25 @@ jobs: - name: Install project dependencies (Baseline) run: | - pip install wheel - pip install -r requirements.txt -r dev-requirements.txt + pip install --use-pep517 wheel + pip install --use-pep517 -r requirements.txt -r dev-requirements.txt - name: Install project dependencies (All plugins) if: matrix.bare != true run: | - pip install -r all-plugin-requirements.txt + pip install --use-pep517 -r all-plugin-requirements.txt - name: Install project dependencies (Windows) if: runner.os == 'Windows' run: | - pip install -r win-requirements.txt || true + pip install --use-pep517 -r win-requirements.txt || true # Install package in editable mode, # and run project-specific tasks. - name: Setup project run: | python -m pip install --upgrade pip setuptools wheel - pip install --editable=. + pip install --use-pep517 --editable=. python setup.py compile_catalog # For saving resources, code style checking is