Merge pull request #1949 from dcdenu4/bugfix/1913-autorelease-part2-twine

Mitigate setuptools invalid metadata for twine upload
This commit is contained in:
Dave Fisher 2025-05-27 08:25:40 -07:00 committed by GitHub
commit 34e1bf8ca3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: pip install twine
run: |
# Workaround for setuptools generating invalid metadata
# https://github.com/natcap/invest/issues/1913
pip install "twine>=6.1.0"
pip install -U packaging
- name: Extract version from autorelease branch name
if: ${{ github.head_ref }}