From f66995e80287bcfb967f168e9181ba30be892fe6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Oct 2024 09:15:38 +0200 Subject: [PATCH] python312Packages.aiostream: switch to pytest-cov-stub - update disabled --- pkgs/development/python-modules/aiostream/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/aiostream/default.nix b/pkgs/development/python-modules/aiostream/default.nix index 4c03576350c6..701278b299c8 100644 --- a/pkgs/development/python-modules/aiostream/default.nix +++ b/pkgs/development/python-modules/aiostream/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, @@ -14,7 +15,7 @@ buildPythonPackage rec { version = "0.6.3"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "vxgmichel"; @@ -23,17 +24,13 @@ buildPythonPackage rec { hash = "sha256-MssA4gDo79mlHjVwQAxhX6DZPHB4Quo6V05Nye91oJg="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail " --cov aiostream" "" - ''; - build-system = [ setuptools ]; dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ];