Skip to content

Add GitHub Action to Publish to PyPI#6

Merged
SamPIngram merged 1 commit intomasterfrom
add-pypi-release-action
Sep 29, 2025
Merged

Add GitHub Action to Publish to PyPI#6
SamPIngram merged 1 commit intomasterfrom
add-pypi-release-action

Conversation

@google-labs-jules
Copy link
Contributor

This pull request adds a new GitHub Actions workflow to automate the process of building and publishing the Python package to PyPI whenever a new version tag is pushed.


PR created automatically by Jules for task 4944197795482441654

This commit introduces a new GitHub Actions workflow to automate the
publishing of the package to the Python Package Index (PyPI).

The workflow is defined in `.github/workflows/publish-to-pypi.yml` and
is triggered on every push to a tag matching the 'v*' pattern.

Key features of the workflow:
- It builds the source distribution (sdist) and binary wheels for
  multiple Python versions (3.9, 3.10, 3.11, 3.12).
- The build process is split into separate jobs for sdist and wheels
  to improve efficiency.
- Artifacts are used to pass the built distributions to the publish job.
- The `pypa/gh-action-pypi-publish` action is used to upload the
  packages to PyPI, authenticating with the `PYPI_API_TOKEN` secret.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

@SamPIngram SamPIngram marked this pull request as ready for review September 29, 2025 10:14
@SamPIngram SamPIngram merged commit f68b391 into master Sep 29, 2025
5 checks passed
@SamPIngram SamPIngram deleted the add-pypi-release-action branch September 29, 2025 10:14
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