From b62eea41c7571ed7b971ab8a4c458edfed0a5d03 Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Fri, 10 Jul 2026 08:49:52 -0600 Subject: [PATCH] python3Packages.dfdiskcache: relax pandas<3 upper bound nixpkgs bumped pandas to 3.0.4, which trips df-diskcache's pinned 'pandas<3,>=1' runtime dependency check. Upstream still pins pandas<3 as of the v0.1.0 tag (no indication of pandas 3 testing), but the package's own test suite (4/4) passes fine against pandas 3.0.4 here. This was breaking the sbomnix build, which depends on dfdiskcache. https://github.com/thombashi/df-diskcache/blob/v0.1.0/requirements/requirements.txt --- pkgs/development/python-modules/dfdiskcache/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/dfdiskcache/default.nix b/pkgs/development/python-modules/dfdiskcache/default.nix index 284fc1c807f2..9a9a28b4f4f0 100644 --- a/pkgs/development/python-modules/dfdiskcache/default.nix +++ b/pkgs/development/python-modules/dfdiskcache/default.nix @@ -23,6 +23,12 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools ]; + # Upstream pins pandas<3 (still true as of the v0.1.0 tag), but the + # package works fine against pandas 3.x; relax the constraint rather + # than staying behind on pandas. + # https://github.com/thombashi/df-diskcache/blob/v0.1.0/requirements/requirements.txt + pythonRelaxDeps = [ "pandas" ]; + propagatedBuildInputs = [ pandas simplesqlite