From 1f99dffae5a18bb70a15b07d68478d70c6eabdbe Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 22 Oct 2023 17:15:39 +0200 Subject: [PATCH] python311Packages.torchmetrics: 1.1.2 -> 1.2.0 Changelog: https://github.com/Lightning-AI/torchmetrics/releases/tag/v1.2.0 --- .../python-modules/torchmetrics/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/torchmetrics/default.nix b/pkgs/development/python-modules/torchmetrics/default.nix index f458db0ced03..85e85c16afc7 100644 --- a/pkgs/development/python-modules/torchmetrics/default.nix +++ b/pkgs/development/python-modules/torchmetrics/default.nix @@ -1,6 +1,9 @@ { lib , buildPythonPackage , fetchFromGitHub +, pythonOlder +, numpy +, lightning-utilities , cloudpickle , scikit-learn , scikit-image @@ -15,7 +18,7 @@ let pname = "torchmetrics"; - version = "1.1.2"; + version = "1.2.0"; in buildPythonPackage { inherit pname version; @@ -24,10 +27,14 @@ buildPythonPackage { owner = "PyTorchLightning"; repo = "metrics"; rev = "refs/tags/v${version}"; - hash = "sha256-qbO2POXJp2O0VL16zY5mb6TDpogs1L34anFVeSf502g="; + hash = "sha256-g5JuTbiRd8yWx2nM3UE8ejOhuZ0XpAQdS5AC9AlrSFY="; }; + disabled = pythonOlder "3.8"; + propagatedBuildInputs = [ + numpy + lightning-utilities packaging py-deprecate ];