Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit dfdc70d

Browse files
committed
add replacement in owlbot.py
1 parent 6294d6a commit dfdc70d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

owlbot.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,19 @@ def mockserver(session):
356356
escape="()_*:",
357357
)
358358

359+
s.replace(
360+
"noxfile.py",
361+
"install_systemtest_dependencies\(session, \"-c\", constraints_path\)",
362+
"""install_systemtest_dependencies(session, "-c", constraints_path)
363+
364+
# TODO(https://github.com/googleapis/synthtool/issues/1976):
365+
# Remove the 'cpp' implementation once support for Protobuf 3.x is dropped.
366+
# The 'cpp' implementation requires Protobuf<4.
367+
if protobuf_implementation == "cpp":
368+
session.install("protobuf<4")
369+
"""
370+
)
371+
359372
place_before(
360373
"noxfile.py",
361374
"UNIT_TEST_PYTHON_VERSIONS: List[str] = [",

0 commit comments

Comments
 (0)