python312Packages.jupysql: 0.10.17 -> 0.11.1 (#400520)
This commit is contained in:
@@ -33,11 +33,12 @@
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
psutil,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupysql";
|
||||
version = "0.10.17";
|
||||
version = "0.11.1";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
@@ -45,7 +46,7 @@ buildPythonPackage rec {
|
||||
owner = "ploomber";
|
||||
repo = "jupysql";
|
||||
tag = version;
|
||||
hash = "sha256-0lrcNKDKmM3Peodc9ZzgqkzwPHPLMxxXHAj4OOKWZxA=";
|
||||
hash = "sha256-7wfKvKqDf8LlUiLoevNRxmq8x5wLheOgIeWz72oFcuw=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "sqlalchemy" ];
|
||||
@@ -80,12 +81,14 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
psutil
|
||||
writableTmpDirAsHomeHook
|
||||
] ++ optional-dependencies.dev;
|
||||
|
||||
disabledTests =
|
||||
[
|
||||
# AttributeError: 'DataFrame' object has no attribute 'frame_equal'
|
||||
"test_resultset_polars_dataframe"
|
||||
|
||||
# all of these are broken with later versions of duckdb; see
|
||||
# https://github.com/ploomber/jupysql/issues/1030
|
||||
"test_resultset_getitem"
|
||||
@@ -99,11 +102,12 @@ buildPythonPackage rec {
|
||||
"test_resultset_repr_html_with_reduced_feedback"
|
||||
"test_invalid_operation_error"
|
||||
"test_resultset_config_autolimit_dict"
|
||||
|
||||
# fails due to strict warnings
|
||||
"test_calling_legacy_plotting_functions_displays_warning"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Fatal Python error: Aborted (in matplotlib)
|
||||
# RuntimeError: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
|
||||
"test_no_errors_with_stored_query"
|
||||
];
|
||||
|
||||
@@ -122,11 +126,6 @@ buildPythonPackage rec {
|
||||
"src/tests/test_widget.py"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# tests need to write temp data
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "sql" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user