Parcourir la source

Add pycryptodome as a dependency

This fulfills the requirement from pytuya, but doesn't yet fix the issue
where pytuya needs crypto to be present as part of its setup.
Nik Rolls il y a 5 ans
Parent
commit
b7afcb8c93

+ 1 - 1
README.md

@@ -165,4 +165,4 @@ None of this would have been possible without some foundational discovery work t
 - [TarxBoy](https://github.com/TarxBoy)'s [investigation using codetheweb/tuyapi](https://github.com/codetheweb/tuyapi/issues/31) to figure out the correlation of the cryptic DPS states
 - [sean6541](https://github.com/sean6541)'s [tuya-homeassistant](https://github.com/sean6541/tuya-homeassistant) library giving an example of integrating Tuya devices with Home Assistant
 - [clach04](https://github.com/clach04)'s [python-tuya](https://github.com/clach04/python-tuya) library
-- [make-all](https://github.com/etamtlosz), [etamtlosz](https://github.com/etamtlosz) and [KiLLeRRaT](https://github.com/KiLLeRRaT) for their support and dev work towards GECO and GPCV heaters
+- [make-all](https://github.com/make-all), [etamtlosz](https://github.com/etamtlosz) and [KiLLeRRaT](https://github.com/KiLLeRRaT) for their support and dev work towards GECO and GPCV heaters

+ 1 - 1
custom_components/goldair_climate/manifest.json

@@ -4,6 +4,6 @@
   "documentation": "https://github.com/nikrolls/homeassistant-goldair-climate",
   "dependencies": [],
   "codeowners": ["@nikrolls"],
-  "requirements": ["pytuya~=7.0.5"],
+  "requirements": ["pycryptodome~=3.9","pytuya~=7.0.5"],
   "config_flow": true
 }

+ 1 - 1
requirements-dev.txt

@@ -1,5 +1,5 @@
 homeassistant~=0.110
-pycrypto~=2.6
+pycryptodome~=3.9
 pytuya~=7.0
 pytest~=5.4
 pytest-cov~=2.9

+ 1 - 1
requirements-first.txt

@@ -1 +1 @@
-pycrypto~=2.6
+pycryptodome~=3.9

+ 1 - 1
requirements.txt

@@ -1,2 +1,2 @@
-pycrypto~=2.6
+pycryptodome~=3.9
 pytuya~=7.0