From ecee85016a8d685f4a3530fc4f68e54ac9bfd857 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 2 Sep 2017 13:28:03 -0400 Subject: [PATCH] new pipfile spec specifier Signed-off-by: Kenneth Reitz --- pipenv/vendor/pipfile/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pipenv/vendor/pipfile/api.py b/pipenv/vendor/pipfile/api.py index 8a2a6a30..1c4874b3 100644 --- a/pipenv/vendor/pipfile/api.py +++ b/pipenv/vendor/pipfile/api.py @@ -142,6 +142,7 @@ class Pipfile(object): """Returns a JSON representation of the Pipfile.""" data = self.data data['_meta']['hash'] = {"sha256": self.hash} + data['_meta']['pipfile-spec'] = 1 # return _json.dumps(data) return json.dumps(data, indent=4, separators=(',', ': '))