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

Extended title underline in HISTORY.rst to fix twine error #334

Conversation

m-albert
Copy link
Collaborator

@m-albert m-albert commented Aug 3, 2023

After creating release candidate 2023.08.0, github actions showed the following error when trying to upload to pypi:

image

Using twine check dist/* locally, I found the error was caused by the newly added title underline in HISTORY.rst being too short:

2023.08.0 (2023-08-03)
------------------

At first I was bit puzzled because I had copied this directly from the output of generate_release_notes.py, however previous release summaries in HISTORY.rst contained long enough title underlines.

Maybe it'd be a good addition to generate_release_notes.py to automatically adapt the title underline to the title determined by the version. Also, it could make sense to include the suggestion to twine check dist/* in the release guide.

Something else to mention here is that twine warns WARNING `long_description_content_type` missing. defaulting to `text/x-rst`., which might be relevant for #306.

This PR corrects the title underline and will lead to a new release candidate.

@m-albert m-albert merged commit 67540af into dask:main Aug 3, 2023
9 checks passed
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