[Python-checkins] peps: pydist.json should be read from a valid container
nick.coghlan
python-checkins at python.org
Sun Mar 2 07:08:54 CET 2014
http://hg.python.org/peps/rev/2d41b932cccc
changeset: 5391:2d41b932cccc
user: Nick Coghlan <ncoghlan at gmail.com>
date: Sun Mar 02 16:08:11 2014 +1000
summary:
pydist.json should be read from a valid container
files:
pep-0426.txt | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/pep-0426.txt b/pep-0426.txt
--- a/pep-0426.txt
+++ b/pep-0426.txt
@@ -459,7 +459,13 @@
also be a wheel 1.1 format update after this PEP is approved that
mandates provision of 2.0+ metadata.
-Other tools involved in Python distribution may also use this format.
+Note that these metadata files SHOULD NOT be processed if the version of the
+containing location is too low to indicate that they are valid. Specifically,
+unversioned ``sdist`` archives, unversioned installation database directories
+and version 1.0 of the ``wheel`` specification do not cover ``pydist.json``
+files.
+
+Other tools involved in Python distribution MAY also use this format.
As JSON files are generally awkward to edit by hand, it is RECOMMENDED
that these metadata files be generated by build tools based on other
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list