Revert "python3Packages.pyatv: 0.13.4 -> 0.14.0"

This reverts commit 213d74e57e763a64ec3da7931978dd76f02a1197.

Requires pydantic>2.0 which was reverted in 9135cf087.
This commit is contained in:
Martin Weinelt 2023-09-23 15:50:16 +02:00
parent d3473c1de4
commit bf70dbe2cb

View file

@ -10,27 +10,22 @@
, 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.14.0";
version = "0.13.4";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -39,7 +34,7 @@ buildPythonPackage rec {
owner = "postlund";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-MVDjoo0v+zUXrluoUBc/hwVX+FeIYGzJgHsqNoI6HVo=";
hash = "sha256-rZnL18vO8eYn70GzeKSY528iTc0r/seGv0dYDYGHNzw=";
};
postPatch = ''
@ -75,25 +70,24 @@ 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"