Browse Source

env: downgrade gpiod in attempt to restore compatibility with python3.5 & python3.6

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

+ 3 - 0
Pipfile

@@ -13,6 +13,9 @@ cc1101 = {editable = true,path = "."}
 # > 3.4
 # https://pypi.org/project/spidev/3.4/
 spidev = {version = "3.4"}
+# python<3.7 compatibility
+# https://github.com/hhk7734/python3-gpiod/commit/e3c69a37a98783ec60194c7da32f7df57e421df4#diff-4411023b37c4dce2d8ffab26c4679ac8e0981a0f7f35364f4de8fbdfd87eec8fR24
+gpiod = "<1.5.0"
 
 [dev-packages]
 # black requires python>=3.6

+ 4 - 3
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "8d4dd3a61ea01f83e92f36b8247e12e503e0f1173e6d2b83a8713ee53f5d31d7"
+            "sha256": "8a809f28bb2dc27da8cc9aa5b9a983a3c3497191f91e262124bf39d99fe3ff81"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -22,9 +22,10 @@
         },
         "gpiod": {
             "hashes": [
-                "sha256:5cc34d3229a21ae82549cbf22a5f9e537349dc50cd1388fb808cc457b8cdc58c"
+                "sha256:0b07cd3454c0ae42ce155320a2300a81eea09dd9d74f7b4c36e15532846d40c0"
             ],
-            "version": "==1.5.0"
+            "index": "pypi",
+            "version": "==1.4.0"
         },
         "spidev": {
             "hashes": [