python311Packages.django_5: Fix MIME UTF-8 surrogate escaping
This commit is contained in:
parent
df533183f7
commit
1d61161d18
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch2
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, substituteAll
|
||||
|
@ -64,6 +65,13 @@ buildPythonPackage rec {
|
|||
# disable test that excpects timezone issues
|
||||
./django_5_disable_failing_tests.patch
|
||||
|
||||
(fetchpatch2 {
|
||||
# https://github.com/django/django/pull/17979
|
||||
name = "django-mime-utf8-surrogates.patch";
|
||||
url = "https://github.com/django/django/commit/b231bcd19e57267ce1fc21d42d46f0b65fdcfcf8.patch";
|
||||
hash = "sha256-HhmRwi24VkoPoh+NygAThCoMywoMwrLijU4ZsDfVU34=";
|
||||
})
|
||||
|
||||
] ++ lib.optionals withGdal [
|
||||
(substituteAll {
|
||||
src = ./django_5_set_geos_gdal_lib.patch;
|
||||
|
|
Loading…
Reference in New Issue