From a7e811bd86119bae689e65e92190894327ccd1da Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 22 Feb 2026 09:09:40 +0000 Subject: [PATCH] python3Packages.ray: 2.53.0 -> 2.54.0 Changelog: https://github.com/ray-project/ray/releases/tag/ray-2.54.0 Diff: https://github.com/ray-project/ray/compare/ray-2.53.0...ray-2.54.0 --- .../python-modules/ray/default.nix | 34 ++++++++----------- .../python-modules/ray/prefetch.sh | 2 +- 2 files changed, 15 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/ray/default.nix b/pkgs/development/python-modules/ray/default.nix index 964f00238393..9213f9e49d88 100644 --- a/pkgs/development/python-modules/ray/default.nix +++ b/pkgs/development/python-modules/ray/default.nix @@ -71,12 +71,9 @@ tensorboardx, }: -let +buildPythonPackage (finalAttrs: { pname = "ray"; - version = "2.53.0"; -in -buildPythonPackage rec { - inherit pname version; + version = "2.54.0"; format = "wheel"; disabled = pythonAtLeast "3.14"; @@ -93,27 +90,24 @@ buildPythonPackage rec { # Results are in ./ray-hashes.nix hashes = { x86_64-linux = { - cp310 = "sha256-TbtfzhNkdj8pdBBV9Qq+M89yY5cUH5zA6EXdPMlj5FU="; - cp311 = "sha256-6wAMF/cwEHH90VxExM06wPeVO7THwifmFxn+cEgZW80="; - cp312 = "sha256-FPRjY+m0zwwci02GI+wzfFvUCDd4MbXltQBnkwE3u8o="; - cp313 = "sha256-c9u6p5Yqf144qoz5SD4OmBcgXpiao9yFnHOMKvGuAd8="; + cp311 = "sha256-kouwkkWjxvfDwRO6jq/Gn5SNqWAtfzPoJR7N+XwVdhU="; + cp312 = "sha256-qXKv1ao92pnQsvNptfYuXdlYZat9N78uCg4NLPvZsyU="; + cp313 = "sha256-q4nmCJq7bkb7mP3ZbTmbMahS15EnzYrAB0bGHZPe+iw="; }; aarch64-linux = { - cp310 = "sha256-QQgoDYocuQ19aOXJVMNeY7i7mkuhX4jF59oOICVkdxI="; - cp311 = "sha256-oLu5iwsPJaPuB1yhAXHhJg5wtrxpDNUJ7NfOEiivhU0="; - cp312 = "sha256-ZeLOWNPca6o89Fgk2InBlo695WXuVN/YCpivjzGvjko="; - cp313 = "sha256-cZblNY38yCEb6GT0Xm3+SCcgLfKUrzx6dv+PvAgOBSI="; + cp311 = "sha256-SRrlargNiCLE6vTVu5bc8ypiMdjXt264A0QA65vhuxg="; + cp312 = "sha256-eVriHWt2QkXT9SG8WDNEbVhWnn396cV3dBfrKF2HRQ8="; + cp313 = "sha256-iVLCOoqpTxByjC0W4Nw3MtCaoOYlSAF1f/SUmEohT0U="; }; aarch64-darwin = { - cp310 = "sha256-TbkUoKbdYI+knAZpKaEoJ0Wi29c8ruZ9e4D+aEymW90="; - cp311 = "sha256-vT7Ew0J3bdrCOuKxCMZPWTn0F8zEh1kA1YbHyXhGMmk="; - cp312 = "sha256-2LldBH2UdJOAP7hBeuoxIl3KzasVr9x1uKI4kBlJ1Fc="; - cp313 = "sha256-hbRyq2+48RifjO+BkT/ZGyTdabP6fcyn4USCe9kk9sA="; + cp311 = "sha256-jjndVrR6Chgg1aWlQ4W75U0dZ+EJNzbRLY7U6Z0PpFU="; + cp312 = "sha256-z1wztLE4UOwkpb1fnZ4KgWH45Ya/0pflKRPRcN7ER/4="; + cp313 = "sha256-Wtd5Yf6hbGl6D7DlEhbdOcC+wohozeVKxmjt1Y0SuK4="; }; }; in fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; format = "wheel"; dist = pyShortVersion; python = pyShortVersion; @@ -265,7 +259,7 @@ buildPythonPackage rec { meta = { description = "Unified framework for scaling AI and Python applications"; homepage = "https://github.com/ray-project/ray"; - changelog = "https://github.com/ray-project/ray/releases/tag/ray-${version}"; + changelog = "https://github.com/ray-project/ray/releases/tag/ray-${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ billhuang ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; @@ -275,4 +269,4 @@ buildPythonPackage rec { "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/development/python-modules/ray/prefetch.sh b/pkgs/development/python-modules/ray/prefetch.sh index 6be6d515c0b6..4bc36502e2e4 100755 --- a/pkgs/development/python-modules/ray/prefetch.sh +++ b/pkgs/development/python-modules/ray/prefetch.sh @@ -21,7 +21,7 @@ prefetch() { for system in "x86_64-linux" "aarch64-linux" "aarch64-darwin"; do echo "${system} = {" >>$outfile - for python_version in "310" "311" "312" "313"; do + for python_version in "311" "312" "313"; do prefetch "$python_version" "$system" done echo "};" >>$outfile