Skip to content

Commit 44169b0

Browse files
authored
Merge pull request #81 from osqp/im/twine
Update packaging when trying to upload to pypi
2 parents 8f7c4c6 + 8943ded commit 44169b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ jobs:
120120
env:
121121
TWINE_USERNAME: __token__
122122
TWINE_PASSWORD: ${{ secrets.pypi_password }}
123+
# Need to ensure both twine and packaging are updated to twine 6.2+ and packaging 25+
124+
# to work around https://github.com/pypa/twine/issues/1216
123125
run: |
126+
python -m pip install --upgrade packaging
124127
python -m pip install --upgrade twine
125128
twine upload dist/*

0 commit comments

Comments
 (0)