Browse Source

Fix twine issue

Jelmer Vernooij 1 month ago
parent
commit
341e050b3f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/python-distributions.yml

+ 3 - 1
.github/workflows/python-distributions.yml

@@ -129,7 +129,9 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install twine
+          # Upgrade packging to avoid a bug in twine.
+          # See https://github.com/pypa/twine/issues/1216
+          pip install "twine>=6.1.0" "packaging>=24.2"
       - name: Download sdist
         uses: actions/download-artifact@v4
         with: