Martin Weinelt 2024-03-07 01:02:51 +01:00
parent b95cff5d5c
commit e8092eeb44
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -9,8 +9,10 @@
# dependencies
, aiohappyeyeballs
, async-interrupt
, async-timeout
, chacha20poly1305-reuseable
, cryptography
, noiseprotocol
, protobuf
, zeroconf
@ -23,7 +25,7 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "21.0.2";
version = "23.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
@ -32,7 +34,7 @@ buildPythonPackage rec {
owner = "esphome";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-uNVf0wnqVntjTxkNTilvb0v6h3VBCjd91wbLQJ6q71g=";
hash = "sha256-iYaRA1Jj9Ew/s/LyS6U+NZ3TsAlXdDq0DAaudgFV5/o=";
};
nativeBuildInputs = [
@ -42,7 +44,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohappyeyeballs
async-interrupt
chacha20poly1305-reuseable
cryptography
noiseprotocol
protobuf
zeroconf
@ -56,6 +60,11 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = [
# https://github.com/esphome/aioesphomeapi/issues/837
"test_reconnect_logic_stop_callback"
];
pythonImportsCheck = [
"aioesphomeapi"
];