From 3def226b6db2adfc0930af1a3f2992f25c160fe6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 23 May 2024 16:15:03 +0000 Subject: [PATCH 1/2] python311Packages.pytorch-lightning: 2.2.4 -> 2.2.5 --- .../python-modules/pytorch-lightning/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index 1a8a7226033a..6a1d8c524132 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -2,12 +2,12 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, fsspec, lightning-utilities, numpy, packaging, pyyaml, + setuptools, tensorboardx, torch, torchmetrics, @@ -21,21 +21,23 @@ buildPythonPackage rec { pname = "pytorch-lightning"; - version = "2.2.4"; - format = "pyproject"; + version = "2.2.5"; + pyproject = true; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "pytorch-lightning"; rev = "refs/tags/${version}"; - hash = "sha256-IkoSID7nEPbKrhEMlo/UaMcF80HYldvndFA54DoHT+M="; + hash = "sha256-2O6Gr9BdjI/WTU0+KTfOQG31xzHyBeqxGv97f3WxUMs="; }; preConfigure = '' export PACKAGE_NAME=pytorch ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ fsspec numpy packaging From 1de24ea8429e0c50f20b91287ae35a3a885cf1b5 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 26 May 2024 12:41:41 +0900 Subject: [PATCH 2/2] python311Packages.pytorch-lightning: update meta --- pkgs/development/python-modules/pytorch-lightning/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index 6a1d8c524132..80462a073b47 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -63,7 +63,8 @@ buildPythonPackage rec { meta = with lib; { description = "Lightweight PyTorch wrapper for machine learning researchers"; - homepage = "https://pytorch-lightning.readthedocs.io"; + homepage = "https://github.com/Lightning-AI/pytorch-lightning"; + changelog = "https://github.com/Lightning-AI/pytorch-lightning/releases/tag/${src.rev}"; license = licenses.asl20; maintainers = with maintainers; [ tbenst ]; };