python3Packages.zha: 1.1.2 -> 1.3.0 (#515610)
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bellows";
|
||||
version = "0.49.0";
|
||||
version = "0.49.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "bellows";
|
||||
tag = version;
|
||||
hash = "sha256-haWej3ZcUPd9Rpqf2PH8r0useylnLDaPiSctrwLz71Q=";
|
||||
hash = "sha256-dt4cwew/jRpmXaZORfjNCivUMynFbRJITOnmP34Aq+I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
tag = version;
|
||||
hash = "sha256-GxNxc+cu3wBjz/1VF2+0DJ/PBTLlJKm0ncgzeaw5Fxw=";
|
||||
hash = "sha256-mDcvVwqzSmszaJDahzkRNteiO4C/eU+BqTdBpWj5yGw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha";
|
||||
version = "1.1.2";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha";
|
||||
tag = version;
|
||||
hash = "sha256-GPl3nXi24ukNHDE81keyu8m1xgS0MSRdo7ULxy6foGQ=";
|
||||
hash = "sha256-oB4vxq/DJjmypmcKS6IeYEh+dTvC0Wt9X79vPbtDJgE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -93,6 +93,7 @@ buildPythonPackage rec {
|
||||
"test_startup_concurrency_limit"
|
||||
"test_fan_ikea"
|
||||
"test_background"
|
||||
"test_gateway_startup_failure" # Failed first attempt, passed second, flaky
|
||||
];
|
||||
|
||||
disabledTestPaths = [ "tests/test_cluster_handlers.py" ];
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pyserial-asyncio-fast,
|
||||
setuptools,
|
||||
zigpy,
|
||||
}:
|
||||
@@ -35,6 +36,11 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
pyserial-asyncio-fast
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_connect" # Attempts to test ioctl
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -68,6 +68,13 @@ buildPythonPackage rec {
|
||||
"tests/application/test_startup.py"
|
||||
"tests/application/test_zdo_requests.py"
|
||||
"tests/application/test_zigpy_callbacks.py"
|
||||
# This hasn't been updated in 2 years, and we're getting new failing tests. Best I can do for now is disable them.
|
||||
# If this recieves an update, please give reenabling these tests a try.
|
||||
"tests/api/test_listeners.py"
|
||||
"tests/api/test_request.py"
|
||||
"tests/api/test_response.py"
|
||||
"tests/api/test_connect.py"
|
||||
"tests/test_uart.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-zigate";
|
||||
version = "0.13.4";
|
||||
version = "0.14.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy-zigate";
|
||||
tag = version;
|
||||
hash = "sha256-pVDqb2/7Pe9zvhNNTVQfl5EphEjOPdJwvCIoTdZm7S0=";
|
||||
hash = "sha256-kimlUwwlecXIBxKkBUJC8JqzMdt6Swf5SuOypOnXZCM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-znp";
|
||||
version = "0.14.3";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy-znp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-XH/nStEGI7jmhwT5JhII4Mc+uO7B9Ur3s5MLvUOFl9c=";
|
||||
hash = "sha256-beIFbmJ6h1wj+e+g+JvXedvBFjnjaTZ60PCYTbiUqic=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
freezegun,
|
||||
frozendict,
|
||||
jsonschema,
|
||||
pyserial-asyncio-fast,
|
||||
pytest-asyncio_0,
|
||||
pytest-asyncio,
|
||||
pytest-timeout,
|
||||
pytestCheckHook,
|
||||
serialx,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
voluptuous,
|
||||
@@ -24,14 +24,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "1.2.2";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
tag = version;
|
||||
hash = "sha256-xCgQJYZJTjt81RC6rLb5hEyauJD3qxMK5TXTxTgXwT4=";
|
||||
hash = "sha256-iBv7FKPeVzHc8xNvRLHDgWAuwHgTf4ByI1fA6Z134v8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -50,7 +50,7 @@ buildPythonPackage rec {
|
||||
cryptography
|
||||
frozendict
|
||||
jsonschema
|
||||
pyserial-asyncio-fast
|
||||
serialx
|
||||
typing-extensions
|
||||
voluptuous
|
||||
];
|
||||
@@ -59,7 +59,7 @@ buildPythonPackage rec {
|
||||
aioresponses
|
||||
filelock
|
||||
freezegun
|
||||
pytest-asyncio_0
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user