diff --git a/pyproject.toml b/pyproject.toml index fe978601b8..e076edf958 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,12 +27,14 @@ dependencies = [ "PyYAML~=6.0.3", "RestrictedPython~=8.1", "WeasyPrint==68.0", + # we don't use tinycss2 directly, but pinned to ensure compatibility with WeasyPrint and bleach + "tinycss2~=1.5.1,<1.6", "pydyf==0.12.1", "Werkzeug==3.1.5", "Whoosh~=2.7.4", "beautifulsoup4~=4.13.5", "bleach-allowlist~=1.0.3", - "bleach[css]~=6.3.0", + "bleach~=6.3.0", "chardet~=5.2.0", "croniter~=6.0.0", "cryptography~=46.0.3",