@@ -437,6 +437,18 @@ contain any entries. In such cases, pip does not create any
437
437
is encouraged for consumers to rebuild wheels with a newer version of pip in
438
438
these cases.
439
439
440
+ uv developers `raised a concern about requiring at least one hash
441
+ <https://discuss.python.org/t/25428/34> `__ in the ``provenance_url.json `` file
442
+ as uv does not calculate distribution hashes unless explicitly required.
443
+ However, requiring at least one hash aids in integrity checks for
444
+ distributions. This is important in scenarios involving lock files or when
445
+ identifying distributions as part of SBOMs. The ``provenance_url.json `` file
446
+ mandates the inclusion of at least one hash for the downloaded distribution.
447
+ Installers that do not compute hashes of distributions as part of the
448
+ installation process (e.g., due to performance reasons) can omit creating the
449
+ ``provenance_url.json `` file. However, the limitations affecting the
450
+ auditability of Python environments should be taken into account.
451
+
440
452
Making the hashes key optional
441
453
------------------------------
442
454
@@ -646,17 +658,19 @@ which this idea originated.
646
658
Thanks to Donald Stufft, Ofek Lev, and Trishank Kuppusamy for early feedback
647
659
and support to work on this PEP.
648
660
649
- Thanks to Gregory P. Smith, Stéphane Bidoul, and C.A.M. Gerlach for
650
- reviewing this PEP and providing valuable suggestions.
661
+ Thanks to Gregory P. Smith, Stéphane Bidoul, C.A.M. Gerlach, and Adam Turner
662
+ for reviewing this PEP and providing valuable suggestions.
651
663
652
- Thanks to Seth Michael Larson for providing valuable suggestions and for
664
+ Thanks to Seth Michael Larson for support, providing valuable suggestions and for
653
665
the proposed pip-sbom prototype.
654
666
655
667
Thanks to Stéphane Bidoul and Chris Jerdonek for :pep: `610 `.
656
668
657
669
Thanks to Frost Ming for raising possible concern around storing index URL in
658
670
the ``provenance_url.json `` file.
659
671
672
+ Thanks to Charlie Marsh and Zanie Blue for inputs related to the uv installer.
673
+
660
674
Last, but not least, thanks to Donald Stufft for sponsoring this PEP.
661
675
662
676
Copyright
0 commit comments