python3Packages.glean-parser: relax markupsafe constraint

This commit is contained in:
Martin Weinelt 2022-04-14 04:48:47 +02:00
parent f6e6d95100
commit 2dde351eca

View file

@ -26,6 +26,12 @@ buildPythonPackage rec {
hash = "sha256-PjOMNUnrz0kDfYEXv5Ni/9RIHn4Yylle6NJOK1Rb3SY=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" "" \
--replace "MarkupSafe==2.0.1" "MarkupSafe"
'';
nativeBuildInputs = [
setuptools-scm
];
@ -44,11 +50,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
'';
disabledTests = [
# https://bugzilla.mozilla.org/show_bug.cgi?id=1741668
"test_validate_ping"