From ad5d2d06932680d76280f7ea31c6b6349a6b87d9 Mon Sep 17 00:00:00 2001 From: LeonidElkin Date: Sun, 10 May 2026 20:58:27 +0300 Subject: [PATCH] ci: fix release metadata validation --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5a6cc6..1a7dfd9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -112,6 +112,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: Setup Python + uses: actions/setup-python@v6 + with: + python-version: "3.12" + - name: Download distributions uses: actions/download-artifact@v7 with: @@ -120,7 +125,7 @@ jobs: merge-multiple: true - name: Install validation tooling - run: python -m pip install --upgrade pip twine + run: python -m pip install --upgrade pip "twine>=6.2,<7" "packaging>=24.2" - name: Check distribution metadata run: python -m twine check dist/*