Skip to content

feat(py_wheel): Add support for specifying Description-Content-Type and Summary in METADATA#1274

Merged
rickeylev merged 8 commits intobazel-contrib:mainfrom
sfc-gh-zpeng:description-content-type
Jun 16, 2023
Merged

feat(py_wheel): Add support for specifying Description-Content-Type and Summary in METADATA#1274
rickeylev merged 8 commits intobazel-contrib:mainfrom
sfc-gh-zpeng:description-content-type

Conversation

@sfc-gh-zpeng
Copy link
Copy Markdown
Contributor

@sfc-gh-zpeng sfc-gh-zpeng commented Jun 15, 2023

py_wheel allows to supply a description file, but it does not allow specifying the content type of that file.
By default, the type is "text/x-rst", but many packages are using a markdown description.

https://packaging.python.org/en/latest/specifications/core-metadata/#description-content-type

This change added the support.

@sfc-gh-zpeng sfc-gh-zpeng requested a review from rickeylev as a code owner June 15, 2023 21:57
@sfc-gh-zpeng
Copy link
Copy Markdown
Contributor Author

@sfc-gh-sdas (fyi)

@sfc-gh-zpeng sfc-gh-zpeng changed the title Added support for specifying Description-Content-Type in METADATA feat(py_wheel): Added support for specifying Description-Content-Type in METADATA Jun 15, 2023
@sfc-gh-zpeng sfc-gh-zpeng changed the title feat(py_wheel): Added support for specifying Description-Content-Type in METADATA feat(py_wheel): Added support for specifying Description-Content-Type and Summary in METADATA Jun 16, 2023
@sfc-gh-zpeng
Copy link
Copy Markdown
Contributor Author

@sfc-gh-zpeng sfc-gh-zpeng requested a review from rickeylev June 16, 2023 16:46
@rickeylev rickeylev changed the title feat(py_wheel): Added support for specifying Description-Content-Type and Summary in METADATA feat(py_wheel): Add support for specifying Description-Content-Type and Summary in METADATA Jun 16, 2023
@rickeylev rickeylev enabled auto-merge June 16, 2023 21:32
@rickeylev
Copy link
Copy Markdown
Collaborator

Docs look great, thank you!

@rickeylev rickeylev added this pull request to the merge queue Jun 16, 2023
Merged via the queue into bazel-contrib:main with commit 643a14b Jun 16, 2023
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