From 2469d1f5558c698be0cf30b74ddb369cb7d23eb2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 28 Jun 2026 18:44:04 +0200 Subject: [PATCH] python3Packages.fastparquet: ignore numpy deprecation warning --- pkgs/development/python-modules/fastparquet/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/fastparquet/default.nix b/pkgs/development/python-modules/fastparquet/default.nix index 1c8dcd43b6b7..d7f7c5a74afa 100644 --- a/pkgs/development/python-modules/fastparquet/default.nix +++ b/pkgs/development/python-modules/fastparquet/default.nix @@ -62,6 +62,13 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = [ + # DeprecationWarning: The 'generic' unit for NumPy timedelta is deprecated, + # and will raise an error in the future. This includes implicit conversion of bare + # integers (e.g. `+ 1`).Please use a specific unit instead. + "test_import_without_warning" + ]; + # Workaround https://github.com/NixOS/nixpkgs/issues/123561 preCheck = '' mv fastparquet/test .