Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit d402180

Browse files
authored
Merge branch 'main' into cleanup-action
2 parents 13f3a52 + 46b321a commit d402180

88 files changed

Lines changed: 2221 additions & 2388 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
.git
33
.gitignore
44

5-
# Docker scaffolding
6-
Dockerfile
7-
.dockerignore
8-
95
# Python scaffolding
106
*.py[cod]
117
*.egg

.github/workflows/tests.yaml

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
docs:
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@v5
5757
- name: Set up Python
58-
uses: actions/setup-python@v5
58+
uses: actions/setup-python@v6
5959
# Use python 3.10 for docs to match the version for the sphinx plugin
6060
# https://github.com/googleapis/synthtool/pull/1891
6161
with:
@@ -65,6 +65,21 @@ jobs:
6565
run: python -m pip install nox
6666
- name: Build the documentation.
6767
run: nox -s docs
68+
docfx:
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@v5
72+
- name: Set up Python
73+
uses: actions/setup-python@v6
74+
# Use python 3.10 for docs to match the version for the sphinx plugin
75+
# https://github.com/googleapis/synthtool/pull/1891
76+
with:
77+
python-version: "3.10"
78+
cache: 'pip'
79+
- name: Install nox.
80+
run: python -m pip install nox
81+
- name: Build the documentation.
82+
run: nox -s docfx
6883
mypy:
6984
needs: all_python_setup
7085
strategy:
@@ -77,9 +92,9 @@ jobs:
7792
- python: '3.7'
7893
runs-on: ubuntu-latest
7994
steps:
80-
- uses: actions/checkout@v4
95+
- uses: actions/checkout@v5
8196
- name: Set up Python "${{ matrix.python }}"
82-
uses: actions/setup-python@v5
97+
uses: actions/setup-python@v6
8398
with:
8499
python-version: "${{ matrix.python }}"
85100
cache: 'pip'
@@ -102,9 +117,9 @@ jobs:
102117
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
103118
runs-on: ubuntu-22.04
104119
steps:
105-
- uses: actions/checkout@v4
120+
- uses: actions/checkout@v5
106121
- name: Set up Python "${{ matrix.python }}"
107-
uses: actions/setup-python@v5
122+
uses: actions/setup-python@v6
108123
with:
109124
python-version: "${{ matrix.python }}"
110125
cache: 'pip'
@@ -144,13 +159,13 @@ jobs:
144159
max-parallel: 1
145160
runs-on: ubuntu-latest
146161
steps:
147-
- uses: actions/checkout@v4
162+
- uses: actions/checkout@v5
148163
- name: Setup temp directory
149164
run: |
150165
sudo mkdir -p /tmp/workspace/tests/cert/
151166
sudo chown -R ${USER} /tmp/workspace/
152167
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
153-
uses: actions/setup-python@v5
168+
uses: actions/setup-python@v6
154169
with:
155170
python-version: "${{ env.LATEST_STABLE_PYTHON }}"
156171
cache: 'pip'
@@ -195,9 +210,9 @@ jobs:
195210
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
196211
runs-on: ubuntu-22.04
197212
steps:
198-
- uses: actions/checkout@v4
213+
- uses: actions/checkout@v5
199214
- name: Set up Python "${{ matrix.python }}"
200-
uses: actions/setup-python@v5
215+
uses: actions/setup-python@v6
201216
with:
202217
python-version: "${{ matrix.python }}"
203218
cache: 'pip'
@@ -224,9 +239,9 @@ jobs:
224239
showcase-unit-add-iam-methods:
225240
runs-on: ubuntu-latest
226241
steps:
227-
- uses: actions/checkout@v4
242+
- uses: actions/checkout@v5
228243
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
229-
uses: actions/setup-python@v5
244+
uses: actions/setup-python@v6
230245
with:
231246
python-version: "${{ env.LATEST_STABLE_PYTHON }}"
232247
cache: 'pip'
@@ -252,9 +267,9 @@ jobs:
252267
matrix:
253268
variant: ['', _alternative_templates]
254269
steps:
255-
- uses: actions/checkout@v4
270+
- uses: actions/checkout@v5
256271
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
257-
uses: actions/setup-python@v5
272+
uses: actions/setup-python@v6
258273
with:
259274
python-version: "${{ env.LATEST_STABLE_PYTHON }}"
260275
cache: 'pip'
@@ -278,9 +293,9 @@ jobs:
278293
needs: all_python_setup
279294
runs-on: ubuntu-latest
280295
steps:
281-
- uses: actions/checkout@v4
296+
- uses: actions/checkout@v5
282297
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
283-
uses: actions/setup-python@v5
298+
uses: actions/setup-python@v6
284299
with:
285300
python-version: "${{ env.LATEST_STABLE_PYTHON }}"
286301
cache: 'pip'
@@ -301,9 +316,9 @@ jobs:
301316
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
302317
runs-on: ubuntu-22.04
303318
steps:
304-
- uses: actions/checkout@v4
319+
- uses: actions/checkout@v5
305320
- name: Set up Python ${{ matrix.python }}
306-
uses: actions/setup-python@v5
321+
uses: actions/setup-python@v6
307322
with:
308323
python-version: "${{ matrix.python }}"
309324
cache: 'pip'
@@ -327,9 +342,9 @@ jobs:
327342
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
328343
runs-on: ubuntu-22.04
329344
steps:
330-
- uses: actions/checkout@v4
345+
- uses: actions/checkout@v5
331346
- name: Set up Python ${{ matrix.python }}
332-
uses: actions/setup-python@v5
347+
uses: actions/setup-python@v6
333348
with:
334349
python-version: "${{ matrix.python }}"
335350
cache: 'pip'
@@ -347,7 +362,7 @@ jobs:
347362
runs-on: ubuntu-latest
348363
container: gcr.io/gapic-images/googleapis
349364
steps:
350-
- uses: actions/checkout@v4
365+
- uses: actions/checkout@v5
351366
- name: Cache Bazel files
352367
id: cache-bazel
353368
uses: actions/cache@v4
@@ -375,9 +390,9 @@ jobs:
375390
goldens-lint:
376391
runs-on: ubuntu-latest
377392
steps:
378-
- uses: actions/checkout@v4
393+
- uses: actions/checkout@v5
379394
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
380-
uses: actions/setup-python@v5
395+
uses: actions/setup-python@v6
381396
with:
382397
python-version: ${{ env.LATEST_STABLE_PYTHON }}
383398
cache: 'pip'
@@ -394,9 +409,9 @@ jobs:
394409
goldens-unit:
395410
runs-on: ubuntu-latest
396411
steps:
397-
- uses: actions/checkout@v4
412+
- uses: actions/checkout@v5
398413
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
399-
uses: actions/setup-python@v5
414+
uses: actions/setup-python@v6
400415
with:
401416
python-version: "${{ env.LATEST_STABLE_PYTHON }}"
402417
cache: 'pip'
@@ -415,9 +430,9 @@ jobs:
415430
goldens-prerelease:
416431
runs-on: ubuntu-latest
417432
steps:
418-
- uses: actions/checkout@v4
433+
- uses: actions/checkout@v5
419434
- name: Set up Python ${{ env.PRE_RELEASE_PYTHON }}
420-
uses: actions/setup-python@v5
435+
uses: actions/setup-python@v6
421436
with:
422437
python-version: "${{ env.PRE_RELEASE_PYTHON }}"
423438
cache: 'pip'
@@ -437,9 +452,9 @@ jobs:
437452
lint:
438453
runs-on: ubuntu-latest
439454
steps:
440-
- uses: actions/checkout@v4
455+
- uses: actions/checkout@v5
441456
- name: Set up Python ${{ env.LATEST_STABLE_PYTHON }}
442-
uses: actions/setup-python@v5
457+
uses: actions/setup-python@v6
443458
with:
444459
python-version: "${{ env.LATEST_STABLE_PYTHON }}"
445460
cache: 'pip'

