Skip to content

Commit

Permalink
python3Packages.pyatv: 0.13.4 -> 0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Sep 22, 2023
1 parent c178360 commit 213d74e
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions pkgs/development/python-modules/pyatv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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 = ''
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 213d74e

Please sign in to comment.