Skip to content

Commit 5eb9711

Browse files
committed
fix: upgrade twine to support PEP 639 license metadata
Twine 6.0+ supports the license-file and license-expression fields. Also removed redundant license field since classifier is sufficient.
1 parent f246db7 commit 5eb9711

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 4 additions & 4 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
24+
python3 -m pip install cibuildwheel 'twine>=6.0.0'
2525
2626
- name: 🛠 Build and Test Hexhamming Python C extension
2727
run: cibuildwheel
@@ -85,7 +85,7 @@ jobs:
8585
- name: Install cibuildwheel
8686
run: |
8787
python3 -m pip install --upgrade pip
88-
python3 -m pip install cibuildwheel twine
88+
python3 -m pip install cibuildwheel 'twine>=6.0.0'
8989
9090
- name: 🛠 Build Hexhamming Python C extension
9191
run: cibuildwheel
@@ -132,7 +132,7 @@ jobs:
132132
- name: Install cibuildwheel
133133
run: |
134134
python3 -m pip install --upgrade pip
135-
python3 -m pip install cibuildwheel twine
135+
python3 -m pip install cibuildwheel 'twine>=6.0.0'
136136
137137
- name: 🛠 Build Hexhamming Python C extension
138138
run: cibuildwheel
@@ -164,7 +164,7 @@ jobs:
164164
- name: Install cibuildwheel
165165
run: |
166166
python3 -m pip install --upgrade pip
167-
python3 -m pip install cibuildwheel twine
167+
python3 -m pip install cibuildwheel 'twine>=6.0.0'
168168
169169
- name: 🛠 Build Hexhamming Python C extension
170170
run: cibuildwheel

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ name = "hexhamming"
77
version = "2.2.3"
88
description = "Fast Hamming distance calculation for hexadecimal strings"
99
readme = "README.rst"
10-
license = {text = "MIT"}
1110
authors = [
1211
{ name = "Michael Recachinas", email = "m.recachinas@gmail.com" }
1312
]

0 commit comments

Comments
 (0)