From 89ee3599e6e041db8110b2dc4e99c357d0aac06d Mon Sep 17 00:00:00 2001 From: Felix Oesterle Date: Mon, 10 Feb 2025 11:44:26 +0100 Subject: [PATCH] Upgrade twine and install pkginfo before upload --- .github/workflows/releaseWithManylinux.yml | 6 +++++- setup.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/releaseWithManylinux.yml b/.github/workflows/releaseWithManylinux.yml index 29dbdada4..8d2d5baf1 100644 --- a/.github/workflows/releaseWithManylinux.yml +++ b/.github/workflows/releaseWithManylinux.yml @@ -36,7 +36,7 @@ jobs: build-requirements: 'cython numpy' - name: Publish wheels to PyPI run: | - pip install twine --break-system-packages + pip install -U pkginfo packaging twine --break-system-packages twine upload dist/*-manylinux*.whl continue-on-error: true @@ -69,6 +69,8 @@ jobs: - name: upload source distribution run: | pip install twine + pip install -U pkginfo + pip install -U packaging twine upload dist/* continue-on-error: true @@ -103,5 +105,7 @@ jobs: - name: upload wheel run: | pip install twine + pip install -U pkginfo + pip install -U packaging twine upload dist/* continue-on-error: true \ No newline at end of file diff --git a/setup.py b/setup.py index 773937299..060e712dd 100644 --- a/setup.py +++ b/setup.py @@ -109,6 +109,7 @@ long_description=long_description, long_description_content_type="text/markdown", version=getVersion(), + # The project's main homepage. url=URL, # Author details