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,
# 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;