Skip to content

Commit d6c7ef9

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 7fd9313 commit d6c7ef9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Display Python version
3030
run: python -c "import sys; print(sys.version)"
3131
- name: Install dependencies
32-
run: python -m pip install --upgrade nox pdm
32+
run: python -m pip install --upgrade nox pdm==2.26.2
3333
- name: Build the distribution
3434
id: build
3535
run: nox -vs build

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
2727
cache: "pip"
2828
- name: Install dependencies
29-
run: python -m pip install --upgrade nox pdm
29+
run: python -m pip install --upgrade nox pdm==2.26.2
3030
- name: Run linters
3131
run: nox -vs lint
3232
- name: Validate new changelog entries
@@ -49,7 +49,7 @@ jobs:
4949
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
5050
cache: "pip"
5151
- name: Install dependencies
52-
run: python -m pip install --upgrade nox pdm
52+
run: python -m pip install --upgrade nox pdm==2.26.2
5353
- name: Build the distribution
5454
run: nox -vs build
5555
cleanup_buckets:
@@ -72,7 +72,7 @@ jobs:
7272
cache: "pip"
7373
- name: Install dependencies
7474
if: ${{ env.B2_TEST_APPLICATION_KEY != '' && env.B2_TEST_APPLICATION_KEY_ID != '' }} # TODO: skip this whole job instead
75-
run: python -m pip install --upgrade nox pdm
75+
run: python -m pip install --upgrade nox pdm==2.26.2
7676
- name: Find and remove old buckets
7777
if: ${{ env.B2_TEST_APPLICATION_KEY != '' && env.B2_TEST_APPLICATION_KEY_ID != '' }} # TODO: skip this whole job instead
7878
run: nox -vs cleanup_old_buckets
@@ -109,7 +109,7 @@ jobs:
109109
python-version: ${{ matrix.python-version }}
110110
cache: "pip"
111111
- name: Install dependencies
112-
run: python -m pip install --upgrade nox pdm
112+
run: python -m pip install --upgrade nox pdm==2.26.2
113113
- name: Run unit tests
114114
run: nox -vs unit -- -v
115115
- name: Run integration tests
@@ -134,6 +134,6 @@ jobs:
134134
run: |
135135
sudo apt-get update -y
136136
sudo apt-get install -y graphviz plantuml
137-
python -m pip install --upgrade nox pdm
137+
python -m pip install --upgrade nox pdm==2.26.2
138138
- name: Build the docs
139139
run: nox --non-interactive -vs doc

0 commit comments

Comments
 (0)