From 032cfaf859126e03b4ed4f5a0a317f7d092eb110 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 14 Jul 2026 01:55:24 +0200 Subject: [PATCH] python3Packges.fritzconnection: pin to pytest 9.0.x > __________ ERROR collecting fritzconnection/tests/test_core_utils.py ___________ > Duplicate parametrization IDs detected, but strict_parametrization_ids is set. > > Test name: fritzconnection/tests/test_core_utils.py::test_get_boolean_from_string > Parameters: value, expected_result > Parameter sets: ['true', True], ['false', False], ['wahr', None], ['falsch', None], ['None', None], [42, None], ['', None], [None, None] > IDs: true-True, false-False, wahr-None, falsch-None, None-None, 42-None, -None, None-None > Duplicates: None-None > > You can fix this problem using `@pytest.mark.parametrize(..., ids=...)` or `pytest.param(..., id=...)`. --- pkgs/development/python-modules/fritzconnection/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fritzconnection/default.nix b/pkgs/development/python-modules/fritzconnection/default.nix index 1de0d06e5db5..6b57efacea8f 100644 --- a/pkgs/development/python-modules/fritzconnection/default.nix +++ b/pkgs/development/python-modules/fritzconnection/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - pytestCheckHook, + pytest9_0CheckHook, requests, segno, setuptools, @@ -30,7 +30,7 @@ buildPythonPackage (finalAttrs: { }; nativeCheckInputs = [ - pytestCheckHook + pytest9_0CheckHook writableTmpDirAsHomeHook ];