Commit 01d3127
authored
feat(pubsub): regenerate pubsub library using gapic-generator v1.32.0 (#17167)
Updates post processing to account for dropping support for Python 3.7,
3.8, 3.9 and impacts that has on using 3.10 for lower bounds testing.
Changes:
* adds `grpcio-status`, `opentelemetry-api`, `opentelemetry-sdk` to
`constraints-3.10.txt` and installs `pandas` extra in `prerelease_deps`
and `core_deps_from_source` nox sessions.
* updates dependency versions in `constraints-3.10.txt` to match
expectations in the `setup.py` file.
* Refined post-processing replacement rules in
``librarian/generator-input/client-post-processing/pubsub-integration.yaml`
to make these dependency and constraint alignments.1 parent 042dc5c commit 01d3127Copy full SHA for 01d3127
11 files changed
+105-158Lines changed: 105 additions & 158 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .librarian/generator-input/client-post-processing
- packages/google-cloud-pubsub
- docs
- google/pubsub_v1
- testing
- tests/unit/gapic/pubsub_v1
Expand file treeCollapse file tree
Open diff view settings
Collapse file
.librarian/generator-input/client-post-processing/pubsub-integration.yaml
Copy file name to clipboardExpand all lines: .librarian/generator-input/client-post-processing/pubsub-integration.yaml+25-1Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
382 | 382 | |
383 | 383 | |
384 | 384 | |
385 | | - |
| 385 | + |
386 | 386 | |
387 | 387 | |
388 | 388 | |
| ||
511 | 511 | |
512 | 512 | |
513 | 513 | |
| 514 | + |
| 515 | + |
| 516 | + |
| 517 | + |
| 518 | + |
| 519 | + |
| 520 | + |
| 521 | + |
| 522 | + |
| 523 | + |
| 524 | + |
| 525 | + |
| 526 | + |
| 527 | + |
| 528 | + |
| 529 | + |
| 530 | + |
| 531 | + |
| 532 | + |
| 533 | + |
| 534 | + |
| 535 | + |
| 536 | + |
| 537 | + |
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1661 | 1661 | |
1662 | 1662 | |
1663 | 1663 | |
1664 | | - |
1665 | 1664 | |
1666 | 1665 | |
1667 | 1666 | |
|
Collapse file
packages/google-cloud-pubsub/docs/conf.py
Copy file name to clipboardExpand all lines: packages/google-cloud-pubsub/docs/conf.py+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
83 | 83 | |
84 | 84 | |
85 | 85 | |
86 | | - |
| 86 | + |
87 | 87 | |
88 | 88 | |
89 | 89 | |
|
Collapse file
packages/google-cloud-pubsub/google/pubsub_v1/__init__.py
Copy file name to clipboardExpand all lines: packages/google-cloud-pubsub/google/pubsub_v1/__init__.py+4-21Lines changed: 4 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
| 24 | + |
31 | 25 | |
32 | 26 | |
33 | 27 | |
| ||
116 | 110 | |
117 | 111 | |
118 | 112 | |
119 | | - |
120 | 113 | |
121 | 114 | |
122 | 115 | |
123 | 116 | |
124 | | - |
| 117 | + |
125 | 118 | |
126 | 119 | |
127 | 120 | |
128 | 121 | |
129 | 122 | |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
| 123 | + |
141 | 124 | |
142 | 125 | |
143 | 126 | |
|
Collapse file
packages/google-cloud-pubsub/noxfile.py
Copy file name to clipboardExpand all lines: packages/google-cloud-pubsub/noxfile.py+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
35 | 34 | |
36 | 35 | |
37 | 36 | |
| ||
439 | 438 | |
440 | 439 | |
441 | 440 | |
442 | | - |
443 | 441 | |
444 | 442 | |
445 | 443 | |
|
Collapse file
packages/google-cloud-pubsub/setup.py
Copy file name to clipboardExpand all lines: packages/google-cloud-pubsub/setup.py+5-6Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
39 | 39 | |
40 | 40 | |
41 | 41 | |
42 | | - |
| 42 | + |
43 | 43 | |
44 | 44 | |
45 | 45 | |
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
| 51 | + |
52 | 52 | |
53 | 53 | |
54 | 54 | |
| ||
74 | 74 | |
75 | 75 | |
76 | 76 | |
77 | | - |
| 77 | + |
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | 81 | |
82 | 82 | |
83 | 83 | |
84 | 84 | |
85 | | - |
86 | 85 | |
87 | 86 | |
88 | 87 | |
| ||
93 | 92 | |
94 | 93 | |
95 | 94 | |
96 | | - |
| 95 | + |
97 | 96 | |
98 | 97 | |
99 | 98 | |
|
Collapse file
packages/google-cloud-pubsub/testing/constraints-3.10.txt
Copy file name to clipboard+15-11Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
Collapse file
packages/google-cloud-pubsub/testing/constraints-3.9.txt
Copy file name to clipboardExpand all lines: packages/google-cloud-pubsub/testing/constraints-3.9.txt-14Lines changed: 0 additions & 14 deletions
This file was deleted.
Collapse file
packages/google-cloud-pubsub/tests/unit/gapic/pubsub_v1/test_publisher.py
Copy file name to clipboardExpand all lines: packages/google-cloud-pubsub/tests/unit/gapic/pubsub_v1/test_publisher.py+16-34Lines changed: 16 additions & 34 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | 16 | |
26 | 17 | |
| 18 | + |
27 | 19 | |
| 20 | + |
| 21 | + |
28 | 22 | |
29 | 23 | |
30 | 24 | |
| ||
3120 | 3114 | |
3121 | 3115 | |
3122 | 3116 | |
3123 | | - |
3124 | | - |
3125 | | - |
3126 | | - |
3127 | | - |
| 3117 | + |
3128 | 3118 | |
3129 | 3119 | |
3130 | 3120 | |
| ||
3672 | 3662 | |
3673 | 3663 | |
3674 | 3664 | |
3675 | | - |
3676 | | - |
3677 | | - |
3678 | | - |
3679 | | - |
| 3665 | + |
3680 | 3666 | |
3681 | 3667 | |
3682 | 3668 | |
| ||
4221 | 4207 | |
4222 | 4208 | |
4223 | 4209 | |
4224 | | - |
4225 | | - |
4226 | | - |
4227 | | - |
4228 | | - |
| 4210 | + |
4229 | 4211 | |
4230 | 4212 | |
4231 | 4213 | |
| ||
4898 | 4880 | |
4899 | 4881 | |
4900 | 4882 | |
4901 | | - |
| 4883 | + |
4902 | 4884 | |
4903 | 4885 | |
4904 | 4886 | |
| ||
5068 | 5050 | |
5069 | 5051 | |
5070 | 5052 | |
5071 | | - |
| 5053 | + |
5072 | 5054 | |
5073 | 5055 | |
5074 | 5056 | |
| ||
5253 | 5235 | |
5254 | 5236 | |
5255 | 5237 | |
5256 | | - |
| 5238 | + |
5257 | 5239 | |
5258 | 5240 | |
5259 | 5241 | |
| ||
5438 | 5420 | |
5439 | 5421 | |
5440 | 5422 | |
5441 | | - |
| 5423 | + |
5442 | 5424 | |
5443 | 5425 | |
5444 | 5426 | |
| ||
5619 | 5601 | |
5620 | 5602 | |
5621 | 5603 | |
5622 | | - |
| 5604 | + |
5623 | 5605 | |
5624 | 5606 | |
5625 | 5607 | |
| ||
5876 | 5858 | |
5877 | 5859 | |
5878 | 5860 | |
5879 | | - |
| 5861 | + |
5880 | 5862 | |
5881 | 5863 | |
5882 | 5864 | |
| ||
6135 | 6117 | |
6136 | 6118 | |
6137 | 6119 | |
6138 | | - |
| 6120 | + |
6139 | 6121 | |
6140 | 6122 | |
6141 | 6123 | |
| ||
6376 | 6358 | |
6377 | 6359 | |
6378 | 6360 | |
6379 | | - |
| 6361 | + |
6380 | 6362 | |
6381 | 6363 | |
6382 | 6364 | |
| ||
6554 | 6536 | |
6555 | 6537 | |
6556 | 6538 | |
6557 | | - |
| 6539 | + |
6558 | 6540 | |
6559 | 6541 | |
6560 | 6542 | |
|
0 commit comments