From 8a56b248d9cc34d8846854eae8fcb1a53b8e35ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 22 Feb 2025 20:18:05 -0800 Subject: [PATCH] python313Packages.shiny: fix tests --- pkgs/development/python-modules/shiny/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/shiny/default.nix b/pkgs/development/python-modules/shiny/default.nix index 07d667fcc20d..2319e727d095 100644 --- a/pkgs/development/python-modules/shiny/default.nix +++ b/pkgs/development/python-modules/shiny/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, setuptools, setuptools-scm, @@ -53,6 +54,14 @@ buildPythonPackage rec { hash = "sha256-8bo2RHuIP7X7EaOlHd+2m4XU287owchAwiqPnpjKFjI="; }; + patches = [ + (fetchpatch { + name = "fix-narwhals-test.patch"; + url = "https://github.com/posit-dev/py-shiny/commit/184a9ebd81ff730439513f343576a68f8c1f6eb9.patch"; + hash = "sha256-DsGnuHQXODzGwpe8ZUHeXGzRFxxduwxCRk82RJaYZg0="; + }) + ]; + build-system = [ setuptools setuptools-scm