python312Packages.zigpy: 0.63.4 -> 0.63.5

Changelog: https://github.com/zigpy/zigpy/releases/tag/0.63.5
This commit is contained in:
Fabian Affolter 2024-04-02 18:36:50 +02:00 committed by Martin Weinelt
parent 962421a9e7
commit 87c0e628e1
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 13 additions and 6 deletions

View File

@ -7,6 +7,7 @@
, cryptography
, freezegun
, fetchFromGitHub
, jsonschema
, pycryptodome
, pyserial-asyncio
, pytest-asyncio
@ -19,7 +20,7 @@
buildPythonPackage rec {
pname = "zigpy";
version = "0.63.4";
version = "0.63.5";
pyproject = true;
disabled = pythonOlder "3.8";
@ -28,24 +29,25 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy";
rev = "refs/tags/${version}";
hash = "sha256-0wenUUkhgodsBID+ZT9JRoJeGDTqAChAIpj+9/Q3FMM=";
hash = "sha256-iZxHXxheyoA5vo0Pxojs7QE8rSyTpsYpJ6/OzDSZJ20=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"setuptools-git-versioning<2"' "" \
--replace 'dynamic = ["version"]' 'version = "${version}"'
--replace-fail '"setuptools-git-versioning<2"' "" \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
dependencies = [
aiohttp
aiosqlite
crccheck
cryptography
jsonschema
pyserial-asyncio
pycryptodome
voluptuous
@ -66,6 +68,11 @@ buildPythonPackage rec {
"test_periodic_scan_priority"
];
disabledTestPaths = [
# Tests require network access
"tests/ota/test_ota_providers.py"
];
pythonImportsCheck = [
"zigpy.application"
"zigpy.config"