From e46124906dbb8a0f877789b8e620f512c0b72227 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:23 +0200 Subject: [PATCH] python313Packages.django-markup: migrate to pytest-cov-stub --- pkgs/development/python-modules/django-markup/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/django-markup/default.nix b/pkgs/development/python-modules/django-markup/default.nix index e3b697a659c4..f5d5eeaaa93c 100644 --- a/pkgs/development/python-modules/django-markup/default.nix +++ b/pkgs/development/python-modules/django-markup/default.nix @@ -20,6 +20,7 @@ textile, # tests + pytest-cov-stub, pytest-django, pytestCheckHook, }: @@ -38,10 +39,6 @@ buildPythonPackage rec { hash = "sha256-dj5Z36W4Stly203SKWpR/DF+Wf7+ejbZnDCmHNRb3c0="; }; - postPatch = '' - sed -i "/--cov/d" pyproject.toml - ''; - build-system = [ poetry-core ]; dependencies = [ django ]; @@ -61,6 +58,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "django_markup" ]; nativeCheckInputs = [ + pytest-cov-stub pytest-django pytestCheckHook ] ++ optional-dependencies.all_filter_dependencies;