python310Packages.django-extensions: Fix tests with pygments 2.14
This commit is contained in:
parent
d41972fb1a
commit
0c52a57161
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, django
|
||||
, factory_boy
|
||||
, mock
|
||||
@ -23,6 +24,14 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-i8A/FMba1Lc3IEBzefP3Uu23iGcDGYqo5bNv+u6hKQI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# pygments 2.14 compat for tests
|
||||
url = "https://github.com/django-extensions/django-extensions/commit/61ebfe38f8fca9225b41bec5418e006e6a8815e1.patch";
|
||||
hash = "sha256-+sxaQMmKi/S4IlfHqARPGhaqc+F1CXUHVFyeU/ArW2U=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=django_extensions --cov-report html --cov-report term" ""
|
||||
|
Loading…
Reference in New Issue
Block a user