pythonPackages.xarray: 0.16.1 -> 0.16.2

This commit is contained in:
Sandro Jäckel 2021-02-15 23:18:01 +01:00
parent 6995a5a422
commit e995148a1b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,34 +1,27 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytestCheckHook
, numpy , numpy
, pandas , pandas
, python
, setuptools , setuptools
, isPy3k , isPy3k
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "xarray"; pname = "xarray";
version = "0.16.1"; version = "0.16.2";
disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "5e1af056ff834bf62ca57da917159328fab21b1f8c25284f92083016bb2d92a5"; sha256 = "sha256-OOhDnWyRvNW3wPyjSdr44GQ6xohQyYcmLVNSbp19AeQ=";
}; };
checkInputs = [ pytest ];
propagatedBuildInputs = [ numpy pandas setuptools ]; propagatedBuildInputs = [ numpy pandas setuptools ];
checkInputs = [ pytestCheckHook ];
checkPhase = '' pythonImportsCheck = [ "xarray" ];
pytest $out/${python.sitePackages}
'';
# There always seem to be broken tests...
doCheck = false;
disabled = !isPy3k;
meta = { meta = {
description = "N-D labeled arrays and datasets in Python"; description = "N-D labeled arrays and datasets in Python";