about summary refs log tree commit diff
path: root/pkgs/development/python-modules/torchmetrics/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/torchmetrics/default.nix')
-rw-r--r--pkgs/development/python-modules/torchmetrics/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/torchmetrics/default.nix b/pkgs/development/python-modules/torchmetrics/default.nix
index 26ff5f37882ea..5361e6bc49a39 100644
--- a/pkgs/development/python-modules/torchmetrics/default.nix
+++ b/pkgs/development/python-modules/torchmetrics/default.nix
@@ -20,7 +20,7 @@
 
 let
   pname = "torchmetrics";
-  version = "1.3.0";
+  version = "1.3.0.post";
 in
 buildPythonPackage {
   inherit pname version;
@@ -32,16 +32,9 @@ buildPythonPackage {
     owner = "Lightning-AI";
     repo = "torchmetrics";
     rev = "refs/tags/v${version}";
-    hash = "sha256-xDUT9GSOn6ZNDFRsFws3NLxBsILKDHPKeEANwM8NXj8=";
+    hash = "sha256-InwXOeQ/u7sdq/+gjm0CSCiuB/9YXP+rPVbvOSH16Dk=";
   };
 
-  patches = [
-    # The extra dependencies dictionary contains an illegally named entry '_tests'.
-    # The build fails because of this.
-    # Issue has been opened upstream: https://github.com/Lightning-AI/torchmetrics/issues/2305
-    ./0001-remove-illegal-name-from-extra-dependencies.patch
-  ];
-
   propagatedBuildInputs = [
     numpy
     lightning-utilities