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

chore: add readme and license to published artifacts #91

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

jusiskin
Copy link
Contributor

@jusiskin jusiskin commented Apr 1, 2024

What was the problem/requirement? (What/Why)

1. Publishing Error

We encountered a failure trying to publish to PyPI:

ERROR    `long_description` has syntax errors in markup and would not be        
         rendered on PyPI.

2. Missing license

The package was also missing a license in pyproject.toml.

What was the solution? (How)

  1. Discovered in Error: long_description has syntax errors in markup and would not be rendered on PyPI pypa/gh-action-pypi-publish#162, the fix was to add the following to pyproject.toml:

    [project]
    readme = "README.md"
  2. Added our license to pyproject.toml

What is the impact of this change?

We will be able to publish to PyPI without the above failure.

How was this change tested?

Ran hatch build and inspected the built archives. Confirmed the README.md was included.

Was this change documented?

No

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jusiskin jusiskin added the documentation Improvements or additions to documentation label Apr 1, 2024
@jusiskin jusiskin requested a review from a team as a code owner April 1, 2024 20:29
epmog
epmog previously approved these changes Apr 1, 2024
marofke
marofke previously approved these changes Apr 1, 2024
@jusiskin jusiskin enabled auto-merge (squash) April 1, 2024 20:30
@jusiskin jusiskin disabled auto-merge April 1, 2024 20:31
@jusiskin jusiskin marked this pull request as draft April 1, 2024 20:31
@jusiskin jusiskin dismissed stale reviews from marofke and epmog via 054fdb7 April 1, 2024 20:34
@jusiskin jusiskin force-pushed the jusiskin/publish_readme_in_build_artifacts branch from f6dfde4 to 054fdb7 Compare April 1, 2024 20:34
@jusiskin jusiskin changed the title chore: add readme to published artifacts chore: add readme and license to published artifacts Apr 1, 2024
@jusiskin jusiskin marked this pull request as ready for review April 1, 2024 20:35
@jusiskin jusiskin enabled auto-merge (squash) April 1, 2024 20:36
@jusiskin jusiskin merged commit 7ecfe81 into mainline Apr 1, 2024
12 checks passed
@jusiskin jusiskin deleted the jusiskin/publish_readme_in_build_artifacts branch April 1, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants