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