소스 검색

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",
     "dependencies": [],
     "codeowners": ["@make-all"],
-    "requirements": ["pycryptodome==3.14.0","tinytuya==1.3.1"],
+    "requirements": ["pycryptodome~=3.14.1","tinytuya~=1.3.1"],
     "config_flow": true
 }

+ 3 - 3
requirements-dev.txt

@@ -1,8 +1,8 @@
 black
 isort
-pytest-homeassistant-custom-component==0.4.5
+pytest-homeassistant-custom-component~=0.4.5
 pytest
 pytest-asyncio
 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