Skip to content

Allow specifying empty extras - #95

Merged
henryiii merged 1 commit into
pypa:mainfrom
gotmax23:empty-optionals
Apr 7, 2024
Merged

henryiii merged 1 commit into
pypa:mainfrom
gotmax23:empty-optionals

Conversation

@gotmax23

@gotmax23 gotmax23 commented Apr 7, 2024

Copy link
Copy Markdown
Contributor

Other implementations of core metadata generation support specifying empty extras. These are useful for backwards compatibility purposes. For example,
fastapi/typer#785 (reply in thread).

The Core metadata specifications document says:

It is legal to specify Provides-Extra: without referencing it in any
Requires-Dist:.

Ref: https://packaging.python.org/en/latest/specifications/core-metadata/#provides-extra-multiple-use

Other implementations of core metadata generation support specifying
empty extras. These are useful for backwards compatibility purposes.
For example,
<fastapi/typer#785 (reply in thread)>.

The Core metadata specifications document says:

> It is legal to specify `Provides-Extra:` without referencing it in any
> `Requires-Dist:`.

Ref: https://packaging.python.org/en/latest/specifications/core-metadata/#provides-extra-multiple-use
@henryiii
henryiii merged commit 87e7ec1 into pypa:main Apr 7, 2024
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