python310Packages.ray: 2.0.0 -> 2.3.0

Changelog: https://github.com/ray-project/ray/releases/tag/ray-2.3.0
This commit is contained in:
Fabian Affolter 2023-03-13 21:38:37 +01:00
parent 034265f603
commit c6678ba42d
2 changed files with 15 additions and 10 deletions

View File

@ -1,11 +1,11 @@
{
cp38 = {
sha256 = "da8adfa33ff54bc61cfe80334a0ee889e0060918db6ff9215aebe32e98b1f939";
};
cp39 = {
sha256 = "cab13346650f88171b3f348ed352f04695b96d1ab1090ed3b80bdc93e897dbd4";
sha256 = "596811ae6b41e50f038e0a7cdf0a5320151508d74bac84795bbccad4f6adc6a9";
};
cp310 = {
sha256 = "bcf3bff9517d77ea6c98592fa16e1cfb8bc0cfa345d3be69729bfa9c5bd78a7c";
sha256 = "b19d381d425259c80b7a9b14aac9d898637ce262d91baeb9569999de3b043967";
};
cp311 = {
sha256 = "d86126b6ab5113a3be35281d5699bad731c8f90e02cf6561057017df9312f0a5";
};
}

View File

@ -57,13 +57,13 @@
let
pname = "ray";
version = "2.0.0";
version = "2.3.0";
in
buildPythonPackage rec {
inherit pname version;
format = "wheel";
disabled = pythonOlder "3.8" || pythonAtLeast "3.11";
disabled = pythonOlder "3.9" || pythonAtLeast "3.12";
src =
let
@ -116,7 +116,11 @@ buildPythonPackage rec {
pythonRelaxDepsHook
];
pythonRelaxDeps = [ "grpcio" "click" "protobuf" ];
pythonRelaxDeps = [
"click"
"grpcio"
"protobuf"
];
propagatedBuildInputs = [
attrs
@ -151,10 +155,11 @@ buildPythonPackage rec {
postInstall = ''
chmod +x $out/${python.sitePackages}/ray/core/src/ray/{gcs/gcs_server,raylet/raylet}
ln -sf ${redis}/bin/redis-server $out/${python.sitePackages}/ray/core/src/ray/thirdparty/redis/src/redis-server
'';
pythonImportsCheck = [ "ray" ];
pythonImportsCheck = [
"ray"
];
meta = with lib; {
description = "A unified framework for scaling AI and Python applications";