From 0a5bdfa3bfda3d351402ba92da7e4cbc77bc7623 Mon Sep 17 00:00:00 2001 From: Palmer Cox
Date: Thu, 16 Jan 2025 01:38:24 -0500 Subject: [PATCH] python3Packages.hypercorn: 0.16.0 -> 0.17.3 --- pkgs/development/python-modules/hypercorn/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/hypercorn/default.nix b/pkgs/development/python-modules/hypercorn/default.nix index 2ac0cb8e381aa3..0255c5fba46dcf 100644 --- a/pkgs/development/python-modules/hypercorn/default.nix +++ b/pkgs/development/python-modules/hypercorn/default.nix @@ -6,6 +6,7 @@ exceptiongroup, h11, h2, + httpx, priority, wsproto, poetry-core, @@ -16,7 +17,7 @@ buildPythonPackage rec { pname = "hypercorn"; - version = "0.16.0"; + version = "0.17.3"; format = "pyproject"; disabled = pythonOlder "3.11"; # missing taskgroup dependency @@ -25,7 +26,7 @@ buildPythonPackage rec { owner = "pgjones"; repo = "Hypercorn"; rev = version; - hash = "sha256-pIUZCQmC3c6FiV0iMMwJGs9TMi6B/YM+vaSx//sAmKE="; + hash = "sha256-AtSMURz1rOr6VTQ7L2EQ4XZeKVEGTPXTbs3u7IhnZo8"; }; postPatch = '' @@ -43,15 +44,13 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + httpx pytest-asyncio pytest-trio pytestCheckHook ]; - disabledTests = [ - # https://github.com/pgjones/hypercorn/issues/217 - "test_startup_failure" - ]; + __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "hypercorn" ];