python3Packages.monty: 2021.6.10 -> 2021.8.17

This commit is contained in:
Martin Weinelt 2021-08-26 21:32:39 +02:00
parent 4fe4e8c859
commit 0c052fc8ba

View file

@ -5,6 +5,7 @@
, msgpack
, pytestCheckHook
, numpy
, pandas
, pydantic
, pymongo
, ruamel_yaml
@ -13,17 +14,21 @@
buildPythonPackage rec {
pname = "monty";
version = "2021.6.10";
version = "2021.8.17";
disabled = pythonOlder "3.5"; # uses type annotations
# No tests in Pypi
src = fetchFromGitHub {
owner = "materialsvirtuallab";
repo = pname;
rev = "v${version}";
sha256 = "01fhl4pl5gj4ahph4lxcm0fmglh0bjw6jz9ckmgzviasg4l1j6h4";
sha256 = "0lg6d0qk6iv476rcn45p5f50kips5g9s709cxddwnk5yrz57c4d0";
};
postPatch = ''
substituteInPlace tests/test_os.py \
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
'';
propagatedBuildInputs = [
ruamel_yaml
tqdm
@ -33,15 +38,11 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
numpy
pandas
pydantic
pymongo
];
preCheck = ''
substituteInPlace tests/test_os.py \
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
'';
meta = with lib; {
description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems";
longDescription = "