SangBin Cho 8de0bd3ca1 [Core] fix flaky reference count test by cleaning up borrowed references if actor is killed before dependencies are not resolved (#48091) 10 小时之前
..
ray 8de0bd3ca1 [Core] fix flaky reference count test by cleaning up borrowed references if actor is killed before dependencies are not resolved (#48091) 10 小时之前
requirements 211e7391e8 upgrade grpcio version (#47982) 1 周之前
MANIFEST.in fa1c6510f7 [hotfix] Revert "Exclude Bazel build files from Ray wheels (#25679)" (#25950) 2 年之前
README-building-wheels.md 2432b629e8 [wheel] use latest manylinux build image (#46415) 3 月之前
asv.conf.json 9b8218aabd [docs] Move all /latest links to /master (#11897) 4 年之前
build-wheel-macos.sh 40aacf5f05 [ray] python 3.12 for macos (#45696) 4 月之前
build-wheel-manylinux2014.sh d32a0a7b1a [Doc] Fix Typo in build-wheel-manylinux2014.sh (#44666) 2 月之前
build-wheel-windows.sh e70db6e68c [ci] fix windows wheel build (#46688) 3 月之前
requirements.txt 98017c35fc [Serve] add dependencies on openssl (#47738) 4 周之前
requirements_compiled.txt 211e7391e8 upgrade grpcio version (#47982) 1 周之前
setup.py 7c220a5ead [Data] Move logging configuration to python dictionary from yaml (#48093) 3 天之前

README-building-wheels.md

Building manylinux2014 wheels

WARNING: To cause everything to be rebuilt, this script will delete ALL changes to the repository, including both changes to tracked files, and ANY untracked files.

It will also cause all files inside the repository to be owned by root, and produce .whl files owned by root.

Inside the root directory (i.e., one level above this python directory), run

docker run -ti --rm \
    -e BUILDKITE_COMMIT="$(git rev-parse HEAD)" \
    -e BUILD_ONE_PYTHON_ONLY=py39 \
    -w /ray -v "$(pwd)":/ray \
    quay.io/pypa/manylinux2014_x86_64:2024-07-02-9ac04ee \
    /ray/python/build-wheel-manylinux2014.sh

The Python 3.9 wheel files will be placed in the .whl directory.

One can change the value of BUILDKITE_COMMIT to generate wheels with different built-in commit string (the code is not changed) and BUILD_ONE_PYTHON_ONLY to build wheels of different Python versions.

For arm64 / aarch64 architecture, use the quay.io/pypa/manylinux2014_aarch64 image:

docker run -ti --rm \
    -e BUILDKITE_COMMIT="$(git rev-parse HEAD)" \
    -e BUILD_ONE_PYTHON_ONLY=py39 \
    -w /ray -v "$(pwd)":/ray \
    quay.io/pypa/manylinux2014_aarch64:2024-07-02-9ac04ee \
    /ray/python/build-wheel-manylinux2014.sh

Building MacOS wheels

To build wheels for MacOS, run the following inside the root directory (i.e., one level above this python directory).

./python/build-wheel-macos.sh

The script uses sudo multiple times, so you may need to type in a password.