Commit ce83729
authored
chore(librarian): Add exception namespaces for googleapis-common-protos (#14598)
This PR fixes the following error when running `librarian generate
--build` for a `proto-only` library such as `googleapis-common-protos`
```
Traceback (most recent call last):
File "/app/./cli.py", line 977, in handle_build
_verify_library_namespace(library_id, repo)
File "/app/./cli.py", line 913, in _verify_library_namespace
raise ValueError(
ValueError: Error: namespace cannot be determined for googleapis-common-protos. Library is missing a `gapic_version.py`.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/./cli.py", line 1404, in <module>
args.func(librarian=args.librarian, repo=args.repo)
File "/app/./cli.py", line 981, in handle_build
raise ValueError("Build failed.") from e
ValueError: Build failed.
time=2025-09-30T09:00:03.583Z level=INFO
```1 parent 24f11c9 commit ce83729
2 files changed
+24
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
| 866 | + | |
| 867 | + | |
867 | 868 | | |
868 | 869 | | |
869 | 870 | | |
| |||
872 | 873 | | |
873 | 874 | | |
874 | 875 | | |
| 876 | + | |
875 | 877 | | |
876 | 878 | | |
877 | 879 | | |
| |||
883 | 885 | | |
884 | 886 | | |
885 | 887 | | |
| 888 | + | |
| 889 | + | |
886 | 890 | | |
| 891 | + | |
887 | 892 | | |
888 | 893 | | |
889 | 894 | | |
890 | | - | |
891 | | - | |
892 | 895 | | |
893 | 896 | | |
| 897 | + | |
| 898 | + | |
894 | 899 | | |
895 | 900 | | |
896 | 901 | | |
| |||
899 | 904 | | |
900 | 905 | | |
901 | 906 | | |
| 907 | + | |
902 | 908 | | |
903 | | - | |
904 | 909 | | |
905 | 910 | | |
906 | 911 | | |
907 | 912 | | |
908 | 913 | | |
909 | | - | |
910 | | - | |
| 914 | + | |
| 915 | + | |
911 | 916 | | |
912 | | - | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
913 | 926 | | |
914 | 927 | | |
915 | | - | |
| 928 | + | |
916 | 929 | | |
917 | 930 | | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
| 931 | + | |
| 932 | + | |
924 | 933 | | |
925 | 934 | | |
926 | 935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
1324 | | - | |
| 1324 | + | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
| |||
0 commit comments