Change sdist filename to all lowercase
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.10) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.11) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.12) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.13) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.14) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.9) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.11) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.12) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.13) (push) Has been cancelled
ci-build / build-wheels (arm64, windows-11-arm, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.14) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.14) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled

It seems this is now a requirement from PyPI.  :(
This commit is contained in:
Scott Talbert
2025-10-29 19:50:28 -04:00
parent 68242b9454
commit fedec8e16c
3 changed files with 5 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wxPython-source name: wxPython-source
path: dist/wxPython-${{ steps.generate.outputs.version }}.tar.gz path: dist/wxpython-${{ steps.generate.outputs.version }}.tar.gz
build-wheels: build-wheels:
# wait for prior job to complete # wait for prior job to complete

View File

@@ -82,7 +82,7 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wxPython-source 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) - name: Create demo source distribution (sdist_demo)
if: github.event_name == 'push' if: github.event_name == 'push'
@@ -243,10 +243,10 @@ jobs:
run: | run: |
if [ -z "$CIBW_BUILD" ]; then if [ -z "$CIBW_BUILD" ]; then
cd dist cd dist
pip wheel -v wxPython-${{ env.VERSION }}.tar.gz pip wheel -v wxpython-${{ env.VERSION }}.tar.gz
else else
pip install cibuildwheel pip install cibuildwheel
cibuildwheel dist/wxPython-${{ env.VERSION }}.tar.gz --output-dir dist cibuildwheel dist/wxpython-${{ env.VERSION }}.tar.gz --output-dir dist
fi fi
- name: Simple smoke test - name: Simple smoke test

View File

@@ -2271,7 +2271,7 @@ def cmd_sdist(options, args):
# build the tarball # build the tarball
msg('Archiving Phoenix source...') 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) tarfilename = posixjoin(phoenixDir(), 'dist', '%s.tar.gz' % rootname)
if os.path.exists(tarfilename): if os.path.exists(tarfilename):
os.remove(tarfilename) os.remove(tarfilename)