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

Add release-to-pypi GHA workflow #13

Merged
merged 6 commits into from
May 7, 2024
Merged

Add release-to-pypi GHA workflow #13

merged 6 commits into from
May 7, 2024

Conversation

meshy
Copy link
Contributor

@meshy meshy commented May 7, 2024

This will help us to release to PyPI when a tag is pushed to the main branch.

meshy and others added 6 commits May 7, 2024 16:16
This change was made with the command `make update`.
This makes tomllib available in Python 3.10.
This script verifies that the current commit has a tag, that the tag
matches the version in the `pyproject.toml` file, and that the tag is in
the CHANGELOG.

This will be used as part of the release process.

Co-authored-by: Sam Searles-Bryant <[email protected]>
This has some things commented out to facilitate testing before merging.

Co-authored-by: Sam Searles-Bryant <[email protected]>
Before this change, when building using
hynek/build-and-inspect-python-package@v2, we were seeing the error:

    ERROR    `long_description` has syntax errors in markup and would not be
             rendered on PyPI.
             No content rendered from RST source.
    WARNING  `long_description_content_type` missing. defaulting to `text/x-rst`.
    Checking /tmp/baipp/dist/django_integrity-0.0a0.tar.gz: FAILED due to warnings
    WARNING  `long_description_content_type` missing. defaulting to `text/x-rst`.
    WARNING  `long_description` missing.

I understand `readme` to be synonymous.

Co-authored-by: Sam Searles-Bryant <[email protected]>
@meshy meshy marked this pull request as ready for review May 7, 2024 17:10
@meshy meshy merged commit 77131f8 into main May 7, 2024
9 checks passed
@meshy meshy deleted the release-to-pypi branch May 7, 2024 17:23
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