From 0f8799f7b17ef7da143b7970d4b91c26211abfa2 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 15 Jun 2023 21:51:13 -0700 Subject: [PATCH] python310Packages.pytest-httpx: 0.21.3 -> 0.22.0 --- .../python-modules/pytest-httpx/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-httpx/default.nix b/pkgs/development/python-modules/pytest-httpx/default.nix index 347ac2257e12..da22eea8d7f1 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