Skip to content

Conversation

jank324
Copy link
Member

@jank324 jank324 commented Apr 28, 2025

Description

Adds a GitHub Action pypi.yaml that automatically publishes to PyPI and creates a GitHub Release when a tag names t... is created.

Motivation and Context

  • I have raised an issue to propose this change (required for new features and bug fixes)

So far, to create a release, I always have to go in and manually build and upload the package.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (update in the documentation)

Checklist

  • I have updated the changelog accordingly (required).
  • My change requires a change to the documentation.
  • I have updated the tests accordingly (required for a bug fix or a new feature).
  • I have updated the documentation accordingly.
  • I have reformatted the code and checked that formatting passes (required).
  • I have have fixed all issues found by flake8 (required).
  • I have ensured that all pytest tests pass (required).
  • I have run pytest on a machine with a CUDA GPU and made sure all tests pass (required).
  • I have checked that the documentation builds (required).

Note: We are using a maximum length of 88 characters per line.

@jank324 jank324 self-assigned this Apr 28, 2025
@jank324 jank324 added the enhancement New feature or request label Apr 28, 2025
@jank324 jank324 marked this pull request as ready for review April 28, 2025 11:38
@jank324 jank324 requested review from Copilot and Hespe April 28, 2025 11:38
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new GitHub Action that automates the process of publishing the Python package to PyPI and creating a corresponding GitHub Release when a new tag is pushed. Key changes include:

  • Updating the CHANGELOG to record the new automation feature.
  • Adding a new GitHub Actions workflow file (.github/workflows/pypi.yaml) to build, publish, and sign the Python package.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
CHANGELOG.md Updated to include an entry for the PyPI publishing feature.
.github/workflows/pypi.yaml New workflow file that builds the package, publishes it to PyPI, signs the distributions, and creates a GitHub Release.

@jank324
Copy link
Member Author

jank324 commented Apr 28, 2025

@jank324 jank324 marked this pull request as draft April 28, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant