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.
This commit is contained in:
Cameron Smith
2025-10-23 15:53:13 +03:00
committed by Onni Hakala
parent 61aacedd92
commit 4006d2988c
@@ -13,6 +13,8 @@
# tests
pytestCheckHook,
duckdb,
numpy,
pandas,
}:
buildPythonPackage rec {
@@ -40,6 +42,8 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
duckdb
numpy
pandas
];
pythonImportsCheck = [ "sqlglot" ];