From 4006d2988c95c79f0246bbb6a72b04897a727765 Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Sun, 12 Oct 2025 09:05:07 -0400 Subject: [PATCH] python3Packages.sqlglot: add missing test dependencies sqlglot tests require numpy and pandas, which were previously provided transitively through duckdb. After duckdb update to 1.4.1, these became optional dependencies and are no longer available to sqlglot tests. --- pkgs/development/python-modules/sqlglot/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/sqlglot/default.nix b/pkgs/development/python-modules/sqlglot/default.nix index 5b6bb1ceec67..0499fd11382d 100644 --- a/pkgs/development/python-modules/sqlglot/default.nix +++ b/pkgs/development/python-modules/sqlglot/default.nix @@ -13,6 +13,8 @@ # tests pytestCheckHook, duckdb, + numpy, + pandas, }: buildPythonPackage rec { @@ -40,6 +42,8 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook duckdb + numpy + pandas ]; pythonImportsCheck = [ "sqlglot" ];