python312Packages.ray: 2.39.0 -> 2.40.0

Changelog: https://github.com/ray-project/ray/releases/tag/ray-2.40.0
This commit is contained in:
Gaetan Lepage
2024-12-04 13:25:14 +01:00
parent 14ff5ebae0
commit cf6c2d6174
2 changed files with 14 additions and 23 deletions
@@ -1,11 +0,0 @@
{
cp310 = {
hash = "sha256-Ypj7mBzQ+oYH8ZF96yeSWrit1IxgulvQ9s9A1MxdrOQ=";
};
cp311 = {
hash = "sha256-Ia7hJ64anPYZMAGrQdJVG8yBMxujtxltAA8W0Q8VxwU=";
};
cp312 = {
hash = "sha256-AWkw5rp0uRtAEXpksk97//SKangPI9KwZKej9DvE4aI=";
};
}
+14 -12
View File
@@ -64,7 +64,7 @@
let
pname = "ray";
version = "2.39.0";
version = "2.40.0";
in
buildPythonPackage rec {
inherit pname version;
@@ -75,18 +75,20 @@ buildPythonPackage rec {
src =
let
pyShortVersion = "cp${builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion}";
binary-hash = (import ./binary-hashes.nix)."${pyShortVersion}" or { };
binary-hashes = {
cp310 = "sha256-9uqxHchJD4jnjgaqZFkFslnN4foDsV6EJhVcR4K6C74=";
cp311 = "sha256-cXEcvywVYhP9SbD5zJMYCnukJBEAcKNL3qPcCVJ/Md8=";
cp312 = "sha256-Z0dVgU9WkjBsVUytvCQBWvgj3AUW40ve8kzKydemVuM=";
};
in
fetchPypi (
{
inherit pname version format;
dist = pyShortVersion;
python = pyShortVersion;
abi = pyShortVersion;
platform = "manylinux2014_x86_64";
}
// binary-hash
);
fetchPypi {
inherit pname version format;
dist = pyShortVersion;
python = pyShortVersion;
abi = pyShortVersion;
platform = "manylinux2014_x86_64";
hash = binary-hashes.${pyShortVersion};
};
nativeBuildInputs = [
autoPatchelfHook