From 25cc5b62cd54ab7a613a9534a6cd18c76203ce63 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 5 Nov 2024 10:44:37 -0800 Subject: [PATCH] PEP 751: make `path`/`url` optional --- peps/pep-0751.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peps/pep-0751.rst b/peps/pep-0751.rst index 7ec44af1b5e..c3d29f453a5 100644 --- a/peps/pep-0751.rst +++ b/peps/pep-0751.rst @@ -499,7 +499,7 @@ See ``groups.requirements.marker``. ``packages.sdist.url`` '''''''''''''''''''''' -- Required if ``path`` is not set +- Optional; mutually-exclusive with ``path`` - String - The URL to the file. @@ -507,7 +507,7 @@ See ``groups.requirements.marker``. ``packages.sdist.path`` ''''''''''''''''''''''' -- Required if ``url`` is not set +- Optional; mutually-exclusive with ``url`` - String - A path to the file, which may be absolute or relative. - If the path is relative it MUST be relative to the lock file.