Skip to content

Commit 40e7810

Browse files
committed
Force upgrade twine and packaging
Twine failed upload check due outdated packaging: InvalidDistribution: Invalid distribution metadata: unrecognized or malformed field 'license-file'; unrecognized or malformed field 'license-expression' See also: pypa/twine#1245
1 parent 96eb024 commit 40e7810

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
merge-multiple: true
109109
- name: Validate wheels
110110
run: |
111-
pip install twine
111+
pip install --upgrade twine packaging
112112
twine check dist/*
113113
- name: Publish to PyPI
114114
env:
@@ -128,7 +128,7 @@ jobs:
128128
merge-multiple: true
129129
- name: Validate wheels
130130
run: |
131-
pip install twine
131+
pip install --upgrade twine packaging
132132
twine check dist/*
133133
- name: Publish to PyPI Test
134134
env:

0 commit comments

Comments
 (0)