From 31a9d8a184a4dd2268df53672ec5dbc017a5eec9 Mon Sep 17 00:00:00 2001 From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Tue, 28 Sep 2021 18:41:35 -0400 Subject: [PATCH] Fix python_version markers in Pipfile.lock (#2511) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This took way too much effort but in the end I was able to achieve a (mostly) functional Pipfile.lock ranging from 3.6 to 3.9 🎉 --- Pipfile | 4 ++-- Pipfile.lock | 17 +++++++---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Pipfile b/Pipfile index 6c635a6..c6cd8d4 100644 --- a/Pipfile +++ b/Pipfile @@ -48,6 +48,6 @@ pathspec = ">=0.8.1" regex = ">=2020.1.8" tomli = ">=0.2.6, <2.0.0" typed-ast = "==1.4.2" -typing_extensions = {"python_version <" = "3.10","version >=" = "3.10.0.0"} +typing_extensions = {markers = "python_version < '3.10'", version = ">=3.10.0.0"} black = {editable = true,extras = ["d"],path = "."} -dataclasses = {"python_version <" = "3.7","version >" = "0.1.3"} +dataclasses = {markers = "python_version < '3.7'", version = ">0.1.3"} diff --git a/Pipfile.lock b/Pipfile.lock index 0cbe901..22b66ba 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "8b28e41c5a63f0c30361d2a0ed29dc1e3f0468223ef150ae68586839e2ccf1c9" + "sha256": "192f075f04e702887745a3f19056b0172d83e4bc494fff4e0bcd6cfcafedd512" }, "pipfile-spec": 6, "requires": {}, @@ -102,9 +102,8 @@ "sha256:8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97" ], "index": "pypi", - "python_version <": "3.7", - "version": "==0.8", - "version >": "0.1.3" + "markers": "python_version < '3.7'", + "version": "==0.8" }, "idna": { "hashes": [ @@ -321,9 +320,8 @@ "sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84" ], "index": "pypi", - "python_version <": "3.10", - "version": "==3.10.0.0", - "version >=": "3.10.0.0" + "markers": "python_version < '3.10'", + "version": "==3.10.0.0" }, "yarl": { "hashes": [ @@ -1558,9 +1556,8 @@ "sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84" ], "index": "pypi", - "python_version <": "3.10", - "version": "==3.10.0.0", - "version >=": "3.10.0.0" + "markers": "python_version < '3.10'", + "version": "==3.10.0.0" }, "urllib3": { "hashes": [ -- 2.39.5