Skip to content

Commit d32a3ba

Browse files
jontsaiclaude
andauthored
Fix: upgrade setuptools in tag-release workflow (#82)
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 <[email protected]>
1 parent 54836e1 commit d32a3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tag-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install tox twine wheel setuptools
28+
pip install --upgrade tox twine wheel setuptools
2929
3030
- name: Get version from file
3131
id: get_version

0 commit comments

Comments
 (0)