From 6ba7b01271e0530a58c2e97c5b2aee1eef2bad8c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 8 Aug 2024 02:00:38 +0200 Subject: [PATCH] python312Packages.aiohappyeyeballs: 2.3.4 -> 2.3.5 https://github.com/bdraco/aiohappyeyeballs/blob/v2.3.5/CHANGELOG.md --- .../python-modules/aiohappyeyeballs/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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 ];