BUILD.bazel

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,44 @@ toolchain_type(
77
visibility = ["//visibility:public"],
88
)
99

10+
pandoc_toolchain(
11+
exec_compatible_with = [
12+
"@platforms//os:linux",
13+
"@platforms//cpu:arm64",
14+
],
15+
platform = "linux_arm_64",
16+
)
17+
1018
pandoc_toolchain(
1119
exec_compatible_with = [
1220
"@platforms//os:linux",
1321
"@platforms//cpu:x86_64",
1422
],
15-
platform = "linux",
23+
platform = "linux_x86_64",
24+
)
25+
26+
pandoc_toolchain(
27+
exec_compatible_with = [
28+
"@platforms//os:osx",
29+
"@platforms//cpu:arm64",
30+
],
31+
platform = "macOS_arm_64",
1632
)
1733

1834
pandoc_toolchain(
1935
exec_compatible_with = [
2036
"@platforms//os:osx",
2137
"@platforms//cpu:x86_64",
2238
],
23-
platform = "macOS",
39+
platform = "macOS_x86_64",
40+
)
41+
42+
pandoc_toolchain(
43+
exec_compatible_with = [
44+
"@platforms//os:windows",
45+
"@platforms//cpu:x86_64",
46+
],
47+
platform = "windows_x86_64",
2448
)
2549

