Skip to content

Commit ed89d96

Browse files
committed
ci: fix release metadata validation
1 parent 794368c commit ed89d96

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ jobs:
112112
runs-on: ubuntu-latest
113113

114114
steps:
115+
- name: Setup Python
116+
uses: actions/setup-python@v6
117+
with:
118+
python-version: "3.12"
119+
115120
- name: Download distributions
116121
uses: actions/download-artifact@v7
117122
with:
@@ -120,7 +125,7 @@ jobs:
120125
merge-multiple: true
121126

122127
- name: Install validation tooling
123-
run: python -m pip install --upgrade pip twine
128+
run: python -m pip install --upgrade pip "twine>=6.2,<7" "packaging>=24.2"
124129

125130
- name: Check distribution metadata
126131
run: python -m twine check dist/*

0 commit comments

Comments
 (0)