diff --git a/pkgs/development/python-modules/pytest-httpx/default.nix b/pkgs/development/python-modules/pytest-httpx/default.nix index 347ac2257e12b..da22eea8d7f14 100644 --- a/pkgs/development/python-modules/pytest-httpx/default.nix +++ b/pkgs/development/python-modules/pytest-httpx/default.nix @@ -6,11 +6,12 @@ , pytest-asyncio , pytestCheckHook , pythonOlder +, pythonRelaxDepsHook }: buildPythonPackage rec { pname = "pytest-httpx"; - version = "0.21.3"; + version = "0.22.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -19,9 +20,13 @@ buildPythonPackage rec { owner = "Colin-b"; repo = "pytest_httpx"; rev = "refs/tags/v${version}"; - hash = "sha256-+jOPbEul/mkZbaR6ZqwLTgVtemi18vOYgqJcgv6JSII="; + hash = "sha256-J5Y5G3/8d9hAtDFqweqA73amnXUpPbmb0uTrCslpl9k="; }; + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + buildInputs = [ pytest ]; @@ -30,6 +35,10 @@ buildPythonPackage rec { httpx ]; + pythonRelaxDeps = [ + "httpx" + ]; + nativeCheckInputs = [ pytest-asyncio pytestCheckHook