Commit 5244589
authored
chore(librarian): add ability to update version files for proto-only libraries (#14674)
This PR add ability to update the version number in version files for
proto-only libraries, specifically files `setup.py` and
`pyproject.toml`.
For proto-only libraries like `google-cloud-audit-log`, version
information lives in `setup.py` rather than `gapic_version.py`.
See the version string here:
https://github.com/googleapis/google-cloud-python/blob/63eea55ac407e4978c43deaeb1c985b1c8a170dc/packages/google-cloud-audit-log/setup.py#L23
For `pyproject.toml`, see here:
https://github.com/googleapis/google-cloud-python/blob/63eea55ac407e4978c43deaeb1c985b1c8a170dc/packages/googleapis-common-protos/pyproject.toml#L21
Compared with the version string which exists in `gapic_version.py`
here:
https://github.com/googleapis/google-cloud-python/blob/63eea55ac407e4978c43deaeb1c985b1c8a170dc/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/gapic_version.py#L16
Note that in `setup.py` and `pyproject.toml`, the version string is
`version = "a.b.c"` whereas in `gapic_version.py` the version string is
`__version__ = "a.b.c"`1 parent 63eea55 commit 5244589
2 files changed
+82
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
1061 | | - | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1062 | 1065 | | |
1063 | 1066 | | |
1064 | 1067 | | |
| |||
1071 | 1074 | | |
1072 | 1075 | | |
1073 | 1076 | | |
1074 | | - | |
1075 | | - | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
1076 | 1080 | | |
1077 | 1081 | | |
1078 | 1082 | | |
| |||
1088 | 1092 | | |
1089 | 1093 | | |
1090 | 1094 | | |
1091 | | - | |
1092 | | - | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1093 | 1104 | | |
1094 | 1105 | | |
1095 | 1106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
968 | | - | |
| 968 | + | |
969 | 969 | | |
970 | 970 | | |
971 | 971 | | |
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
987 | 1031 | | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
988 | 1048 | | |
989 | 1049 | | |
990 | 1050 | | |
| |||
1099 | 1159 | | |
1100 | 1160 | | |
1101 | 1161 | | |
1102 | | - | |
| 1162 | + | |
1103 | 1163 | | |
1104 | 1164 | | |
1105 | | - | |
| 1165 | + | |
1106 | 1166 | | |
1107 | | - | |
| 1167 | + | |
1108 | 1168 | | |
1109 | 1169 | | |
1110 | 1170 | | |
1111 | 1171 | | |
1112 | 1172 | | |
1113 | | - | |
| 1173 | + | |
1114 | 1174 | | |
1115 | 1175 | | |
1116 | 1176 | | |
| |||
1367 | 1427 | | |
1368 | 1428 | | |
1369 | 1429 | | |
| 1430 | + | |
1370 | 1431 | | |
1371 | 1432 | | |
1372 | 1433 | | |
| |||
0 commit comments