Revert "python311Packages.markupsafe: 2.1.3 -> 2.1.5" (#286070)

Causes a darwin-stdenv rebuild, so I'm retargeting it towards staging instead.
This commit is contained in:
Martin Weinelt 2024-02-03 15:42:33 +01:00 committed by GitHub
parent b6f197d286
commit bcb6afc76e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,54 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
# build-system
, setuptools
# tests
, fetchPypi
, pytestCheckHook
# reverse dependencies
, jinja2
, mkdocs
, quart
, werkzeug
}:
buildPythonPackage rec {
pname = "markupsafe";
version = "2.1.5";
pyproject = true;
version = "2.1.3";
format = "setuptools";
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "MarkupSafe";
inherit version;
hash = "sha256-0oPTeokLpMGuc/+t+ARkNcdue8Ike7tjwAvRpwnGVEs=";
hash = "sha256-r1mO0y1q6G8bdHuCeDlYsaSrj2F7Bv5oeVx/Amq73K0=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"markupsafe"
];
passthru.tests = {
inherit
jinja2
mkdocs
quart
werkzeug
;
};
pythonImportsCheck = [ "markupsafe" ];
meta = with lib; {
changelog = "https://markupsafe.palletsprojects.com/en/${versions.majorMinor version}.x/changes/#version-${replaceStrings [ "." ] [ "-" ] version}";