Debug package publishing error#35
Closed
OPpuolitaival wants to merge 1 commit into
Closed
Conversation
Fixes the PyPI publish error by automating version management: - Add scripts/bump_version.py: Bump patch/minor/major versions - Add scripts/publish.py: Automated publishing workflow - Add scripts/check_pypi.py: Check if version exists on PyPI - Add Makefile: Convenient commands for dev and publishing - Add PUBLISHING.md: Comprehensive publishing documentation - Update .github/workflows/python-publish.yml: Add version check - Update CLAUDE.md: Document new publishing commands Now running 'make publish-patch' will: 1. Check git status is clean 2. Verify version doesn't exist on PyPI 3. Bump version in pyproject.toml 4. Commit and tag the change 5. Push to GitHub 6. Provide instructions for creating the release This prevents the "File already exists" error by ensuring the version is always bumped before publishing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the PyPI publish error by automating version management:
Now running 'make publish-patch' will:
This prevents the "File already exists" error by ensuring the version is always bumped before publishing.