setup.py deprecation workaround with --use-pep517 (#1168)

This commit is contained in:
Chris Caron 2024-07-17 21:19:20 -04:00 committed by GitHub
parent e30adb4dee
commit 313a70bf58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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