From 3a988939227fe1b3c7510d18a547c42e86019c1b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 27 Jan 2025 16:58:58 +0100 Subject: [PATCH] python312Packages.stable-baselines3: 2.4.1-unstable-2025-01-07 -> 2.5.0 Diff: https://github.com/DLR-RM/stable-baselines3/compare/b7c64a1aa4dd2fd3efed96e7a9ddb4d1f5c96112...v2.5.0 Changelog: https://github.com/DLR-RM/stable-baselines3/releases/tag/v2.5.0 --- .../python-modules/stable-baselines3/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/stable-baselines3/default.nix b/pkgs/development/python-modules/stable-baselines3/default.nix index a9d784707886..0cca87dd9857 100644 --- a/pkgs/development/python-modules/stable-baselines3/default.nix +++ b/pkgs/development/python-modules/stable-baselines3/default.nix @@ -22,16 +22,14 @@ }: buildPythonPackage rec { pname = "stable-baselines3"; - # TODO: To this date, the latest release (2.4.1) is not compatible with numpy 2 and does not build - # successfully on nixpkgs - version = "2.4.1-unstable-2025-01-07"; + version = "2.5.0"; pyproject = true; src = fetchFromGitHub { owner = "DLR-RM"; repo = "stable-baselines3"; - rev = "b7c64a1aa4dd2fd3efed96e7a9ddb4d1f5c96112"; - hash = "sha256-oyTOBRZsKkhhGKwwBN9HCV0t8+MkJYpWsTRdS+upMeI="; + tag = "v${version}"; + hash = "sha256-4KOF/3/PxHHSo95zaqtPy5+h53VcUsMhSx85tGvXV2o="; }; build-system = [ setuptools ];