From 5487d6059bc3be2a8b677d9ae6538e51ca377238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 9 Jan 2026 02:48:39 -0800 Subject: [PATCH] python3Packages.starlette-compress: only use zstandard for Python < 3.14 --- pkgs/development/python-modules/starlette-compress/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/starlette-compress/default.nix b/pkgs/development/python-modules/starlette-compress/default.nix index 5a2badcf6781..14a08def9cb2 100644 --- a/pkgs/development/python-modules/starlette-compress/default.nix +++ b/pkgs/development/python-modules/starlette-compress/default.nix @@ -7,6 +7,7 @@ brotli, brotlicffi, starlette, + pythonOlder, zstandard, pytestCheckHook, httpx, @@ -30,6 +31,8 @@ buildPythonPackage rec { dependencies = [ (if isPyPy then brotlicffi else brotli) starlette + ] + ++ lib.optionals (pythonOlder "3.14") [ zstandard ];