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" ];