31 buildPythonPackage rec {
36 disabled = pythonOlder "3.8";
38 src = fetchFromGitHub {
41 rev = "refs/tags/${version}";
42 hash = "sha256-F13jbAQP3G3cKeAegM1w/t32xyC0BgL9/67aIlzA4SE=";
50 propagatedBuildInputs = [
65 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
67 optional-dependencies = {
82 remote = [ requests ];
85 __darwinAllowLocalNetworking = true;
88 export HOME=$(mktemp -d);
89 export PATH="$PATH:$out/bin";
94 "intake/catalog/tests/test_alias.py"
95 "intake/catalog/tests/test_gui.py"
96 "intake/catalog/tests/test_local.py"
97 "intake/catalog/tests/test_reload_integration.py"
98 "intake/source/tests/test_csv.py"
99 "intake/source/tests/test_derived.py"
100 "intake/source/tests/test_npy.py"
101 "intake/source/tests/test_text.py"
102 "intake/tests/test_config.py"
103 "intake/tests/test_top_level.py"
108 # Disable tests which touch network
113 "test_filtered_compressed_cache"
118 "test_read_part_compressed"
119 "test_read_partition"
125 "test_datasource_python_to_dask"
126 "test_catalog_passthrough"
127 # Timing-based, flaky on darwin and possibly others
130 ++ lib.optionals (pythonAtLeast "3.12") [
131 # Require deprecated distutils
137 (stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13")
139 # Flaky with older low-res mtime on darwin < 10.13 (#143987)
140 "test_second_load_timestamp"
143 pythonImportsCheck = [ "intake" ];
146 description = "Data load and catalog system";
147 homepage = "https://github.com/ContinuumIO/intake";
148 changelog = "https://github.com/intake/intake/blob/${version}/docs/source/changelog.rst";
149 license = licenses.bsd2;