From 840fb992ab91804b3be9ab804107f757c62f68bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Apr 2026 15:53:46 +0200 Subject: [PATCH 1/2] PEP 825: add a short note for installing from a local directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- peps/pep-0825.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/peps/pep-0825.rst b/peps/pep-0825.rst index e3ae58a4a74..5d15a02a388 100644 --- a/peps/pep-0825.rst +++ b/peps/pep-0825.rst @@ -741,6 +741,10 @@ Note that steps 4. through 8. are introduced specifically for variant wheels. The remaining steps correspond to the current installer behavior. +When a local directory is provided rather than a remote index, the same +algorithm is used, except that the variant metadata can be read directly +from the wheels rather than the index-level metadata file. + Installing a local wheel '''''''''''''''''''''''' From efc4c8c9069fd17f27815db170470f7938e9054e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Apr 2026 19:45:05 +0200 Subject: [PATCH 2/2] Make it more general, refer to source without index-level metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- peps/pep-0825.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/peps/pep-0825.rst b/peps/pep-0825.rst index 5d15a02a388..e73eac1a22a 100644 --- a/peps/pep-0825.rst +++ b/peps/pep-0825.rst @@ -741,9 +741,9 @@ Note that steps 4. through 8. are introduced specifically for variant wheels. The remaining steps correspond to the current installer behavior. -When a local directory is provided rather than a remote index, the same -algorithm is used, except that the variant metadata can be read directly -from the wheels rather than the index-level metadata file. +When installing from a source that does not provide an `index-level +metadata`_, the same algorithm can be used, except that the variant +metadata needs to be read directly from the wheels. Installing a local wheel