From 2851f53ac0b4e1d079be0356103e39e49b21e914 Mon Sep 17 00:00:00 2001 From: "albert.zah" Date: Wed, 28 Aug 2024 06:17:17 +0000 Subject: [PATCH] Fix: make ci happy with python3.10 x ubuntu-22.04. --- .github/workflows/building-wheels.yml | 6 +++--- .github/workflows/lint.yml | 6 +++--- .github/workflows/pypi-nightly.yml | 4 ++-- .github/workflows/test_on_ray1.13.0.yml | 6 +++--- .github/workflows/unit_tests_for_protobuf_matrix.yml | 6 +++--- .github/workflows/unit_tests_on_ray_matrix.yml | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/building-wheels.yml b/.github/workflows/building-wheels.yml index e63f8dde..b6f021b1 100644 --- a/.github/workflows/building-wheels.yml +++ b/.github/workflows/building-wheels.yml @@ -9,8 +9,8 @@ on: jobs: build-wheels: timeout-minutes: 60 - runs-on: ubuntu-latest - container: docker.io/library/ubuntu:latest + runs-on: ubuntu-22.04 + container: docker.io/library/ubuntu:22.04 steps: - uses: actions/checkout@v2 @@ -18,7 +18,7 @@ jobs: - name: Install bazel run: | apt-get update - apt-get install -yq wget gcc g++ python3.9 zlib1g-dev zip libuv1.dev + apt-get install -yq wget gcc g++ python3.10 zlib1g-dev zip libuv1.dev apt-get install -yq pip - name: Install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 98475e06..4d4c0ced 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,8 +9,8 @@ on: jobs: lint: timeout-minutes: 10 # Lint should be done in 10 minutes. - runs-on: ubuntu-latest - container: docker.io/library/ubuntu:latest + runs-on: ubuntu-22.04 + container: docker.io/library/ubuntu:22.04 steps: - uses: actions/checkout@v2 @@ -18,7 +18,7 @@ jobs: - name: Install bazel run: | apt-get update - apt-get install -yq wget gcc g++ python3.9 zlib1g-dev zip libuv1.dev + apt-get install -yq wget gcc g++ python3.10 zlib1g-dev zip libuv1.dev apt-get install -yq pip - name: Install dependencies diff --git a/.github/workflows/pypi-nightly.yml b/.github/workflows/pypi-nightly.yml index b7c133f7..9f334e55 100644 --- a/.github/workflows/pypi-nightly.yml +++ b/.github/workflows/pypi-nightly.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: 3.10 - name: days since the commit date run: | diff --git a/.github/workflows/test_on_ray1.13.0.yml b/.github/workflows/test_on_ray1.13.0.yml index aab1dcb8..39ad66f0 100644 --- a/.github/workflows/test_on_ray1.13.0.yml +++ b/.github/workflows/test_on_ray1.13.0.yml @@ -9,8 +9,8 @@ on: jobs: run-unit-tests: timeout-minutes: 60 - runs-on: ubuntu-latest - container: docker.io/library/ubuntu:latest + runs-on: ubuntu-22.04 + container: docker.io/library/ubuntu:22.04 steps: - uses: actions/checkout@v2 @@ -18,7 +18,7 @@ jobs: - name: Install bazel run: | apt-get update - apt-get install -yq wget gcc g++ python3.9 zlib1g-dev zip libuv1.dev + apt-get install -yq wget gcc g++ python3.10 zlib1g-dev zip libuv1.dev apt-get install -yq pip - name: Install dependencies diff --git a/.github/workflows/unit_tests_for_protobuf_matrix.yml b/.github/workflows/unit_tests_for_protobuf_matrix.yml index 97074003..b5024b7a 100644 --- a/.github/workflows/unit_tests_for_protobuf_matrix.yml +++ b/.github/workflows/unit_tests_for_protobuf_matrix.yml @@ -13,8 +13,8 @@ jobs: protobuf_ver: ["3.19", "3.20", "4.23"] timeout-minutes: 60 - runs-on: ubuntu-latest - container: docker.io/library/ubuntu:latest + runs-on: ubuntu-22.04 + container: docker.io/library/ubuntu:22.04 steps: - uses: actions/checkout@v2 @@ -22,7 +22,7 @@ jobs: - name: Install basic dependencies run: | apt-get update - apt-get install -yq wget gcc g++ python3.9 zlib1g-dev zip libuv1.dev + apt-get install -yq wget gcc g++ python3.10 zlib1g-dev zip libuv1.dev apt-get install -yq pip - name: Install python dependencies diff --git a/.github/workflows/unit_tests_on_ray_matrix.yml b/.github/workflows/unit_tests_on_ray_matrix.yml index 6c54124c..42b28613 100644 --- a/.github/workflows/unit_tests_on_ray_matrix.yml +++ b/.github/workflows/unit_tests_on_ray_matrix.yml @@ -14,8 +14,8 @@ jobs: ray_version: [2.4.0, 2.5.1, 2.6.3, 2.7.1, 2.8.1, 2.9.0] timeout-minutes: 60 - runs-on: ubuntu-latest - container: docker.io/library/ubuntu:latest + runs-on: ubuntu-22.04 + container: docker.io/library/ubuntu:22.04 steps: - uses: actions/checkout@v2 @@ -23,7 +23,7 @@ jobs: - name: Install basic dependencies run: | apt-get update - apt-get install -yq wget gcc g++ python3.9 zlib1g-dev zip libuv1.dev + apt-get install -yq wget gcc g++ python3.10 zlib1g-dev zip libuv1.dev apt-get install -yq pip - name: Install python dependencies