@@ -446,6 +446,17 @@ contain any entries. In such cases, pip does not create any
446
446
is encouraged for consumers to rebuild wheels with a newer version of pip in
447
447
these cases.
448
448
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
+
449
460
Making the hashes key optional
450
461
------------------------------
451
462
@@ -670,10 +681,10 @@ which this idea originated.
670
681
Thanks to Donald Stufft, Ofek Lev, and Trishank Kuppusamy for early feedback
671
682
and support to work on this PEP.
672
683
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.
675
686
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
677
688
the proposed pip-sbom prototype.
678
689
679
690
Thanks 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
684
695
Thanks to Frost Ming for raising possible concern around storing index URL in
685
696
the ``provenance_url.json `` file and initial PEP 710 support in PDM.
686
697
698
+ Thanks to Charlie Marsh and Zanie Blue for inputs related to the uv installer.
699
+
687
700
Last, but not least, thanks to Donald Stufft for sponsoring this PEP.
688
701
689
702
Copyright
0 commit comments