فهرست منبع

HA 2022.3 compatibility: relax the dependency requirements.

Previously exact version matches were defined, as some of the github
workflows warn otherwise.
But now that HA is applying strict matching, exact matches are too
easily broken due to conflicting requirements between integrations.
Just specify a minimum, with compatible upgrades allowed.
Jason Rumney 4 سال پیش
والد
کامیت
073843ae34
4فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 1 1
      custom_components/tuya_local/manifest.json
  2. 3 3
      requirements-dev.txt
  3. 1 1
      requirements-first.txt
  4. 1 1
      requirements.txt

+ 1 - 1
custom_components/tuya_local/manifest.json

@@ -7,6 +7,6 @@
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "dependencies": [],
     "dependencies": [],
     "codeowners": ["@make-all"],
     "codeowners": ["@make-all"],
-    "requirements": ["pycryptodome==3.14.0","tinytuya==1.3.1"],
+    "requirements": ["pycryptodome~=3.14.1","tinytuya~=1.3.1"],
     "config_flow": true
     "config_flow": true
 }
 }

+ 3 - 3
requirements-dev.txt

@@ -1,8 +1,8 @@
 black
 black
 isort
 isort
-pytest-homeassistant-custom-component==0.4.5
+pytest-homeassistant-custom-component~=0.4.5
 pytest
 pytest
 pytest-asyncio
 pytest-asyncio
 pytest-cov
 pytest-cov
-pycryptodome==3.14.0
-tinytuya==1.3.1
+pycryptodome~=3.14.1
+tinytuya~=1.3.1

+ 1 - 1
requirements-first.txt

@@ -1 +1 @@
-pycryptodome==3.14.0
+pycryptodome~=3.14.1

+ 1 - 1
requirements.txt

@@ -1,2 +1,2 @@
-pycryptodome~=3.14.0
+pycryptodome~=3.14.1
 tinytuya~=1.3.1
 tinytuya~=1.3.1