diff --git a/pkgs/development/python-modules/aiohappyeyeballs/default.nix b/pkgs/development/python-modules/aiohappyeyeballs/default.nix index 7a778be238be..b91d78c4db58 100644 --- a/pkgs/development/python-modules/aiohappyeyeballs/default.nix +++ b/pkgs/development/python-modules/aiohappyeyeballs/default.nix @@ -15,12 +15,13 @@ # tests pytest-asyncio, + pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { pname = "aiohappyeyeballs"; - version = "2.3.4"; + version = "2.3.5"; pyproject = true; disabled = pythonOlder "3.10"; @@ -29,7 +30,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = "aiohappyeyeballs"; rev = "refs/tags/v${version}"; - hash = "sha256-yzhxO/f9s6cKt5V3/qzqg+f0+iFx7MxuqUqryAY5Xac="; + hash = "sha256-elWMUOrR7wVi3C+BBpz1T8jiEg7LiJDw6hSlnr5kNxU="; }; outputs = [ @@ -37,14 +38,9 @@ buildPythonPackage rec { "doc" ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=aiohappyeyeballs --cov-report=term-missing:skip-covered" "" - ''; + nativeBuildInputs = [ poetry-core ] ++ optional-dependencies.docs; - nativeBuildInputs = [ poetry-core ] ++ passthru.optional-dependencies.docs; - - passthru.optional-dependencies = { + optional-dependencies = { docs = [ furo myst-parser @@ -55,6 +51,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ];