From cfbaaee16a541c1315b14ae5d29e3950a27bf251 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 May 2025 13:18:53 +0200 Subject: [PATCH] python313Packages.narwhals: 1.38.2 -> 1.40.0 Changelog: https://github.com/narwhals-dev/narwhals/releases/tag/v1.40.0 --- .../python-modules/narwhals/default.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/narwhals/default.nix b/pkgs/development/python-modules/narwhals/default.nix index 96484762249a..c1082a14be28 100644 --- a/pkgs/development/python-modules/narwhals/default.nix +++ b/pkgs/development/python-modules/narwhals/default.nix @@ -6,25 +6,29 @@ fetchFromGitHub, hatchling, hypothesis, + ibis-framework, + packaging, pandas, polars, + pyarrow-hotfix, pyarrow, pyspark, pytest-env, pytestCheckHook, + rich, sqlframe, }: buildPythonPackage rec { pname = "narwhals"; - version = "1.38.2"; + version = "1.40.0"; pyproject = true; src = fetchFromGitHub { owner = "narwhals-dev"; repo = "narwhals"; tag = "v${version}"; - hash = "sha256-zqtYTqirAXLcpFA2sXczl0HPWL/3cYWws2yUfE8I8NY="; + hash = "sha256-cCgWKH4DzENTI1vwxOU+GRp/poUe55XqSPY8UHYy9PI="; }; build-system = [ hatchling ]; @@ -37,6 +41,12 @@ buildPythonPackage rec { polars = [ polars ]; pyarrow = [ pyarrow ]; pyspark = [ pyspark ]; + ibis = [ + ibis-framework + rich + packaging + pyarrow-hotfix + ]; sqlframe = [ sqlframe ]; }; @@ -54,6 +64,9 @@ buildPythonPackage rec { "test_rolling_var_hypothesis" # Missing file "test_pyspark_connect_deps_2517" + # Timezone issue + "test_to_datetime" + "test_unary_two_elements" ]; pytestFlagsArray = [