Browse Source

env: remove "click" for python<3.6 to restore compatibility with python3.4 (only required by black)

Fabian Peter Hammerle 3 years ago
parent
commit
b6ba2c75cd
2 changed files with 5 additions and 1 deletions
  1. 2 0
      Pipfile
  2. 3 1
      Pipfile.lock

+ 2 - 0
Pipfile

@@ -25,6 +25,8 @@ pytest-cov = "<2.9.0"
 # version constraints for python3.4 support:
 # https://github.com/PyCQA/astroid/commit/4a4b7faf9de8437f2b96bc7285802fd1230b7a9a
 astroid = "<2.3.0"
+# https://github.com/pallets/click/commit/35929957d81ab18a7bc0d75e850449f3f1068107#diff-2eeaed663bd0d25b7e608891384b7298R27
+click = {version = "*", markers="python_version >= '3.6'"}
 coverage = "<5"
 # https://gitlab.com/python-devs/importlib_metadata/commit/cf58e1a6515adc4ad6f84cce5e89cd5ef830b317
 importlib-metadata = "<1.2.0"

+ 3 - 1
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "c247d5c35964db851beb35cdaf585d5179b5f22aa3683d6783cd4869b4735932"
+            "sha256": "2bd0d1a66861b1efd09eb625b96c81351015ed8326654f39e1b69ab70e6e4e72"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -65,6 +65,8 @@
                 "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a",
                 "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"
             ],
+            "index": "pypi",
+            "markers": "python_version >= '3.6'",
             "version": "==7.1.2"
         },
         "coverage": {