python3Packages.sqlglot: 6.0.7 -> 10.5.2

This commit is contained in:
Lily Foster 2023-01-17 18:51:28 -05:00
parent 4e9efbd52a
commit 3a8d15be54
No known key found for this signature in database
GPG Key ID: 49340081E484C893

View File

@ -5,10 +5,11 @@
, pytestCheckHook
, python-dateutil
, duckdb
, pyspark
}:
buildPythonPackage rec {
pname = "sqlglot";
version = "6.0.7";
version = "10.5.2";
disabled = pythonOlder "3.8";
@ -16,12 +17,15 @@ buildPythonPackage rec {
repo = "sqlglot";
owner = "tobymao";
rev = "v${version}";
hash = "sha256-7PBhf9NN/mCi92xSkB9ygfmfxTyOYaEyrNvL309sG5Y=";
hash = "sha256-ZFc2aOhCTRFlrzgnYDSdIZxRqKZ8FvkYSZRU0OMHI34=";
};
propagatedBuildInputs = [ python-dateutil ];
nativeCheckInputs = [ pytestCheckHook duckdb ];
nativeCheckInputs = [ pytestCheckHook duckdb pyspark ];
# these integration tests assume a running Spark instance
disabledTestPaths = [ "tests/dataframe/integration" ];
pythonImportsCheck = [ "sqlglot" ];