python313Packages.django-markup: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:23 +02:00
parent 5536941193
commit e46124906d

View File

@ -20,6 +20,7 @@
textile, textile,
# tests # tests
pytest-cov-stub,
pytest-django, pytest-django,
pytestCheckHook, pytestCheckHook,
}: }:
@ -38,10 +39,6 @@ buildPythonPackage rec {
hash = "sha256-dj5Z36W4Stly203SKWpR/DF+Wf7+ejbZnDCmHNRb3c0="; hash = "sha256-dj5Z36W4Stly203SKWpR/DF+Wf7+ejbZnDCmHNRb3c0=";
}; };
postPatch = ''
sed -i "/--cov/d" pyproject.toml
'';
build-system = [ poetry-core ]; build-system = [ poetry-core ];
dependencies = [ django ]; dependencies = [ django ];
@ -61,6 +58,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "django_markup" ]; pythonImportsCheck = [ "django_markup" ];
nativeCheckInputs = [ nativeCheckInputs = [
pytest-cov-stub
pytest-django pytest-django
pytestCheckHook pytestCheckHook
] ++ optional-dependencies.all_filter_dependencies; ] ++ optional-dependencies.all_filter_dependencies;