2650
pandoc_binary(

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
# Changelog
22

33

4+
## [1.27.0](https://github.com/googleapis/gapic-generator-python/compare/v1.26.2...v1.27.0) (2025-09-24)
5+
6+
7+
### Features
8+
9+
* Add gapic-version generator option ([#2440](https://github.com/googleapis/gapic-generator-python/issues/2440)) ([75eb349](https://github.com/googleapis/gapic-generator-python/commit/75eb349efcb907dc443b6e8a2c11b2056a476009))
10+
11+
## [1.26.2](https://github.com/googleapis/gapic-generator-python/compare/v1.26.1...v1.26.2) (2025-08-30)
12+
13+
14+
### Documentation
15+
16+
* Minor formatting improvements ([#2432](https://github.com/googleapis/gapic-generator-python/issues/2432)) ([17d6db5](https://github.com/googleapis/gapic-generator-python/commit/17d6db5355b3d64c04dcdfe9b8433493b264c60c))
17+
18+
## [1.26.1](https://github.com/googleapis/gapic-generator-python/compare/v1.26.0...v1.26.1) (2025-08-28)
19+
20+
21+
### Bug Fixes
22+
23+
* Temporarily disable `test_<service>_api_version_header_async` which is not marked as async ([9382ac3](https://github.com/googleapis/gapic-generator-python/commit/9382ac3546f335116665e10c4132369bc7637a67))
24+
25+
## [1.26.0](https://github.com/googleapis/gapic-generator-python/compare/v1.25.0...v1.26.0) (2025-05-28)
26+
27+
28+
### Features
29+
30+
* Add client debug logging support for server side streaming REST calls ([#2340](https://github.com/googleapis/gapic-generator-python/issues/2340)) ([8a705c5](https://github.com/googleapis/gapic-generator-python/commit/8a705c513fe63b025eca738feb64a1e414f9f4b6))
31+
432
## [1.25.0](https://github.com/googleapis/gapic-generator-python/compare/v1.24.1...v1.25.0) (2025-05-06)
533

634

Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

docker-entrypoint.sh

Lines changed: 0 additions & 50 deletions
This file was deleted.

docs/getting-started/_verifying.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Verifying the Library
22
---------------------
33

4-
Once you have compiled a client library, whether using a Docker image,
5-
local installation or bazel, it is time for the fun part: actually running it!
4+
Once you have compiled a client library, whether using a local installation
5+
or bazel, it is time for the fun part: actually running it!
66

77
Create a virtual environment for the library:
88

0 commit comments

Comments
 (0)