From 3ebcd0bf218a1d7c66c38e8a01a89914017291f9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 7 Aug 2025 17:27:07 +0200 Subject: [PATCH] python3Packages.pyatv: pin pytest-asyncio at 0.x Otherwise it won't find the `event_loop` fixture. --- pkgs/development/python-modules/pyatv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix index 767b8c5eb067..c3266fffe3a4 100644 --- a/pkgs/development/python-modules/pyatv/default.nix +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -13,7 +13,7 @@ pydantic, pyfakefs, pytest-aiohttp, - pytest-asyncio, + pytest-asyncio_0, pytest-httpserver, pytest-timeout, pytestCheckHook, @@ -79,8 +79,8 @@ buildPythonPackage rec { nativeCheckInputs = [ deepdiff pyfakefs - pytest-aiohttp - pytest-asyncio + (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) + pytest-asyncio_0 pytest-httpserver pytest-timeout pytestCheckHook