Skip to content

Commit

Permalink
python3Packages.hypercorn: 0.16.0 -> 0.17.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Palmer Cox committed Jan 16, 2025
1 parent 62e9d4a commit 0a5bdfa
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pkgs/development/python-modules/hypercorn/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
exceptiongroup,
h11,
h2,
httpx,
priority,
wsproto,
poetry-core,
Expand All @@ -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
Expand All @@ -25,7 +26,7 @@ buildPythonPackage rec {
owner = "pgjones";
repo = "Hypercorn";
rev = version;
hash = "sha256-pIUZCQmC3c6FiV0iMMwJGs9TMi6B/YM+vaSx//sAmKE=";
hash = "sha256-AtSMURz1rOr6VTQ7L2EQ4XZeKVEGTPXTbs3u7IhnZo8";
};

postPatch = ''
Expand All @@ -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" ];

Expand Down

0 comments on commit 0a5bdfa

Please sign in to comment.