python312Packages.django_5: drop obsolete patch

This commit is contained in:
Martin Weinelt 2024-03-26 15:40:16 +01:00
parent b776d8d98e
commit f2d6eb2139
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -2,7 +2,6 @@
, stdenv , stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch2
, pythonOlder , pythonOlder
, substituteAll , substituteAll
@ -64,11 +63,6 @@ buildPythonPackage rec {
# disable test that excpects timezone issues # disable test that excpects timezone issues
./django_5_disable_failing_tests.patch ./django_5_disable_failing_tests.patch
(fetchpatch2 {
# fix test on 3.12; https://github.com/django/django/pull/17843
url = "https://github.com/django/django/commit/bc8471f0aac8f0c215b9471b594d159783bac19b.patch";
hash = "sha256-g1T9b73rmQ0uk1lB+iQy1XwK3Qin3mf5wpRsyYISJaw=";
})
] ++ lib.optionals withGdal [ ] ++ lib.optionals withGdal [
(substituteAll { (substituteAll {
src = ./django_5_set_geos_gdal_lib.patch; src = ./django_5_set_geos_gdal_lib.patch;