Skip to content

Commit 1a34cb5

Browse files
committed
Update CI workflow: require recent packaging version to fix twine issue
1 parent 50a6756 commit 1a34cb5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
with:
1515
cache: "pip"
1616
- name: Install pypa/build
17-
run: >-
18-
python3 -m pip install --user build twine
17+
# We need a recent version of `packaging`, otherwise we encounter this bug:
18+
# https://github.com/pypa/twine/issues/1216
19+
run: python3 -m pip install --user build twine "packaging>=25.0"
1920
- name: Build a binary wheel and a source tarball
2021
run: python3 -m build
2122
- name: Check the distribution files with `twine`

0 commit comments

Comments
 (0)