@@ -446,6 +446,17 @@ contain any entries. In such cases, pip does not create any
446446is encouraged for consumers to rebuild wheels with a newer version of pip in
447447these cases.
448448
449+ uv developers `raised a concern about requiring at least one hash
450+ <https://discuss.python.org/t/25428/34> `__ in the ``provenance_url.json `` file
451+ as uv does not calculate distribution hashes unless explicitly required.
452+ However, requiring at least one hash aids in integrity checks for
453+ distributions. This is important in scenarios involving lock files or when
454+ identifying distributions as part of SBOMs. The ``provenance_url.json `` file
455+ mandates the inclusion of at least one hash for the downloaded distribution.
456+ Installers that do not compute hashes of distributions as part of the
457+ installation process (e.g., due to performance reasons) can omit creating the
458+ ``provenance_url.json `` file.
459+
449460Making the hashes key optional
450461------------------------------
451462
@@ -670,10 +681,10 @@ which this idea originated.
670681Thanks to Donald Stufft, Ofek Lev, and Trishank Kuppusamy for early feedback
671682and support to work on this PEP.
672683
673- Thanks to Gregory P. Smith, Stéphane Bidoul, and C.A.M. Gerlach for
674- reviewing this PEP and providing valuable suggestions.
684+ Thanks to Gregory P. Smith, Stéphane Bidoul, C.A.M. Gerlach, and Adam Turner
685+ for reviewing this PEP and providing valuable suggestions.
675686
676- Thanks to Seth Michael Larson for providing valuable suggestions and for
687+ Thanks to Seth Michael Larson for support, providing valuable suggestions and for
677688the proposed pip-sbom prototype.
678689
679690Thanks to Stéphane Bidoul and Chris Jerdonek for :pep: `610 `, and related
@@ -684,6 +695,8 @@ Thanks to Stéphane Bidoul and Chris Jerdonek for :pep:`610`, and related
684695Thanks to Frost Ming for raising possible concern around storing index URL in
685696the ``provenance_url.json `` file and initial PEP 710 support in PDM.
686697
698+ Thanks to Charlie Marsh and Zanie Blue for inputs related to the uv installer.
699+
687700Last, but not least, thanks to Donald Stufft for sponsoring this PEP.
688701
689702Copyright
0 commit comments