Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
# Use python 3.10 for docs to match the version for the sphinx plugin
# https://github.com/googleapis/synthtool/pull/1891
with:
python-version: "3.10"
python-version: "3.14"
cache: 'pip'
- name: Install nox.
run: python -m pip install nox
Expand All @@ -74,13 +74,13 @@ jobs:
docfx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
# Use python 3.10 for docs to match the version for the sphinx plugin
# https://github.com/googleapis/synthtool/pull/1891
with:
python-version: "3.10"
python-version: "3.14"
cache: 'pip'
- name: Install nox.
run: python -m pip install nox
Expand All @@ -98,7 +98,7 @@ jobs:
- python: '3.7'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python "${{ matrix.python }}"
uses: actions/setup-python@v6
with:
Expand All @@ -121,9 +121,9 @@ jobs:

# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python "${{ matrix.python }}"
uses: actions/setup-python@v6
with:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
max-parallel: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Setup temp directory
run: |
sudo mkdir -p /tmp/workspace/tests/cert/
Expand Down Expand Up @@ -214,9 +214,9 @@ jobs:

# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python "${{ matrix.python }}"
uses: actions/setup-python@v6
with:
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
showcase-unit-add-iam-methods:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
uses: actions/setup-python@v6
with:
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
matrix:
variant: ['', _alternative_templates]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
uses: actions/setup-python@v6
with:
Expand All @@ -299,7 +299,7 @@ jobs:
needs: all_python_setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
uses: actions/setup-python@v6
with:
Expand All @@ -320,9 +320,9 @@ jobs:
python: ${{ fromJSON(needs.all_python_setup.outputs.all_python) }}
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v6
with:
Expand All @@ -346,9 +346,9 @@ jobs:
variant: ['', _alternative_templates]
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v6
with:
Expand All @@ -368,10 +368,10 @@ jobs:
runs-on: ubuntu-latest
container: gcr.io/gapic-images/googleapis
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Cache Bazel files
id: cache-bazel
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/bazel
# Note: if the container is updated, the key needs to be updated as well.
Expand All @@ -396,7 +396,7 @@ jobs:
goldens-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
uses: actions/setup-python@v6
with:
Expand All @@ -415,7 +415,7 @@ jobs:
goldens-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
uses: actions/setup-python@v6
with:
Expand All @@ -436,7 +436,7 @@ jobs:
goldens-prerelease:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ env.PREVIEW_PYTHON_VERSION }}
uses: actions/setup-python@v6
with:
Expand All @@ -458,7 +458,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
uses: actions/setup-python@v6
with:
Expand Down
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ grpc_deps()

http_archive(
name = "rules_cc",
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.1/rules_cc-0.1.1.tar.gz"],
sha256 = "712d77868b3152dd618c4d64faaddefcc5965f90f5de6e6dd1d5ddcd0be82d42",
strip_prefix = "rules_cc-0.1.1",
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.2.16/rules_cc-0.2.16.tar.gz"],
sha256 = "458b658277ba51b4730ea7a2020efdf1c6dcadf7d30de72e37f4308277fa8c01",
strip_prefix = "rules_cc-0.2.16",
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

According to the rules_cc v0.2.14 release notes, you need to load and call compatibility_proxy_repo to complete the setup for this new version. Without this, the build may fail.

Suggested change
)
)
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
compatibility_proxy_repo()


load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps", "PROTOBUF_MAVEN_ARTIFACTS")
Expand Down
Loading