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
This commit is contained in:
Fred Clausen
2026-07-10 08:49:52 -06:00
parent dc29ee8fa0
commit b62eea41c7

View File

@@ -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