Package Details: python-ray 2.49.1-2

Git Clone URL: https://aur.archlinux.org/python-ray.git (read-only, click to copy)
Package Base: python-ray
Description: A fast and simple framework for building and running distributed applications
Upstream URL: https://github.com/ray-project/ray
Licenses: Apache-2.0
Submitter: acxz
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2020-03-06 04:59 (UTC)
Last Updated: 2025-09-04 17:07 (UTC)

Dependencies (41)

Sources (1)

Latest Comments

1 2 3 Next › Last »

iyanmv commented on 2025-09-04 18:03 (UTC)

Hey Carlos, thanks for making me co-maintainer, but I already have a few packages on my table and I'm not familiar with ray. On top of that, upstream only supports very old versions of gcc and clang, so it looks like this will be need quite some time to keep it working in Arch. I have removed myself as co-maintainer. My only interest in making this build correctly is because it is a dependency of something else I do want to maintain.

iyanmv commented on 2025-09-04 16:31 (UTC)

Here is the PR: https://github.com/ray-project/ray/pull/56243

iyanmv commented on 2025-09-04 16:08 (UTC)

Here is a small patch if you want to test it:

diff --git a/PKGBUILD b/PKGBUILD
index fe6a91c..76a209c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ url="https://github.com/${_base}-project/${_base}"
 license=(Apache-2.0)
 depends=(psmisc python-click python-filelock python-jsonschema python-msgpack
   python-packaging python-protobuf python-pyaml python-requests libxcrypt-compat)
-makedepends=(python-build python-installer python-setuptools-scm python-wheel cython bazelisk git)
+makedepends=(python-build python-installer python-setuptools-scm python-wheel cython bazelisk git unzip)
 optdepends=('python-pandas: for ray[data, tune, rllib]'
   'python-fsspec: for ray[data, tune, rllib]'
   'python-aiohttp: for ray[default, serve]'
@@ -39,6 +39,10 @@ conflicts=(mesa-demos)
 source=(${_base}-${_base}-${pkgver}.tar.gz::${url}/archive/${_base}-${pkgver}.tar.gz)
 sha512sums=('5a72ba74891d26e92958b19d10a9b28c599a238ca9e1e03649c2089e11e44b6cd5abf8879e9ad9e1fcb46c969bc2c05db1d4837b2871b80efc2cda5ec5d6be43')

+prepare() {
+  sed -i '16i #include <cstdint>' ${_base}-${_base}-${pkgver}/src/ray/telemetry/open_telemetry_metric_recorder.h
+}
+
 build() {
   cd ${_base}-${_base}-${pkgver}/python
   export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}

iyanmv commented on 2025-09-04 16:01 (UTC)

Yeah, I think it's just a missing #include <cstdint>. I will create a PR upstream.

iyanmv commented on 2025-09-04 15:46 (UTC)

Carlos: Okay, I see... that's unfortunate, but I guess not a lot of people are using mesa-demos anyways.

Regarding the building issues. Can you confirm that you can successfully build it locally? Can you also try with e.g. extra-x86_64-build. First, there is an easy issue to fix: unzip is missing in makedepends because one script calls it during the building. So my guess is that you have unzip installed in your system and that's why you don't see that error. The next errors I get are probably related to GCC 15 not implicitly including <cstdint> as GCC 14 used to do. Are you using a custom makepkg.conf?

carlosal1015 commented on 2025-09-04 15:45 (UTC)

Let's investigate the error or ask upstream later.

2025-09-04T15:41:17.5624020Z [6,295 / 7,931] Compiling src/ray/util/logging.cc; 11s processwrapper-sandbox ... (4 actions, 3 running)
2025-09-04T15:41:17.9303177Z INFO: From PackageZip core_py_proto.zip:
2025-09-04T15:41:17.9316765Z /build/.cache/bazel/_bazel_builduser/4de50768170295c52a58f13c56873072/sandbox/processwrapper-sandbox/4108/execroot/io_ray/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/rules_pkg/pkg/private/zip/build_zip.runfiles/rules_pkg/pkg/private/zip/build_zip.py:70: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
2025-09-04T15:41:17.9323308Z   ts = datetime.datetime.utcfromtimestamp(ts)
2025-09-04T15:41:17.9587418Z ERROR: /build/python-ray/src/ray-ray-2.49.1/BUILD.bazel:403:8: Executing genrule //:ray_py_proto_zip failed: (Exit 127): bash failed: error executing command (from target //:ray_py_proto_zip) 

carlosal1015 commented on 2025-09-04 14:50 (UTC)

Hi, the conflict with mesa-demos is about /usr/bin/ray exists in filesystem (owned by mesa-demos).

iyanmv commented on 2025-09-03 21:21 (UTC)

Carlos: You are bumping version while ignoring all the comments that this is not building correctly. Please test your package in a clean chroot env. Also, why does this conflict with mesa-demos?

oromix commented on 2025-09-02 18:38 (UTC)

unfortunately 2.49.0 still wont build for me. I get the same error as before. https://pastebin.com/v30LypS5

oromix commented on 2025-08-27 20:47 (UTC)

confirmed, the current PKGBUILD fails to build in a clean environment.

FAILED: Build did NOT complete successfully Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() ^^ File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel return _build_backend().build_wheel( ^ wheel_directory, config_settings, metadata_directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 432, in build_wheel return _build(['bdist_wheel']) File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 423, in _build return self._build_with_temp_dir( ~^ cmd, ^^^^ ...<3 lines>... self._arbitrary_args(config_settings), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 404, in _build_with_temp_dir self.run_setup() ^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) ~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~^^^^^^^^^^^^^^^^ File "<string>", line 740, in <module> File "/usr/lib/python3.13/site-packages/setuptools/init.py", line 115, in setup return distutils.core.setup(attrs) ^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() ~^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) ^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) ~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~^^ File "/usr/lib/python3.13/site-packages/setuptools/command/bdist_wheel.py", line 370, in run self.run_command("build") ^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command self.distribution.run_command(command) ~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) ~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) ^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command self.distribution.run_command(command) ~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) ~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~^^