Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.narwhals 0 -> 1 attrpath: python3Packages.narwhals Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/3rcpsahbs3ad31i532s3442mhcdjyxhd-packages.json.drv building '/nix/store/3rcpsahbs3ad31i532s3442mhcdjyxhd-packages.json.drv'... Going to be running update for following packages: - python3.13-narwhals-2.16.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-narwhals-2.16.0: UPDATING ... - python3.13-narwhals-2.16.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/narwhals/default.nix b/pkgs/development/python-modules/narwhals/default.nix index c37327e9ea01..366575d3c126 100644 --- a/pkgs/development/python-modules/narwhals/default.nix +++ b/pkgs/development/python-modules/narwhals/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "narwhals"; - version = "2.16.0"; + version = "2.23.0"; pyproject = true; src = fetchFromGitHub { owner = "narwhals-dev"; repo = "narwhals"; tag = "v${version}"; - hash = "sha256-k7CeM8Q4JgKbkLisAaVrljro4diOf0K0immek6AI0vM="; + hash = "sha256-fT3v7T2S7cmv0tX60kjRBrUq+89TG2/Ar9Qh9O4LP8U="; }; patches = [ No auto update branch exists Old version 2.16.0" not present in staging derivation file with contents: { lib, stdenv, buildPythonPackage, dask, duckdb, fetchFromGitHub, uv-build, hypothesis, ibis-framework, packaging, pandas, polars, pyarrow-hotfix, pyarrow, pyspark, pytest-env, pytest-xdist, pytestCheckHook, rich, sqlframe, }: buildPythonPackage rec { pname = "narwhals"; version = "2.23.0"; pyproject = true; src = fetchFromGitHub { owner = "narwhals-dev"; repo = "narwhals"; tag = "v${version}"; hash = "sha256-fT3v7T2S7cmv0tX60kjRBrUq+89TG2/Ar9Qh9O4LP8U="; }; build-system = [ uv-build ]; optional-dependencies = { # cudf = [ cudf ]; dask = [ dask ] ++ dask.optional-dependencies.dataframe; # modin = [ modin ]; pandas = [ pandas ]; polars = [ polars ]; pyarrow = [ pyarrow ]; pyspark = [ pyspark ]; ibis = [ ibis-framework rich packaging pyarrow-hotfix ]; sqlframe = [ sqlframe ]; }; nativeCheckInputs = [ duckdb hypothesis pytest-env pytest-xdist pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies; pythonImportsCheck = [ "narwhals" ]; disabledTests = [ # Flaky "test_rolling_var_hypothesis" # Missing file "test_pyspark_connect_deps_2517" # Timezone issue "test_to_datetime" "test_unary_two_elements" # Test requires pyspark binary "test_datetime_w_tz_pyspark" "test_convert_time_zone_to_connection_tz_pyspark" "test_replace_time_zone_to_connection_tz_pyspark" "test_lazy" # Incompatible with ibis 11 "test_unique_3069" # DuckDB 1.4.x compatibility - empty result schema handling with PyArrow "test_skew_expr" # ibis improvements cause strict XPASS failures (tests expected to fail now pass) "test_empty_scalar_reduction_with_columns" "test_collect_empty" "test_first_last_expr_over_order_by" "test_first_expr_broadcasting" # sqlframe improvements cause strict XPASS failures (tests expected to fail now pass) "test_unique_expr" # sqlframe issues "test_over_quantile" "test_quantile_expr" "test_join_duplicate_column_names" ]; disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # Segfault in included polars/lazyframe "tests/tpch_q1_test.py" ]; pytestFlags = [ "-Wignore::DeprecationWarning" ]; meta = { description = "Lightweight and extensible compatibility layer between dataframe libraries"; homepage = "https://github.com/narwhals-dev/narwhals"; changelog = "https://github.com/narwhals-dev/narwhals/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }