From 76e8a95910cfecfe4409125cb99485c787540eeb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 12 Oct 2024 11:39:50 +0200 Subject: [PATCH] python312Packages.hypothesis-auto: add optional-dependencies --- pkgs/development/python-modules/hypothesis-auto/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/hypothesis-auto/default.nix b/pkgs/development/python-modules/hypothesis-auto/default.nix index 7dcaf5cd0578..13457576cdb4 100644 --- a/pkgs/development/python-modules/hypothesis-auto/default.nix +++ b/pkgs/development/python-modules/hypothesis-auto/default.nix @@ -5,6 +5,7 @@ hypothesis, poetry-core, pydantic, + pytest, pytestCheckHook, pythonOlder, }: @@ -34,6 +35,10 @@ buildPythonPackage rec { pydantic ]; + optional-dependencies = { + pytest = [ pytest ]; + }; + pythonImportsCheck = [ "hypothesis_auto" ]; nativeCheckInputs = [ pytestCheckHook ];