Skip to content

Upgrade to Textual 5, add release workflows#9

Merged
edward-jazzhands merged 2 commits intomainfrom
upgrade-to-textual-5-and-add-release-workflows
Jul 28, 2025
Merged

Upgrade to Textual 5, add release workflows#9
edward-jazzhands merged 2 commits intomainfrom
upgrade-to-textual-5-and-add-release-workflows

Conversation

@edward-jazzhands
Copy link
Member

@edward-jazzhands edward-jazzhands commented Jul 28, 2025

Usage / API changes

  • Upgraded to Textual 5.0.0.

Code and project changes

  • Renamed Changelog.md to CHANGELOG.md
  • Added 2 workflow to .github/workflows:
    • ci-checks.yml - runs Ruff, MyPy, BasedPyright (will add Pytest later)
    • release.yml - Workflow to publish to PyPI and github releases
  • Added 2 scripts to .github/scripts:
    • adds .github/scripts/validate_main.sh
    • adds .github/scripts/tag_release.py
  • Added 1 new file to root: ci-requirements.txt - this is used by the ci-checks.yml workflow to install the dev dependencies.
  • Added basedpyright as a dev dependency to help with type checking. Made the just typecheck command run it after MyPy and set it to 'strict' mode in the config (added [tool.basedpyright] section to pyproject.toml).
  • Replaced build and publish commands in the justfile with a single release command that runs the two above scripts and then pushes the new tag to Github
  • Workflow update-docs.yml now runs only if the release.yml workflow is successful, so it will only update the docs if a new release is made (Still possible to manually run it if needed, should add a 'docs' tag in the future for this purpose).
  • Changed the .python-version file to use 3.9 instead of 3.12.

@edward-jazzhands edward-jazzhands merged commit 1f2eec5 into main Jul 28, 2025
1 check passed
@edward-jazzhands edward-jazzhands deleted the upgrade-to-textual-5-and-add-release-workflows branch July 28, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant