python312Packages.django_5: disable failing test
With the revert of xz 5.4.6 (down from 5.6.0) this test started failing on aarch64-linux on Python 3.12.
This commit is contained in:
parent
8c820d24f8
commit
dc9aaedc99
|
@ -2,6 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, substituteAll
|
, substituteAll
|
||||||
|
|
||||||
|
@ -75,6 +76,11 @@ buildPythonPackage rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace tests/utils_tests/test_autoreload.py \
|
substituteInPlace tests/utils_tests/test_autoreload.py \
|
||||||
--replace "/usr/bin/python" "${python.interpreter}"
|
--replace "/usr/bin/python" "${python.interpreter}"
|
||||||
|
'' + lib.optionalString (pythonAtLeast "3.12" && stdenv.hostPlatform.system == "aarch64-linux") ''
|
||||||
|
# Test regression after xz was reverted from 5.6.0 to 5.4.6
|
||||||
|
# https://hydra.nixos.org/build/254532197
|
||||||
|
substituteInPlace tests/view_tests/tests/test_debug.py \
|
||||||
|
--replace-fail "test_files" "dont_test_files"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user