From 27a6b46f2741cc5cfcb5f972051af30f832d44fa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Sep 2023 14:06:44 +0200 Subject: [PATCH] python3Packages.pyatv: 0.13.4 -> 0.14.0 --- .../python-modules/pyatv/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix index 7401af8e47d3..c1f28e575cf0 100644 --- a/pkgs/development/python-modules/pyatv/default.nix +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -10,22 +10,27 @@ , miniaudio , netifaces , protobuf +, pydantic +, pydantic-settings +, pyfakefs , pytest-aiohttp , pytest-asyncio , pytest-httpserver , pytest-timeout +, pytest-xdist , pytestCheckHook , pythonRelaxDepsHook , pythonOlder , requests , srptools , stdenv +, tabulate , zeroconf }: buildPythonPackage rec { pname = "pyatv"; - version = "0.13.4"; + version = "0.14.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -34,7 +39,7 @@ buildPythonPackage rec { owner = "postlund"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-rZnL18vO8eYn70GzeKSY528iTc0r/seGv0dYDYGHNzw="; + hash = "sha256-MVDjoo0v+zUXrluoUBc/hwVX+FeIYGzJgHsqNoI6HVo="; }; postPatch = '' @@ -70,24 +75,25 @@ buildPythonPackage rec { miniaudio netifaces protobuf + pydantic + pydantic-settings requests srptools + tabulate zeroconf ]; nativeCheckInputs = [ deepdiff + pyfakefs pytest-aiohttp pytest-asyncio pytest-httpserver pytest-timeout + pytest-xdist pytestCheckHook ]; - pytestFlagsArray = [ - "--asyncio-mode=legacy" - ]; - disabledTests = lib.optionals (stdenv.isDarwin) [ # tests/protocols/raop/test_raop_functional.py::test_stream_retransmission[raop_properties2-2-True] - assert False "test_stream_retransmission"