Skip to content

Commit 6569d5c

Browse files
committed
Clarify prebuilt wheels
1 parent 875b13f commit 6569d5c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/specifications/core-metadata.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ only, and indicates that the field value was calculated at wheel build time,
133133
and may not be the same as the value in the sdist or in other wheels for the
134134
project.
135135

136-
Note in particular that if you have a wheel, you cannot assume that a field
137-
which is not marked as ``Dynamic`` will have the same value in other wheels, as
138-
some wheels are not built directly from the sdist, but are modified from
139-
existing wheels (the ``auditwheel`` tool does this, for example, and it's
140-
commonly used when building wheels for PyPI). Such modifications *could*
141-
include changing metadata (even non-dynamic metadata). Similarly, if you have
142-
a sdist and a wheel which you didn't build from that sdist, you cannot assume
143-
that the wheel's metadata matches that of the sdist, even if the field is not
144-
marked as ``Dynamic``.
136+
Note in particular that if you have obtained a prebuilt wheel, you cannot
137+
assume that a field which is not marked as ``Dynamic`` will have the same value
138+
in other wheels, as some wheels are not built directly from the sdist, but are
139+
modified from existing wheels (the ``auditwheel`` tool does this, for example,
140+
and it's commonly used when building wheels for PyPI). Such modifications
141+
*could* include changing metadata (even non-dynamic metadata). Similarly, if
142+
you have a sdist and a wheel which you didn't build from that sdist, you cannot
143+
assume that the wheel's metadata matches that of the sdist, even if the field
144+
is not marked as ``Dynamic``.
145145

146146
It is advisable, but not required, that tools which modify wheel metadata add
147147
the modified fields to the generated wheel's ``Dynamic`` field.

0 commit comments

Comments
 (0)