Răsfoiți Sursa

Fix twine issue

Jelmer Vernooij 4 luni în urmă
părinte
comite
341e050b3f
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  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: