From 5ed581f4aa6e62a5cc51662618e444dab82eabe6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 21 Jan 2026 18:36:19 +0100 Subject: [PATCH] python3Packages.pandas: 2.3.3 -> 3.0.0 https://pandas.pydata.org/docs/whatsnew/index.html This commit was automatically generated using update-python-libraries. --- .../python-modules/pandas/default.nix | 22 +++---------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index 1b6138529d56..c083167e69bc 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -63,32 +63,16 @@ let pandas = buildPythonPackage rec { pname = "pandas"; - version = "2.3.3"; + version = "3.0.0"; pyproject = true; src = fetchFromGitHub { owner = "pandas-dev"; repo = "pandas"; tag = "v${version}"; - hash = "sha256-jY1uM9HmJzoFk26ilbtzJnxAsQhmXS19r73JcFeFWRQ="; + hash = "sha256-pJTi0CL/ymXwERBsN4i7vjyUehklPjSSgfwpYbgoI+c="; }; - # A NOTE regarding the Numpy version relaxing: Both Numpy versions 1.x & - # 2.x are supported. However upstream wants to always build with Numpy 2, - # and with it to still be able to run with a Numpy 1 or 2. We insist to - # perform this substitution even though python3.pkgs.numpy is of version 2 - # nowadays, because our ecosystem unfortunately doesn't allow easily - # separating runtime and build-system dependencies. See also: - # - # https://discourse.nixos.org/t/several-comments-about-priorities-and-new-policies-in-the-python-ecosystem/51790 - # - # Being able to build (& run) with Numpy 1 helps for python environments - # that override globally the `numpy` attribute to point to `numpy_1`. - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "numpy>=2.0" numpy - ''; - build-system = [ cython meson-python @@ -105,7 +89,6 @@ let dependencies = [ numpy python-dateutil - pytz tzdata ]; @@ -165,6 +148,7 @@ let ]; spss = [ pyreadstat ]; sql-other = [ sqlalchemy ]; + timezone = [ pytz ]; xml = [ lxml ]; }; in