python3Packages.zigpy-znp: run tests

This commit is contained in:
Robert Schütz
2025-09-28 03:17:27 -07:00
parent ff0345ac3d
commit cc38e0a700
@@ -22,8 +22,6 @@ buildPythonPackage rec {
version = "0.14.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zigpy-znp";
@@ -41,15 +39,15 @@ buildPythonPackage rec {
build-system = [ setuptools ];
dependencies = [
async-timeout
coloredlogs
jsonschema
voluptuous
zigpy
]
++ lib.optionals (pythonOlder "3.11") [
async-timeout
];
doCheck = false; # tests are not compatible with zigpy 0.65.3
nativeCheckInputs = [
pytest-asyncio
pytest-mock
@@ -61,17 +59,6 @@ buildPythonPackage rec {
pytestFlags = [ "--reruns=3" ];
disabledTests = [
# failing since zigpy 0.60.0
"test_join_device"
"test_nonstandard_profile"
"test_permit_join"
"test_request_recovery_route_rediscovery_zdo"
"test_watchdog"
"test_zigpy_request"
"test_zigpy_request_failure"
];
pythonImportsCheck = [ "zigpy_znp" ];
meta = with lib; {