diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 603fc2431..9456ff81c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install -U pip setuptools wheel + pip install -U pip "setuptools<79.0.0" wheel SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt - name: Run mypy on plugin code run: mypy --strict mypy_drf_plugin @@ -61,7 +61,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install -U pip setuptools wheel + pip install -U pip "setuptools<79.0.0" wheel SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt - name: Run tests @@ -87,7 +87,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install -U pip setuptools wheel + pip install -U pip "setuptools<79.0.0" wheel SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt - name: Run stubtest diff --git a/pyproject.toml b/pyproject.toml index 9da516794..cae1f4c65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,4 +41,4 @@ split-on-trailing-comma = false extra-standard-library = ["_typeshed"] [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools<79.0.0", "wheel"]