Browse Source

dev env: add upper version constraint for `click` to keep compatibility with python3.5

https://github.com/fphammerle/switchbot-mqtt/commit/cfa4f82e751567445163f3233e9305c0d0086b31
Fabian Peter Hammerle 3 years ago
parent
commit
d62eed98b4
2 changed files with 4 additions and 1 deletions
  1. 2 0
      Pipfile
  2. 2 1
      Pipfile.lock

+ 2 - 0
Pipfile

@@ -27,6 +27,8 @@ pytest-cov = "*"
 # python3.5 compatibility
 # https://github.com/PyCQA/astroid/commit/d81f07becf3243a84e0baaa3493ce74cafed8022#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R52
 astroid = "<2.5"
+# https://github.com/pallets/click/commit/9374365fdd5af45fc3dc4047963fa30aad9ce15c
+click = "<8"
 # https://github.com/python/importlib_metadata/commit/107f9029fd5807c6579b881db19e11a0488f0675
 importlib-metadata = "<3"
 isort = "<5"

+ 2 - 1
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "faa17db8123067958e66a14c65b1258ae6b92b58c606b1402341e864fb00ce6a"
+            "sha256": "1f2ec58f224c7d532e139be127f8e9039c96a6a58d2e39f6bf19cd868f623b42"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -64,6 +64,7 @@
                 "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a",
                 "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"
             ],
+            "index": "pypi",
             "version": "==7.1.2"
         },
         "coverage": {