feat: setup PyPI publishing infrastructure and v0.9.0-beta.1 release #22
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.

Publishing Setup for v0.9.0-beta.1
Description
This PR adds the publishing documentation and configuration needed for releasing
toon_formatv0.9.0-beta.1 to PyPI. It builds on the comprehensive test suite and features already merged in PR #6.Type of Change
Related Issues
Addresses setup requirements for initial PyPI publication and beta testing phase.
Changes Made
1. Publishing Documentation
PUBLISHING.md- Complete 200+ line guide for releasing to PyPI:2. GitHub Actions Updates
publish.ymlworkflow:test.ymlworkflow:lint.ymlworkflow:dependabot.ymltemporarily:3. README Updates
4. Documentation Updates
docs/api.md:5. Version Bump
0.9.0-beta.1inpyproject.toml__version__insrc/toon_format/__init__.py6. Minor Code Updates
src/toon_format/utils.py:SPEC Compliance
This PR does not change spec compliance - it focuses on publishing infrastructure and documentation. Full spec compliance testing was completed in PR #6.
Testing
Test Output
All 792 existing tests continue to pass with the version bump:
Coverage Report:
Code Quality
ruff check src/toon_format tests- no issuesruff format src/toon_format tests- code formattedmypy src/toon_format- no critical errorspytest tests/ -vChecklist
Performance Impact
This PR only adds documentation and updates version numbers. No code changes that affect runtime performance.
Breaking Changes
All changes are documentation and configuration only. No API changes.
Screenshots / Examples
PUBLISHING.md Guide
The new publishing guide includes:
README Beta Warning
Added clear beta status indicator:
> **⚠️ Beta Status (v0.9.x):** This library is in active development and working towards spec compliance. Beta published to PyPI. API may change before 1.0.0 release.Publishing Workflow
The updated GitHub Actions workflow is ready for:
Automatic PyPI Release (on GitHub release creation):
Manual TestPyPI Release (workflow dispatch):
Additional Context
Release Roadmap
Following the agreed version strategy:
Next Steps After Merge
Re-tag v0.9.0-beta.1 on the merged commit:
Create GitHub Release for v0.9.0-beta.1:
Verify PyPI publication:
pip install toon_formatUpdate README (after successful publish):
Begin beta testing phase:
Checklist for Reviewers