summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-07 17:27:07 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-09 19:05:10 +0200
commit3ebcd0bf218a1d7c66c38e8a01a89914017291f9 (patch)
treebfe62b7298a19c5d4d5dcad9d3e7c91981020c75
parentpython3Packages.anova-wifi: disable failing test (diff)
downloadnixpkgs-3ebcd0bf218a1d7c66c38e8a01a89914017291f9.tar.gz
python3Packages.pyatv: pin pytest-asyncio at 0.x
Otherwise it won't find the `event_loop` fixture.
-rw-r--r--pkgs/development/python-modules/pyatv/default.nix6
1 files 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