Skip to content

Commit afe83fc

Browse files
authored
chore(librarian): temporarily pin GAPIC generator (googleapis#14643)
Temporarily pin `gapic-generator` to reduce the diff for libraries being onboarded to librarian
1 parent a1e06ed commit afe83fc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.generator/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ ENV SYNTHTOOL_TEMPLATES="/synthtool/synthtool/gcp/templates"
8686
# These are the non "-dev" versions of the libraries used in the builder.
8787
RUN apt-get update && \
8888
apt-get install -y --no-install-recommends \
89+
# Temporarily include git and ca-certificates to download gapic-generator from Github
90+
ca-certificates \
91+
git \
8992
# This is needed to avoid the following error:
9093
# `ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory`.
9194
# `libsqlite3-0` is used by the `coverage` PyPI package which is used when testing libraries

.generator/requirements.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
click
2-
gapic-generator>=1.27.2
2+
# Temporarily use a patched version of the generator to avoid getting
3+
# new features/fixes for GAPIC libraries for the purposes of onboarding to librarian
4+
gapic-generator @ git+https://github.com/googleapis/[email protected]
35
nox
46
starlark-pyo3>=2025.1
57
build

0 commit comments

Comments
 (0)