diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2020-05-09 12:50:17 -0400 |
---|---|---|
committer | Benjamin Hipple <bhipple@protonmail.com> | 2020-05-09 13:58:21 -0400 |
commit | 47105a1689b06f89461e2d2379fd83e5e6849cb9 (patch) | |
tree | 0b0a738ad6d2f5328421f3fea952349d4df1186d /pkgs/development/python-modules/ignite | |
parent | fb5bb25c10bed6dd577c5b1118429bbda4aa8554 (diff) |
python3Packages.ignite: 0.2.1 -> 0.3.0
Diffstat (limited to 'pkgs/development/python-modules/ignite')
-rw-r--r-- | pkgs/development/python-modules/ignite/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/ignite/default.nix b/pkgs/development/python-modules/ignite/default.nix index cd682072707d1..785ec5814918c 100644 --- a/pkgs/development/python-modules/ignite/default.nix +++ b/pkgs/development/python-modules/ignite/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchFromGitHub , pytest +, matplotlib , mock , pytorch , pynvml @@ -11,23 +12,23 @@ buildPythonPackage rec { pname = "ignite"; - version = "0.2.1"; + version = "0.3.0"; src = fetchFromGitHub { owner = "pytorch"; repo = pname; rev = "v${version}"; - sha256 = "15k6dd11yxn4923llcpmw4srl1by5ljhh7aw5pnkn4n4qpywh6cm"; + sha256 = "0i863kxi1r1hspj19lhn6r8256vdazjcyvis0s33fgzrf7kxi08x"; }; - checkInputs = [ pytest mock ]; + checkInputs = [ pytest matplotlib mock ]; + propagatedBuildInputs = [ pytorch scikitlearn tqdm pynvml ]; + # Some packages are not in NixPkgs; other tests try to build distributed + # models, which doesn't work in the sandbox. checkPhase = '' - pytest -k 'not visdom and not tensorboard and not mlflow and not polyaxon' tests/ + pytest -k 'not visdom and not tensorboard and not mlflow and not polyaxon and not conftest and not engines and not distrib_' tests/ ''; - # these packages are not currently in nixpkgs - - propagatedBuildInputs = [ pytorch scikitlearn tqdm pynvml ]; meta = with lib; { description = "High-level training library for PyTorch"; |