From 7077c5be23102f68cca7f608276632cc07774c22 Mon Sep 17 00:00:00 2001 From: Jonathan Tsai Date: Thu, 30 Oct 2025 14:30:29 -0700 Subject: [PATCH] Fix: upgrade setuptools in tag-release workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tag-release workflow was failing because the pre-installed setuptools (65.5.0) doesn't normalize package names to underscores when creating source distributions. This caused PyPI to reject the tarball with error: 'Filename altimate-datapilot-cli-0.1.1.tar.gz is invalid, should be altimate_datapilot_cli-0.1.1.tar.gz'. Modern setuptools (65.6.0+) automatically normalize package names. Adding --upgrade flag ensures we get the latest version that handles name normalization correctly. Impact: This will allow both wheel and source distributions to upload successfully to PyPI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/tag-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 69388d0..73614ab 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -25,7 +25,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox twine wheel setuptools + pip install --upgrade tox twine wheel setuptools - name: Get version from file id: get_version