From 3a655b8bfee10659c82e71b88f22e4b8627fa575 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 31 Dec 2025 16:13:41 +0000 Subject: [PATCH 1/4] chore(deps): update all dependencies --- .github/workflows/lint.yml | 6 +++--- .github/workflows/tests.yml | 36 ++++++++++++++++++------------------ 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 08c2b5d0..6499bb35 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,11 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 642eb47b..995e0860 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,11 +17,11 @@ jobs: style-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python 3.8 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: 3.8 + python-version: 3.14 - name: Install black run: pip install black==22.3.0 - name: Check diff @@ -29,17 +29,17 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python 3.10 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Install nox. run: python -m pip install nox - name: Build the documentation. run: nox -s docs unit: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: # See https://github.com/actions/setup-python?tab=readme-ov-file#basic-usage @@ -70,9 +70,9 @@ jobs: - variant: "cpp" python: 'pypy3.10' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} - name: Install nox @@ -84,21 +84,21 @@ jobs: run: | nox -s "unit-${{ matrix.python }}(implementation='${{ matrix.variant }}')" - name: Upload coverage results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: coverage-artifact-${{ matrix.variant }}-${{ matrix.python }} path: .coverage-${{ matrix.variant }}-${{ matrix.python }} include-hidden-files: true prerelease: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: python: ['3.14'] variant: ['python', 'upb'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} allow-prereleases: true @@ -111,7 +111,7 @@ jobs: run: | nox -s "prerelease_deps(implementation='${{ matrix.variant }}')" - name: Upload coverage results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: coverage-artifact-prerelease-${{ matrix.variant }} path: .coverage-prerelease-${{ matrix.variant }} @@ -121,17 +121,17 @@ jobs: - unit steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel python -m pip install coverage - name: Download coverage results - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: .coverage-results/ - name: Report coverage results From 46294f66979417501377eec95214fe53f2b83210 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 22 Jan 2026 16:04:33 -0500 Subject: [PATCH 2/4] fix build --- .github/workflows/tests.yml | 2 +- noxfile.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 995e0860..ddf5312b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v6 with: - python-version: "3.14" + python-version: "3.10" - name: Install nox. run: python -m pip install nox - name: Build the documentation. diff --git a/noxfile.py b/noxfile.py index 1e43d826..423f0f36 100644 --- a/noxfile.py +++ b/noxfile.py @@ -164,9 +164,9 @@ def docs(session): ) -@nox.session(python="3.10") +@nox.session(python="3.14") def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" - session.install("docutils", "Pygments") + session.install("docutils", "Pygments", "setuptools") session.run("python", "setup.py", "check", "--restructuredtext", "--strict") From 05a8ce55f07fee7127c5dc2a0472fc66e3269c37 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 22 Jan 2026 16:12:14 -0500 Subject: [PATCH 3/4] revert --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ddf5312b..c809d48f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,7 +39,7 @@ jobs: - name: Build the documentation. run: nox -s docs unit: - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 strategy: matrix: # See https://github.com/actions/setup-python?tab=readme-ov-file#basic-usage From 9f384409a622560231c79bc7abe8f3fe11691e28 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 22 Jan 2026 16:28:24 -0500 Subject: [PATCH 4/4] Bump black to match gapic-generator-python --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c809d48f..4847b1c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: with: python-version: 3.14 - name: Install black - run: pip install black==22.3.0 + run: pip install black==23.7.0 - name: Check diff run: black --diff --check . docs: