Skip to content

Commit 1d10fc5

Browse files
authored
PEP 751: provide explanation for why path and url are optional (#4109)
1 parent 4e980c4 commit 1d10fc5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

peps/pep-0751.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,19 @@ simply defaulting to the baseline in tools without considering the security
10831083
ramifications of that hash algorithm.
10841084

10851085

1086+
------------------------------------
1087+
Require a URL or file path for files
1088+
------------------------------------
1089+
1090+
Originally references to files were required, e.g., ``packages.sdist.url`` or
1091+
``packages.sdist.path``. But at least
1092+
`one use-case <https://discuss.python.org/t/pep-751-now-with-graphs/69721/34>`__
1093+
surfaced during discussions about this PEP where statically specifying the
1094+
location of files would be problematic. And in earlier discussions the idea of
1095+
the location being a hint wasn't preferred. Hence the PEP now makes the data
1096+
optional, but considers the locations accurate if specified.
1097+
1098+
10861099
-----------
10871100
File naming
10881101
-----------

0 commit comments

Comments
 (0)