Skip to content

Commit 0e361ca

Browse files
committed
Pin pdm version in ci/cd due to pypy regression in 2.26.3
A new 2.26.3 pdm version does not play well with pypy: pdm-project/pdm#3706
1 parent b961650 commit 0e361ca

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
3838
- name: Install dependencies
39-
run: python -m pip install --upgrade nox pdm
39+
run: python -m pip install --upgrade nox pdm==2.26.2
4040
- name: Build the distribution
4141
id: build
4242
run: nox -vs build
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
sudo apt-get -y update
8181
sudo apt-get -y install patchelf scons
82-
python -m pip install --upgrade nox pdm
82+
python -m pip install --upgrade nox pdm==2.26.2
8383
git config --global --add safe.directory '*'
8484
- name: Bundle the distribution
8585
id: bundle
@@ -114,7 +114,7 @@ jobs:
114114
with:
115115
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
116116
- name: Install dependencies
117-
run: python -m pip install --upgrade nox pdm
117+
run: python -m pip install --upgrade nox pdm==2.26.2
118118
- name: Bundle the distribution
119119
id: bundle
120120
shell: bash
@@ -159,7 +159,7 @@ jobs:
159159
with:
160160
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
161161
- name: Install dependencies
162-
run: python -m pip install --upgrade nox pdm
162+
run: python -m pip install --upgrade nox pdm==2.26.2
163163
- name: Build Dockerfile
164164
run: nox -vs generate_dockerfile
165165
- name: Set up QEMU

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
2727
- name: Install dependencies
28-
run: python -m pip install --upgrade nox pdm
28+
run: python -m pip install --upgrade nox pdm==2.26.2
2929
- name: Run linters
3030
run: nox -vs lint
3131
- name: Validate new changelog entries
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
4949
- name: Install dependencies
50-
run: python -m pip install --upgrade nox pdm
50+
run: python -m pip install --upgrade nox pdm==2.26.2
5151
- name: Build the distribution
5252
run: nox -vs build
5353
cleanup_buckets:
@@ -70,7 +70,7 @@ jobs:
7070
cache: "pip"
7171
- name: Install dependencies
7272
if: ${{ env.B2_TEST_APPLICATION_KEY != '' && env.B2_TEST_APPLICATION_KEY_ID != '' }} # TODO: skip this whole job instead
73-
run: python -m pip install --upgrade nox pdm
73+
run: python -m pip install --upgrade nox pdm==2.26.2
7474
- name: Find and remove old buckets
7575
if: ${{ env.B2_TEST_APPLICATION_KEY != '' && env.B2_TEST_APPLICATION_KEY_ID != '' }} # TODO: skip this whole job instead
7676
run: nox -vs cleanup_buckets
@@ -111,7 +111,7 @@ jobs:
111111
run: |
112112
brew install fish
113113
- name: Install dependencies
114-
run: python -m pip install --upgrade nox pdm
114+
run: python -m pip install --upgrade nox pdm==2.26.2
115115
- name: Run unit tests
116116
run: nox -vs unit -p ${{ matrix.python-version }}
117117
- name: Run integration tests (without secrets)
@@ -137,7 +137,7 @@ jobs:
137137
with:
138138
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
139139
- name: Install dependencies
140-
run: python -m pip install --upgrade nox pdm
140+
run: python -m pip install --upgrade nox pdm==2.26.2
141141
- name: Generate Dockerfile
142142
run: nox -vs generate_dockerfile
143143
- name: Set up QEMU
@@ -178,7 +178,7 @@ jobs:
178178
run: |
179179
sudo apt-get -y update
180180
sudo apt-get -y install patchelf scons
181-
python -m pip install --upgrade nox pdm
181+
python -m pip install --upgrade nox pdm==2.26.2
182182
git config --global --add safe.directory '*'
183183
- name: Bundle the distribution
184184
id: bundle
@@ -217,7 +217,7 @@ jobs:
217217
with:
218218
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
219219
- name: Install dependencies
220-
run: python -m pip install --upgrade nox pdm
220+
run: python -m pip install --upgrade nox pdm==2.26.2
221221
- name: Bundle the distribution
222222
id: bundle
223223
shell: bash
@@ -256,6 +256,6 @@ jobs:
256256
run: |
257257
sudo apt-get update -y
258258
sudo apt-get install -y graphviz plantuml
259-
python -m pip install --upgrade nox pdm
259+
python -m pip install --upgrade nox pdm==2.26.2
260260
- name: Build the docs
261261
run: nox --non-interactive -vs doc

0 commit comments

Comments
 (0)