Exp 1213#24
Closed
Adonis-Diaz wants to merge 9 commits into
Closed
Conversation
…class, rename original to err
… use super().__init__, f-string message
…ignore - justfile: add missing 'install' recipe header (was a bare unindented command with no recipe name, breaking the whole file's parsing), and rename 'Build' -> 'build' to match idiomatic naming and the call site in release.yml. - pyproject.toml: fix 'requies' -> 'requires' typo (mandatory PEP 518 key) and 'setup-tools' -> 'setuptools' (correct PyPI package name). - release.yml: fix invalid YAML (missing space after 'uses:', and the 'Upload assets to release' step was mis-indented as a nested item under the previous step instead of a sibling step). - .gitignore: add .venv/ alongside the existing venv/ entry so the new uv-based tooling's virtualenv isn't accidentally committed.
Comment on lines
+10
to
+28
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: extractions/setup-just@v3 | ||
| - uses: astral-sh/setup-uv@v7 | ||
| - uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: '3.14' | ||
| - name: Build package | ||
| run: just install build | ||
| - name: Publish to PyPi | ||
| uses: pypa/gh-action-pypi-publish@release/v1 | ||
| with: | ||
| password: ${{ secrets.PYPI_API_TOKEN }} | ||
| - name: Upload assets to release | ||
| uses: AButler/upload-release-assets@v3.0.1 | ||
| with: | ||
| files: 'dist/*' | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} No newline at end of file |
Author
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.
This PR adds GitHub Actions–based release automation for pystalk: a new .
github/workflows/release.ymlthat builds thesdist/wheel(via a newjustfilewithinstall/build targets using uv) and publishes toPyPIplus uploads release assets whenever a GitHub release is published, along with a minimalpyproject.tomlsetuptools build-system config, a version bump to 0.8.0 insetup.py,a .gitignoreentry for.venv/,and aREADME.mdupdate describing the new tag-and-publish release workflow in place of the old manual pythonsetup.py sdistupload process.