From 3af6ee75ce71131511bd6021b9f97e9f7cd4916f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Jul 2023 08:45:16 +0200 Subject: [PATCH] python310Packages.returns: disable on unsupported Python releases --- pkgs/development/python-modules/returns/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/returns/default.nix b/pkgs/development/python-modules/returns/default.nix index 0d356de77f79..098ae334ccd0 100644 --- a/pkgs/development/python-modules/returns/default.nix +++ b/pkgs/development/python-modules/returns/default.nix @@ -1,14 +1,15 @@ { lib , anyio -, curio , buildPythonPackage +, curio , fetchFromGitHub , httpx , hypothesis , poetry-core -, pytestCheckHook , pytest-aio , pytest-subtests +, pytestCheckHook +, pythonOlder , setuptools , trio , typing-extensions @@ -19,6 +20,8 @@ buildPythonPackage rec { version = "0.21.0"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "dry-python"; repo = "returns";