python310Packages.intake: 0.6.4 -> 0.6.5

This commit is contained in:
Fabian Affolter 2022-05-31 10:49:31 +02:00 committed by Jonathan Ringer
parent 0220a623b4
commit 792e5af45b
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -6,7 +6,6 @@
, entrypoints
, fetchFromGitHub
, fsspec
, holoviews
, hvplot
, intake-parquet
, jinja2
@ -27,7 +26,8 @@
buildPythonPackage rec {
pname = "intake";
version = "0.6.4";
version = "0.6.5";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -35,57 +35,75 @@ buildPythonPackage rec {
owner = pname;
repo = pname;
rev = version;
sha256 = "194cdd6lx92zcpkn3wgm490kxvw0c58ziix8hcihsr5ayfr1wdsl";
hash = "sha256-ABMXWUVptpOSPB1jQ57iXk/UG92puNCICzXo3ZMG2Pk=";
};
propagatedBuildInputs = [
appdirs
bokeh
dask
entrypoints
fsspec
holoviews
hvplot
jinja2
msgpack
msgpack-numpy
numpy
jinja2
pandas
panel
pyarrow
python-snappy
pyyaml
requests
tornado
];
checkInputs = [
intake-parquet
pytestCheckHook
] ++ passthru.optional-dependencies.server;
passthru.optional-dependencies = {
server = [
msgpack
python-snappy
tornado
];
dataframe = [
msgpack-numpy
pyarrow
];
plot = [
hvplot
bokeh
panel
];
remote = [
requests
];
};
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'" ""
'';
# test_discover requires driver_with_entrypoints-0.1.dist-info, which is not included in tarball
# test_filtered_compressed_cache requires calvert_uk_filter.tar.gz, which is not included in tarball
preCheck = ''
HOME=$TMPDIR
PATH=$out/bin:$PATH
export HOME=$(mktemp -d);
export PATH="$PATH:$out/bin";
'';
disabledTests = [
# Disable tests which touch network and are broken
# Disable tests which touch network
"http"
"test_dir"
"test_discover"
"test_filtered_compressed_cache"
"test_flatten_flag"
"test_get_dir"
"test_remote_cat"
"http"
"test_pagination"
"test_read_part_compressed"
"test_read_partition"
"test_read_pattern"
"test_remote_arr"
"test_flatten_flag"
"test_remote_cat"
# ValueError
"test_mlist_parameter"
# ImportError
"test_dataframe"
"test_ndarray"
"test_python"
# Timing-based, flaky on darwin and possibly others
"TestServerV1Source.test_idle_timer"
] ++ lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13") [