From fea4b0e1f847ecc322e63fb94a98890519b227c0 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Thu, 8 Jan 2026 17:52:08 +0800 Subject: [PATCH] python3Packages.returns: use hypothesis_6_136 --- pkgs/development/python-modules/returns/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/returns/default.nix b/pkgs/development/python-modules/returns/default.nix index e66ffc6ef9fb..e0129305e666 100644 --- a/pkgs/development/python-modules/returns/default.nix +++ b/pkgs/development/python-modules/returns/default.nix @@ -4,7 +4,7 @@ buildPythonPackage, fetchFromGitHub, httpx, - hypothesis, + hypothesis_6_136, mypy, poetry-core, pytest-aio, @@ -41,14 +41,7 @@ buildPythonPackage rec { anyio httpx # https://github.com/dry-python/returns/issues/2224 - (hypothesis.overrideAttrs (old: { - src = fetchFromGitHub { - owner = "HypothesisWorks"; - repo = "hypothesis"; - tag = "hypothesis-python-6.136.9"; - hash = "sha256-Q1wxIJwAYKZ0x6c85CJSGgcdKw9a3xFw8YpJROElSNU="; - }; - })) + hypothesis_6_136 mypy pytestCheckHook pytest-aio