4
0
Эх сурвалжийг харах

Add dependency on cryptography

Used >=45.0.0 because HA 2025.9.1 is currently ==45.0.3
AI suggests >=41.0.0 which probably comes from actual tinytuya requirement

For some reason wheels cannot build tinytuya from git without this,
though it is OK when using a released version of tinytuya (this was
previously removed to avoid conflict with HA and inherit whatever it
has).
Jason Rumney 5 сар өмнө
parent
commit
b3908f8dfc

+ 2 - 1
custom_components/tuya_local/manifest.json

@@ -16,7 +16,8 @@
     ],
     ],
     "requirements": [
     "requirements": [
         "git+https://github.com/jasonacox/tinytuya.git@v2.0.0-async",
         "git+https://github.com/jasonacox/tinytuya.git@v2.0.0-async",
-        "tuya-device-sharing-sdk~=0.2.1"
+        "tuya-device-sharing-sdk~=0.2.1",
+        "cryptography>=45.0.0"
     ],
     ],
     "version": "2025.9.1-async-experimental"
     "version": "2025.9.1-async-experimental"
 }
 }