Browse Source

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

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

+ 2 - 1
Pipfile

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

+ 3 - 3
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "8a809f28bb2dc27da8cc9aa5b9a983a3c3497191f91e262124bf39d99fe3ff81"
+            "sha256": "4e59af67df70f9d30795c6bc94668084e92b5ce31982ee3add26002e5f47bc72"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -22,10 +22,10 @@
         },
         "gpiod": {
             "hashes": [
-                "sha256:0b07cd3454c0ae42ce155320a2300a81eea09dd9d74f7b4c36e15532846d40c0"
+                "sha256:667a156f707f60f3a68300c43b1392b6c8bf8104a9f42dcced2d9957c2a86dd0"
             ],
             "index": "pypi",
-            "version": "==1.4.0"
+            "version": "==1.2.1"
         },
         "spidev": {
             "hashes": [