diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-01-15 10:30:44 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-01-15 10:30:44 +0000 |
commit | e0794be8a0d11e90461e5a9c85012a36b93ec976 (patch) | |
tree | efd9cbc55ea3322867bf601c4d536758a3dd5fcc /nixpkgs/pkgs/development/python-modules/intake | |
parent | 3538874082ded7647b1ccec0343c7c1e882cfef3 (diff) | |
parent | 1a57d96edd156958b12782e8c8b6a374142a7248 (diff) | |
download | nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.gz nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.bz2 nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.lz nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.xz nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.zst nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.zip |
Merge commit '1a57d96edd156958b12782e8c8b6a374142a7248'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/intake')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/intake/default.nix | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/intake/default.nix b/nixpkgs/pkgs/development/python-modules/intake/default.nix index 91c779c292a2..922d543fd1de 100644 --- a/nixpkgs/pkgs/development/python-modules/intake/default.nix +++ b/nixpkgs/pkgs/development/python-modules/intake/default.nix @@ -6,19 +6,19 @@ , holoviews , hvplot , jinja2 -, msgpack-numpy , msgpack +, msgpack-numpy , numpy , pandas , panel , pyarrow +, pytestCheckHook +, pythonOlder , python-snappy , requests , ruamel_yaml , six , tornado -, pytest -, pythonOlder }: buildPythonPackage rec { @@ -32,7 +32,6 @@ buildPythonPackage rec { sha256 = "0c284abeb74927a7366dcab6cefc010c4d050365b8af61c37326a2473a490a4e"; }; - checkInputs = [ pyarrow pytest ]; propagatedBuildInputs = [ appdirs dask @@ -51,6 +50,8 @@ buildPythonPackage rec { tornado ]; + checkInputs = [ pyarrow pytestCheckHook ]; + postPatch = '' # Is in setup_requires but not used in setup.py... substituteInPlace setup.py --replace "'pytest-runner'" "" @@ -58,8 +59,18 @@ buildPythonPackage rec { # 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 - checkPhase = '' - PATH=$out/bin:$PATH HOME=$(mktemp -d) pytest -k "not test_discover and not test_filtered_compressed_cache" + preCheck = '' + HOME=$TMPDIR + PATH=$out/bin:$PATH + ''; + + # disable tests which touch network + disabledTests = '' + "test_discover" + "test_filtered_compressed_cache" + "test_get_dir" + "test_remote_cat" + "http" ''; meta = with lib; { |