Skip to content

Commit e7766e2

Browse files
mrecachinasCopilot
andcommitted
Pin packaging>=24.2 alongside twine for Metadata 2.4 support
CI had twine 6.2.0 but packaging 24.0 — Metadata 2.4 (License-Expression) requires packaging>=24.2. Explicitly pin it in all pip install lines. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 51afc69 commit e7766e2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install cibuildwheel
2222
run: |
2323
python3 -m pip install --upgrade pip
24-
python3 -m pip install cibuildwheel "twine>=6.1.0"
24+
python3 -m pip install cibuildwheel "twine>=6.1.0" "packaging>=24.2"
2525
2626
- name: 🛠 Build and Test Hexhamming Python C extension
2727
run: cibuildwheel
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install cibuildwheel
9090
run: |
9191
python3 -m pip install --upgrade pip
92-
python3 -m pip install cibuildwheel "twine>=6.1.0"
92+
python3 -m pip install cibuildwheel "twine>=6.1.0" "packaging>=24.2"
9393
9494
- name: 🛠 Build Hexhamming Python C extension
9595
run: cibuildwheel
@@ -138,7 +138,7 @@ jobs:
138138
- name: Install cibuildwheel
139139
run: |
140140
python3 -m pip install --upgrade pip
141-
python3 -m pip install cibuildwheel "twine>=6.1.0"
141+
python3 -m pip install cibuildwheel "twine>=6.1.0" "packaging>=24.2"
142142
143143
- name: 🛠 Build Hexhamming Python C extension
144144
run: cibuildwheel
@@ -172,7 +172,7 @@ jobs:
172172
- name: Install cibuildwheel
173173
run: |
174174
python3 -m pip install --upgrade pip
175-
python3 -m pip install cibuildwheel "twine>=6.1.0"
175+
python3 -m pip install cibuildwheel "twine>=6.1.0" "packaging>=24.2"
176176
177177
- name: 🛠 Build Hexhamming Python C extension
178178
run: cibuildwheel
@@ -210,7 +210,7 @@ jobs:
210210
merge-multiple: true
211211

212212
- name: Install twine
213-
run: python -m pip install "twine>=6.1.0"
213+
run: python -m pip install "twine>=6.1.0" "packaging>=24.2"
214214

215215
- name: 📦 Publish distribution to PyPI
216216
env:

0 commit comments

Comments
 (0)