Skip to content

Commit 0bb13bc

Browse files
committed
⚙️ fix releasing CI flow
1 parent c5ef544 commit 0bb13bc

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install CI/CD tools
3636
run: |
3737
python -m pip install --upgrade pip
38-
python -m pip install setuptools continuous-delivery-scripts
38+
python -m pip install "setuptools<81" continuous-delivery-scripts
3939
python -m pip list
4040
- name: Assert news
4141
run: cd-assert-news -b ${CI_ACTION_REF_NAME}
@@ -105,7 +105,7 @@ jobs:
105105
# for the process to go through properly.
106106
# FIXME upgrade when https://github.com/pypa/pipenv/issues/4430 is actually fixed
107107
run: |
108-
python -m pip install --upgrade pip wheel setuptools
108+
python -m pip install --upgrade pip wheel "setuptools<81"
109109
python -m pip install pipenv==${{ env.pipenv_version }}
110110
echo "Locking dependencies"
111111
python -m pipenv lock
@@ -123,7 +123,7 @@ jobs:
123123
# location for development dependencies.
124124
run: |
125125
python -m pip install -r dev-requirements.txt
126-
python -m pip install setuptools
126+
python -m pip install "setuptools<81"
127127
python -m pip list
128128
- name: Generate SPDX documents
129129
run: |
@@ -147,7 +147,7 @@ jobs:
147147
- name: Install tools
148148
run: |
149149
python -m pip install --upgrade pip
150-
python -m pip install setuptools detect-secrets[gibberish]==1.5.0
150+
python -m pip install "setuptools<81" detect-secrets[gibberish]==1.5.0
151151
python -m pip list
152152
- uses: actions/checkout@v6
153153
with:
@@ -203,7 +203,7 @@ jobs:
203203
# This code forces the system to install latest tools as the ones present on the CI system may be too old
204204
# for the process to go through properly.
205205
run: |
206-
python -m pip install --upgrade pip wheel setuptools
206+
python -m pip install --upgrade pip wheel "setuptools<81"
207207
- if: ${{ startsWith(matrix.os, 'windows') }}
208208
run: |
209209
python -m pip install --upgrade pipenv
@@ -247,7 +247,7 @@ jobs:
247247
# is superfluous and eliminating pipenv in CI reduces overhead and reduce complexity, while retaining a single
248248
# location for development dependencies.
249249
run: |
250-
pip install --upgrade flake8 setuptools
250+
pip install --upgrade flake8 "setuptools<81"
251251
pip install -r dev-requirements.txt
252252
pip list
253253
- if: ${{ startsWith(matrix.python-version, '3.10') }}

.github/workflows/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install CI/CD tools
2020
run: |
2121
python -m pip install --upgrade pip
22-
python -m pip install setuptools continuous-delivery-scripts
22+
python -m pip install "setuptools<81" continuous-delivery-scripts
2323
python -m pip list
2424
- name: Dependabot metadata
2525
id: dependabot-metadata

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install pipenv
2020
shell: bash
2121
run: |
22-
python -m pip install --upgrade pipenv setuptools
22+
python -m pip install --upgrade pipenv "setuptools<81"
2323
pipenv install --dev
2424
- name: Type check with mypy
2525
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# for the process to go through properly.
2929

3030
run: |
31-
python -m pip install --upgrade pip wheel setuptools
31+
python -m pip install --upgrade pip wheel "setuptools<81"
3232
python -m pip install pipenv==${{ env.pipenv_version }}
3333
echo "Locking dependencies"
3434
python -m pipenv lock
@@ -46,6 +46,7 @@ jobs:
4646
# location for development dependencies.
4747
run: |
4848
python -m pip install -r dev-requirements.txt
49+
python -m pip install "setuptools<81"
4950
python -m pip list
5051
- name: Generate SPDX documents
5152
run: |

0 commit comments

Comments
 (0)