Skip to content

Commit 8a19e50

Browse files
authored
Fix spec for Dynamic to disallow Metadata-Version (#1057)
* Fix spec for `Dynamic to disallow `Metadata-Version` It accidentally listed `Version` which various tools already set dynamically (e.g. Flit). * Clarify that `Version` cannot be specified in `Dynamic` for wheels * Fix broken links due to an expired SSL cert * Update core-metadata.rst
1 parent 3bb21ec commit 8a19e50

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

source/specifications/binary-distribution-format.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ checker only needs to establish that RECORD matches the signature.
315315

316316
See
317317

318-
- https://self-issued.info/docs/draft-ietf-jose-json-web-signature.html
319-
- https://self-issued.info/docs/draft-jones-jose-jws-json-serialization.html
320-
- https://self-issued.info/docs/draft-ietf-jose-json-web-key.html
321-
- https://self-issued.info/docs/draft-jones-jose-json-private-key.html
318+
- https://datatracker.ietf.org/doc/html/rfc7515
319+
- https://tools.ietf.org/id/draft-jones-json-web-signature-json-serialization-01.html
320+
- https://datatracker.ietf.org/doc/html/rfc7517
321+
- https://tools.ietf.org/id/draft-jones-jose-json-private-key-01.html
322322

323323

324324
Comparison to .egg

source/specifications/core-metadata.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ Dynamic (multiple use)
106106
.. versionadded:: 2.2
107107

108108
A string containing the name of another core metadata field. The field
109-
names ``Name`` and ``Version`` may not be specified in this field.
109+
names ``Name``, ``Version``, and ``Metadata-Version`` may not be specified
110+
in this field.
110111

111112
When found in the metadata of a source distribution, the following
112113
rules apply:

0 commit comments

Comments
 (0)