From 8bcdb1285218d42e051882b33abf65a75649488b Mon Sep 17 00:00:00 2001 From: jax authors Date: Tue, 17 Sep 2024 16:50:55 -0700 Subject: [PATCH] Add CI jobs for python 3.13.0rc2. PiperOrigin-RevId: 675758096 --- .bazelrc | 4 ++++ .github/workflows/wheel_win_x64.yml | 2 +- build/requirements.in | 2 ++ build/requirements_lock_3_13.txt | 10 ++++++---- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.bazelrc b/.bazelrc index 9d5d9664939e..948d92c29c26 100644 --- a/.bazelrc +++ b/.bazelrc @@ -215,6 +215,8 @@ build:rbe_cpu_linux_py3.11 --config=rbe_cpu_linux_base build:rbe_cpu_linux_py3.11 --repo_env HERMETIC_PYTHON_VERSION="3.11" build:rbe_cpu_linux_py3.12 --config=rbe_cpu_linux_base build:rbe_cpu_linux_py3.12 --repo_env HERMETIC_PYTHON_VERSION="3.12" +build:rbe_cpu_linux_py3.13 --config=rbe_cpu_linux_base +build:rbe_cpu_linux_py3.13 --repo_env HERMETIC_PYTHON_VERSION="3.13" build:rbe_linux_cuda_base --config=rbe_linux build:rbe_linux_cuda_base --config=cuda @@ -237,6 +239,8 @@ build:rbe_linux_cuda12.3_nvcc_py3.11 --config=rbe_linux_cuda12.3_nvcc_base build:rbe_linux_cuda12.3_nvcc_py3.11 --repo_env HERMETIC_PYTHON_VERSION="3.11" build:rbe_linux_cuda12.3_nvcc_py3.12 --config=rbe_linux_cuda12.3_nvcc_base build:rbe_linux_cuda12.3_nvcc_py3.12 --repo_env HERMETIC_PYTHON_VERSION="3.12" +build:rbe_linux_cuda12.3_nvcc_py3.13 --config=rbe_linux_cuda12.3_nvcc_base +build:rbe_linux_cuda12.3_nvcc_py3.13 --repo_env HERMETIC_PYTHON_VERSION="3.13" # These you may need to change for your own GCP project. build:tensorflow_testing_rbe --project_id=tensorflow-testing diff --git a/.github/workflows/wheel_win_x64.yml b/.github/workflows/wheel_win_x64.yml index 447ccba4f8c2..bae1edec0214 100644 --- a/.github/workflows/wheel_win_x64.yml +++ b/.github/workflows/wheel_win_x64.yml @@ -17,7 +17,7 @@ jobs: matrix: os: [windows-2019-32core] arch: [AMD64] - pyver: ['3.10', '3.11', '3.12'] + pyver: ['3.10', '3.11', '3.12', '3.13.0rc2'] name: ${{ matrix.os }} ${{ matrix.pyver }} jaxlib wheel build runs-on: ${{ matrix.os }} diff --git a/build/requirements.in b/build/requirements.in index f6b5b18b2660..a8d81fa5c670 100644 --- a/build/requirements.in +++ b/build/requirements.in @@ -23,3 +23,5 @@ ml_dtypes>=0.4.0 opt_einsum zstandard etils[epath] +# TODO(ybaturina): remove setuptools version +setuptools<71.0.0 diff --git a/build/requirements_lock_3_13.txt b/build/requirements_lock_3_13.txt index ef121b73713b..e2369a8001bb 100644 --- a/build/requirements_lock_3_13.txt +++ b/build/requirements_lock_3_13.txt @@ -732,7 +732,9 @@ zstandard==0.23.0 \ # via -r build/requirements.in # The following packages are considered to be unsafe in a requirements file: -setuptools==75.1.0 \ - --hash=sha256:35ab7fd3bcd95e6b7fd704e4a1539513edad446c097797f2985e0e4b960772f2 \ - --hash=sha256:d59a21b17a275fb872a9c3dae73963160ae079f1049ed956880cd7c09b120538 - # via -r build/test-requirements.txt +setuptools==70.3.0 \ + --hash=sha256:f171bab1dfbc86b132997f26a119f6056a57950d058587841a0082e8830f9dc5 \ + --hash=sha256:fe384da74336c398e0d956d1cae0669bc02eed936cdb1d49b57de1990dc11ffc + # via + # -r build/requirements.in + # -r build/test-requirements.txt