pretix: pin bleach at 5.0.1

Otherwise we run into TypeErrors on at least the pages plugin.
This commit is contained in:
Martin Weinelt 2024-08-05 17:22:56 +02:00
parent d84f6403ac
commit 081415aedf
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -13,6 +13,16 @@ let
python = python3.override {
self = python;
packageOverrides = self: super: {
bleach = super.bleach.overridePythonAttrs (oldAttrs: rec {
version = "5.0.1";
src = fetchPypi {
pname = "bleach";
inherit version;
hash = "sha256-DQMlXEfrm9Lyaqm7fyEHcy5+j+GVyi9kcJ/POwpKCFw=";
};
});
django = super.django_4;
django-oauth-toolkit = super.django-oauth-toolkit.overridePythonAttrs (oldAttrs: {
@ -84,7 +94,6 @@ python.pkgs.buildPythonApplication rec {
];
pythonRelaxDeps = [
"bleach"
"importlib-metadata"
"pillow"
"protobuf"