From fedec8e16c85417ff2beb6c2fc7cf5ef4a2d407e Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Wed, 29 Oct 2025 19:50:28 -0400 Subject: [PATCH] Change sdist filename to all lowercase It seems this is now a requirement from PyPI. :( --- .github/workflows/build-linux-wheels.yml | 2 +- .github/workflows/ci-build.yml | 6 +++--- build.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-linux-wheels.yml b/.github/workflows/build-linux-wheels.yml index 3e469343..08aaaedd 100644 --- a/.github/workflows/build-linux-wheels.yml +++ b/.github/workflows/build-linux-wheels.yml @@ -52,7 +52,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: wxPython-source - path: dist/wxPython-${{ steps.generate.outputs.version }}.tar.gz + path: dist/wxpython-${{ steps.generate.outputs.version }}.tar.gz build-wheels: # wait for prior job to complete diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 18baf6cc..9e2aac5a 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -82,7 +82,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: wxPython-source - path: dist/wxPython-${{ steps.generate.outputs.version }}.tar.gz + path: dist/wxpython-${{ steps.generate.outputs.version }}.tar.gz - name: Create demo source distribution (sdist_demo) if: github.event_name == 'push' @@ -243,10 +243,10 @@ jobs: run: | if [ -z "$CIBW_BUILD" ]; then cd dist - pip wheel -v wxPython-${{ env.VERSION }}.tar.gz + pip wheel -v wxpython-${{ env.VERSION }}.tar.gz else pip install cibuildwheel - cibuildwheel dist/wxPython-${{ env.VERSION }}.tar.gz --output-dir dist + cibuildwheel dist/wxpython-${{ env.VERSION }}.tar.gz --output-dir dist fi - name: Simple smoke test diff --git a/build.py b/build.py index 3761ccc9..c9c8b36f 100755 --- a/build.py +++ b/build.py @@ -2271,7 +2271,7 @@ def cmd_sdist(options, args): # build the tarball msg('Archiving Phoenix source...') - rootname = "%s-%s" % (baseName, cfg.VERSION) + rootname = "%s-%s" % (baseName.lower(), cfg.VERSION) tarfilename = posixjoin(phoenixDir(), 'dist', '%s.tar.gz' % rootname) if os.path.exists(tarfilename): os.remove(tarfilename)