From 7ffe82956d52c94333732041c43cce174c4b99c7 Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Wed, 17 Jul 2024 14:12:59 +0530 Subject: [PATCH] chore(deps): pin pydyf to 0.10.0 weasyprint had a loose requirement of >=0.6.0 earlier pydyf changed their constructor in 0.11.0 Later versions of weasyprint would work (they did pin their dependencies, but there's still a conflict due to `bleach[css]` The conflict is caused by: weasyprint 62.3 depends on tinycss2>=1.3.0 bleach[css] 6.0.0 depends on tinycss2<1.2 and >=1.1.0; extra == "css" For now, pinning this is the simplest solution until we upgrade other packages as well Signed-off-by: Akhil Narang --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 6b27020480..242a09f54d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ dependencies = [ "PyYAML~=6.0.1", "RestrictedPython~=7.0", "WeasyPrint==59.0", + "pydyf==0.10.0", "Werkzeug~=3.0.1", "Whoosh~=2.7.4", "beautifulsoup4~=4.12.2",