Skip to content

Add data-requires-python to Simple HTML API #1054

@jobselko

Description

@jobselko

PEP 503

A repository MAY include a data-requires-python attribute on a file link. This exposes the Requires-Python metadata field, specified in PEP 345, for the corresponding release. Where this is present, installer tools SHOULD ignore the download when installing to a Python version that doesn’t satisfy the requirement. For example:

<a href="..." data-requires-python="&gt;=3">...</a>

In the attribute value, < and > have to be HTML encoded as < and >, respectively.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions