From 4bb246e2bd8a2b0e673cf2f045477a16ace2b4e9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 5 Feb 2026 11:14:26 +0100 Subject: [PATCH] python3Packages.bleach: relax tinycss2 constraint While this is an optional dependency and it doesn't block bleach itself it does block notebook, which uses a stricter transitive dependency constraint validation. --- pkgs/development/python-modules/bleach/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/bleach/default.nix b/pkgs/development/python-modules/bleach/default.nix index b9f3dd18cf7e..4c7c9a8a55a7 100644 --- a/pkgs/development/python-modules/bleach/default.nix +++ b/pkgs/development/python-modules/bleach/default.nix @@ -29,6 +29,8 @@ buildPythonPackage rec { webencodings ]; + pythonRelaxDeps = [ "tinycss2" ]; + optional-dependencies = { css = [ tinycss2 ]; };