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 automatically to PyPI #418

Open
wants to merge 1 commit into
base: aaron/revup/main/sf-auto-version
Choose a base branch
from

Conversation

aaron-skydio
Copy link
Member

Use the pypa-blessed github action to publish built wheels automatically
to PyPI:
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

Just following the instructions there, with modifications to handle our
three different packages.

This setup is much nicer in combination with automatic versioning; on
each push to main we publish a dev release to TestPYPI, and when a tag
is pushed (which will tell setuptools_scm that the symforce version
should be that tag), wheels are published to PyPI.

Topic: sf-auto-publish
Relative: sf-auto-version

Use the pypa-blessed github action to publish built wheels automatically
to PyPI:
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

Just following the instructions there, with modifications to handle our
three different packages.

This setup is much nicer in combination with automatic versioning; on
each push to main we publish a dev release to TestPYPI, and when a tag
is pushed (which will tell setuptools_scm that the symforce version
should be that tag), wheels are published to PyPI.

Topic: sf-auto-publish
Relative: sf-auto-version
@aaron-skydio
Copy link
Member Author

Reviews in this chain:
#417 Use setuptools_scm for versioning
 └#418 Publish automatically to PyPI

@aaron-skydio
Copy link
Member Author

aaron-skydio commented Jan 3, 2025

# head base diff date summary
0 8bf3a3de 7dffc872 diff Jan 3 11:35 AM 2 files changed, 59 insertions(+), 6 deletions(-)
1 deb7a960 bce9c44a rebase Jan 3 12:22 PM 0 files changed
2 121ffd65 2a5d6a28 rebase Jan 3 12:52 PM 0 files changed

@aaron-skydio aaron-skydio force-pushed the aaron/revup/main/sf-auto-version branch from 7dffc87 to bce9c44 Compare January 3, 2025 20:22
@aaron-skydio aaron-skydio force-pushed the aaron/revup/main/sf-auto-publish branch from 8bf3a3d to deb7a96 Compare January 3, 2025 20:22
@aaron-skydio aaron-skydio force-pushed the aaron/revup/main/sf-auto-version branch from bce9c44 to 2a5d6a2 Compare January 3, 2025 20:52
@aaron-skydio aaron-skydio force-pushed the aaron/revup/main/sf-auto-publish branch from deb7a96 to 121ffd6 Compare January 3, 2025 20:52
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