setuptools: add pkg_resources.Requirement.url (#9657)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
Peter Pentchev
2023-02-02 09:44:08 +02:00
committed by GitHub
parent 0fc3a567fc
commit 1e5d72314f

View File

@@ -77,6 +77,7 @@ class Requirement:
key: str
extras: tuple[str, ...]
specs: list[tuple[str, str]]
url: str | None
# TODO: change this to packaging.markers.Marker | None once we can import
# packaging.markers
marker: Incomplete | None