Hongchao Deng 080bb134d5 [test] fix test_pip_with_env_vars for python 3.12 support (#46591) | 3 月之前 | |
---|---|---|
.. | ||
ray | 080bb134d5 [test] fix test_pip_with_env_vars for python 3.12 support (#46591) | 3 月之前 |
requirements | d250007fee [Data] Add `snowflake-python-connector` to test requirements (#46544) | 3 月之前 |
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 | 19ca3c4378 [wheel] remove py38 in build wheel script (#45840) | 4 月之前 |
build-wheel-windows.sh | de3c92ef59 [dashboard] revert back to pushd and popd for win build (#46532) | 3 月之前 |
requirements.txt | 75161ab72f [deps] remove duplicated lines in requirements.txt (#45615) | 4 月之前 |
requirements_compiled.txt | d250007fee [Data] Add `snowflake-python-connector` to test requirements (#46544) | 3 月之前 |
setup.py | 27d3d81d47 [dashboard] remove symbolic link (#46461) | 3 月之前 |
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
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.