python311Packages.intake: disable failing tests

This commit is contained in:
Fabian Affolter 2024-02-27 18:24:12 +01:00
parent 0d8a63d5ba
commit 41efe5f0d4

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, appdirs
, bokeh
, buildPythonPackage
@ -19,14 +20,14 @@
, pythonOlder
, pyyaml
, requests
, stdenv
, setuptools
, tornado
}:
buildPythonPackage rec {
pname = "intake";
version = "0.7.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
@ -37,6 +38,10 @@ buildPythonPackage rec {
hash = "sha256-LK4abwPViEFJZ10bbRofF2aw2Mj0dliKwX6dFy93RVQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
appdirs
dask
@ -73,11 +78,6 @@ buildPythonPackage rec {
];
};
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'" ""
'';
__darwinAllowLocalNetworking = true;
preCheck = ''
@ -120,6 +120,17 @@ buildPythonPackage rec {
"test_columns"
"test_df_transform"
"test_pipeline_apply"
# GUI tests, AttributeError: 'MultiSelect' object has no attribute 'set_param'
"test_par_selector"
"test_gui_open_plot_panel"
"test_gui_open_search_panel"
"test_gui_close_and_open_cat"
"test_gui_close_and_open_source"
"test_gui_clone_plot"
"test_gui_rename_plot"
"test_gui_delete_plot"
"test_gui_edit_plot"
"test_gui_create_plot"
] ++ lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13") [
# Flaky with older low-res mtime on darwin < 10.13 (#143987)
"test_second_load_timestamp"