python310Packages.zigpy-znp: 0.9.3 -> 0.10.0
https://github.com/zigpy/zigpy-znp/releases/tag/v0.10.0
This commit is contained in:
parent
e56a6c94c6
commit
76f74c2203
@ -1,15 +1,13 @@
|
||||
{ lib
|
||||
, async-timeout
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, coloredlogs
|
||||
, fetchFromGitHub
|
||||
, jsonschema
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytest-timeout
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
@ -18,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-znp";
|
||||
version = "0.9.3";
|
||||
version = "0.10.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -27,15 +25,18 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-UTL7g9tIXtMVeBRq5Fdw5VqUB9H/LaobASwHlFPoO2s=";
|
||||
hash = "sha256-pQ1T7MTrL789kd8cbbsjRLUaxd1yHF7sDwow2UksQ7c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "timeout = 20" "timeout = 300"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
coloredlogs
|
||||
jsonschema
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
voluptuous
|
||||
zigpy
|
||||
];
|
||||
@ -44,9 +45,18 @@ buildPythonPackage rec {
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
asynctest
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# https://github.com/zigpy/zigpy-znp/issues/209
|
||||
"--deselect=tests/application/test_joining.py::test_join_device"
|
||||
"--deselect=tests/application/test_joining.py::test_permit_join"
|
||||
"--deselect=tests/application/test_requests.py::test_request_recovery_route_rediscovery_zdo"
|
||||
"--deselect=tests/application/test_requests.py::test_zigpy_request"
|
||||
"--deselect=tests/application/test_requests.py::test_zigpy_request_failure"
|
||||
"--deselect=tests/application/test_zdo_requests.py::test_mgmt_nwk_update_req"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
Loading…
Reference in New Issue
Block a user