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