Skip to content

Commit eff2e05

Browse files
authored
chore: update post processing scripts (#14685)
This PR includes post processing changes to support the latest version of the generated code for packages still using the owlbot pipeline https://github.com/googleapis/gapic-generator-python/releases/tag/v1.28.0
1 parent 503875c commit eff2e05

File tree

3 files changed

+8
-18
lines changed

3 files changed

+8
-18
lines changed

scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,26 @@ replacements:
2323
# Exclude incompatible versions of `google-auth`
2424
# See https://github.com/googleapis/google-cloud-python/issues/12364
2525
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
26-
"proto-plus >= 1.22.3, <2.0.0",
26+
"grpcio >= 1.33.2, < 2.0.0",
2727
after: |
2828
dependencies = [
2929
"google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
3030
# Exclude incompatible versions of `google-auth`
3131
# See https://github.com/googleapis/google-cloud-python/issues/12364
3232
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
3333
"grpc-google-iam-v1 >=0.12.4, <1.0.0",
34-
"proto-plus >= 1.22.3, <2.0.0",
34+
"grpcio >= 1.33.2, < 2.0.0",
3535
count: 1
3636
- paths: [
3737
packages/google-cloud-gke-hub/testing/constraints-3.7.txt
3838
]
3939
before: |
4040
google-api-core==1.34.1
4141
google-auth==2.14.1
42-
proto-plus==1.22.3
4342
after: |
4443
google-api-core==1.34.1
45-
google-auth==2.14.1
4644
grpc-google-iam-v1==0.12.4
47-
proto-plus==1.22.3
45+
google-auth==2.14.1
4846
count: 1
4947
- paths: [
5048
packages/google-cloud-build/setup.py
@@ -116,12 +114,10 @@ replacements:
116114
before: |
117115
google-api-core==1.34.1
118116
google-auth==2.14.1
119-
proto-plus==1.22.3
120117
after: |
121118
google-api-core==1.34.1
122-
google-auth==2.14.1
123119
grpc-google-iam-v1==0.12.4
124-
proto-plus==1.22.3
120+
google-auth==2.14.1
125121
count: 1
126122
- paths: [
127123
packages/google-cloud-iam/setup.py
@@ -132,15 +128,15 @@ replacements:
132128
# Exclude incompatible versions of `google-auth`
133129
# See https://github.com/googleapis/google-cloud-python/issues/12364
134130
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
135-
"proto-plus >= 1.22.3, <2.0.0",
131+
"grpcio >= 1.33.2, < 2.0.0",
136132
after: |
137133
dependencies = [
138134
"google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
139135
# Exclude incompatible versions of `google-auth`
140136
# See https://github.com/googleapis/google-cloud-python/issues/12364
141137
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
142138
"grpc-google-iam-v1 >=0.12.4, <1.0.0",
143-
"proto-plus >= 1.22.3, <2.0.0",
139+
"grpcio >= 1.33.2, < 2.0.0",
144140
count: 1
145141
- paths: [
146142
packages/google-cloud-policysimulator/setup.py

scripts/client-post-processing/bigquery-storage-integration.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,17 +439,13 @@ replacements:
439439
before: |
440440
google-api-core==1.34.1
441441
google-auth==2.14.1
442-
proto-plus==1.22.3
443-
protobuf==3.20.2
444442
after: |
445443
google-api-core==1.34.1
446-
google-auth==2.14.1
447-
proto-plus==1.22.3
448444
libcst==0.2.5
449445
fastavro==0.21.2
450446
pandas==1.0.5
451447
pyarrow==0.15.0
452-
protobuf==3.20.2
448+
google-auth==2.14.1
453449
count: 1
454450
- paths: [
455451
packages/google-cloud-bigquery-storage/docs/index.rst,

scripts/client-post-processing/integrate-isolated-handwritten-code.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,10 @@ replacements:
154154
before: |
155155
google-api-core==1.34.1
156156
google-auth==2.14.1
157-
proto-plus==1.22.3
158157
after: |
159158
google-api-core==1.34.1
160-
google-auth==2.14.1
161159
pandas==0.23.2
162-
proto-plus==1.22.3
160+
google-auth==2.14.1
163161
count: 1
164162
- paths: [
165163
packages/google-cloud-monitoring/noxfile.py,

0 commit comments

Comments
 (0)