diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89fca0e3..620f512c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,12 +64,14 @@ jobs: - name: Set up project run: | - # `setuptools 0.64.0` adds support for editable install hooks (PEP 660). + # `setuptools 64` adds support for editable install hooks (PEP 660). # https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400 - pip install "setuptools>=64" --upgrade + # `setuptools 71` significantly re-vendors setuptools packages, causing hiccups on Python 3.8. + # https://github.com/pypa/setuptools/pull/4457 + pip install "setuptools>=64,<71" --upgrade # Install package in editable mode. - pip install --use-pep517 --prefer-binary --editable=.[full,test,develop] + pip install --use-pep517 --prefer-binary --editable='.[full,test,develop]' - name: Run linter and software tests env: diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml index 588863e0..d00f8c23 100644 --- a/.github/workflows/release-app.yml +++ b/.github/workflows/release-app.yml @@ -42,7 +42,16 @@ jobs: cache-dependency-path: 'pyproject.toml' - name: Set up project - run: pip install --use-pep517 --prefer-binary --editable='.[cfr,release-cfr]' + run: | + + # `setuptools 64` adds support for editable install hooks (PEP 660). + # https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400 + # `setuptools 71` significantly re-vendors setuptools packages, causing hiccups on Python 3.8. + # https://github.com/pypa/setuptools/pull/4457 + pip install "setuptools>=64,<71" --upgrade + + # Install package in editable mode. + pip install --use-pep517 --prefer-binary --editable='.[cfr,release-cfr]' - name: Build application bundle run: poe build-cfr