Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to PyPI and TestPyPI #94

Merged
merged 10 commits into from
Dec 19, 2024
Merged

Publish to PyPI and TestPyPI #94

merged 10 commits into from
Dec 19, 2024

Conversation

andrewphilipsmith
Copy link
Contributor

@andrewphilipsmith andrewphilipsmith commented Dec 13, 2024

This PR reinstates the CD process to publish the Python package to PyPI and TestPyPI. Packages will be published:

  • PyPI: when tagged commits are pushed to main
  • TestPyPI: on every commit to a pull request (though version numbers are not automatically bumped and the CD will not overwrite existing published packages)

Most common platform and architecture combinations are supported:

  • Windows, x64 and x86
  • MacOS 13 on x86_64 and MacOS15 on aarch64
  • Ubuntu, x64 and x86
  • Source distribution

There are problems with the build for Linux on non-intel architecture, which will be described and dealt with in more detail here #96.

This PR contributes to #77

release:
name: Release to PyPI
runs-on: ubuntu-latest
# TODO Re-enable after first successful run
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps this comment can be removed now?

Suggested change
# TODO Re-enable after first successful run

Update from PR review
@andrewphilipsmith andrewphilipsmith merged commit 72ca460 into main Dec 19, 2024
11 checks passed
@andrewphilipsmith andrewphilipsmith deleted the publish-to-pypi branch December 19, 2024 14:44
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