From 969b6dc4ab16fc83db01800ca54dd81693d5fc7d Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Fri, 26 Feb 2021 19:09:49 +0100 Subject: [PATCH] pythonPackages.tqdm: 4.54.1 -> 4.58.0 * Remove some now unnecessary checkInputs * add pandas, rich, numpy and tkinter to checkInput which enables tests of optional tqdm features. --- .../python-modules/tqdm/default.nix | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/tqdm/default.nix b/pkgs/development/python-modules/tqdm/default.nix index ba40723e7dd..950a618a527 100644 --- a/pkgs/development/python-modules/tqdm/default.nix +++ b/pkgs/development/python-modules/tqdm/default.nix @@ -1,28 +1,39 @@ { lib , buildPythonPackage , fetchPypi -, nose -, coverage -, glibcLocales -, flake8 , setuptools_scm , pytestCheckHook +, pytest-asyncio +, pytest-timeout +, numpy +, pandas +, rich +, tkinter }: buildPythonPackage rec { pname = "tqdm"; - version = "4.54.1"; + version = "4.58.0"; src = fetchPypi { inherit pname version; - sha256 = "1x9chlh3msikddmq8p8p5s5kgqqs48bclxgzz3vb9ygcwjimidiq"; + sha256 = "1fjvaag1wy70gglxjkfnn0acrya7fbhzi4adbs1bpap8x03wffn2"; }; nativeBuildInputs = [ setuptools_scm ]; - checkInputs = [ nose coverage glibcLocales flake8 pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + pytest-asyncio + pytest-timeout + # tests of optional features + numpy + pandas + rich + tkinter + ]; # Remove performance testing. # Too sensitive for on Hydra.