Skip to content

Exp 1213#24

Closed
Adonis-Diaz wants to merge 9 commits into
masterfrom
EXP-1213
Closed

Exp 1213#24
Adonis-Diaz wants to merge 9 commits into
masterfrom
EXP-1213

Conversation

@Adonis-Diaz

Copy link
Copy Markdown

This PR adds GitHub Actions–based release automation for pystalk: a new .github/workflows/release.yml that builds the sdist/wheel (via a new justfile with install/build targets using uv) and publishes to PyPI plus uploads release assets whenever a GitHub release is published, along with a minimal pyproject.toml setuptools build-system config, a version bump to 0.8.0 in setup.py, a .gitignore entry for .venv/, and a README.md update describing the new tag-and-publish release workflow in place of the old manual python setup.py sdist upload process.

…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
@Adonis-Diaz

Copy link
Copy Markdown
Author

Superseded by #25 — EXP-1213 was accidentally branched off the 010-beanstalk-connection-error branch instead of master, so it included that feature's commits. #25 is branched cleanly from master and contains only the release-tooling changes.

@Adonis-Diaz
Adonis-Diaz deleted the EXP-1213 branch July 22, 2026 16:26
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.

2 participants