Skip to content

Commit 3ea8ead

Browse files
committed
clean up
1 parent 0f29bbc commit 3ea8ead

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

.generator/cli.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -330,23 +330,6 @@ def _copy_files_needed_for_post_processing(output: str, input: str, library_id:
330330
os.makedirs(
331331
f"{output}/{path_to_library}/scripts/client-post-processing", exist_ok=True
332332
)
333-
# TODO(https://github.com/googleapis/synthtool/pull/2126): Remove once this PR is merged
334-
# This is needed to avoid the following error for proto-only libraries
335-
# Traceback (most recent call last):
336-
# File "/app/./cli.py", line 535, in handle_generate
337-
# _run_post_processor(output, library_id)
338-
# File "/app/./cli.py", line 300, in _run_post_processor
339-
# python_mono_repo.owlbot_main(path_to_library)
340-
# File "/usr/local/lib/python3.9/site-packages/synthtool/languages/python_mono_repo.py", line 310, in owlbot_main
341-
# create_symlink_docs_readme(package_dir)
342-
# File "/usr/local/lib/python3.9/site-packages/synthtool/languages/python_mono_repo.py", line 102, in create_symlink_docs_readme
343-
# create_symlink_in_docs_dir(package_dir, "README.rst")
344-
# File "/usr/local/lib/python3.9/site-packages/synthtool/languages/python_mono_repo.py", line 82, in create_symlink_in_docs_dir
345-
# os.chdir(f"{package_dir}/docs")
346-
# FileNotFoundError: [Errno 2] No such file or directory: 'packages/google-cloud-access-context-manager/docs'
347-
os.makedirs(
348-
f"{output}/{path_to_library}/docs", exist_ok=True
349-
)
350333
# TODO(https://github.com/googleapis/librarian/issues/2334):
351334
# if `.repo-metadata.json` for a library exists in
352335
# `.librarian/generator-input`, then we override the generated `.repo-metadata.json`

.librarian/state.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,4 +1212,5 @@ libraries:
12121212
preserve_regex: []
12131213
remove_regex:
12141214
- ^packages/google-cloud-audit-log/google/.*/.*_pb2\.(?:py|pyi)$
1215-
tag_format: '{id}-v{version}'
1215+
tag_format: '{id}-v{version}'
1216+

0 commit comments

Comments
 (0)