Skip to content

Commit 32a0b9a

Browse files
committed
chore(librarian): update gapic-generator
1 parent 85b64cb commit 32a0b9a

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.generator/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN apt-get update && \
3939
# Install multiple Python versions from source. `make altinstall` is used to
4040
# prevent replacing the system's default python binary.
4141
# TODO(http://github.com/googleapis/gapic-generator-python/issues/2435): Remove `3.10.18` when the linked issue is resolved.
42-
RUN for PYTHON_VERSION in 3.9.23 3.10.18 3.13.7; do \
42+
RUN for PYTHON_VERSION in 3.9.23 3.10.18 3.13.7 3.14.0; do \
4343
wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz && \
4444
tar -xvf Python-${PYTHON_VERSION}.tgz && \
4545
cd Python-${PYTHON_VERSION} && \
@@ -53,7 +53,7 @@ RUN for PYTHON_VERSION in 3.9.23 3.10.18 3.13.7; do \
5353
# Install pip for each python version
5454
# TODO(http://github.com/googleapis/gapic-generator-python/issues/2435): Remove `3.10` when the linked issue is resolved.
5555
RUN wget --no-check-certificate -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' && \
56-
for PYTHON_VERSION in 3.9 3.10 3.13; do \
56+
for PYTHON_VERSION in 3.9 3.10 3.13 3.14; do \
5757
python${PYTHON_VERSION} /tmp/get-pip.py; \
5858
done && \
5959
rm /tmp/get-pip.py
@@ -86,9 +86,6 @@ 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 \
9289
# This is needed to avoid the following error:
9390
# `ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory`.
9491
# `libsqlite3-0` is used by the `coverage` PyPI package which is used when testing libraries
@@ -115,6 +112,9 @@ COPY --from=builder /usr/local/lib/python3.10 /usr/local/lib/python3.10
115112
COPY --from=builder /usr/local/bin/python3.13 /usr/local/bin/
116113
COPY --from=builder /usr/local/lib/python3.13 /usr/local/lib/python3.13
117114

115+
COPY --from=builder /usr/local/bin/python3.14 /usr/local/bin/
116+
COPY --from=builder /usr/local/lib/python3.14 /usr/local/lib/python3.14
117+
118118
# Set the working directory in the container.
119119
WORKDIR /app
120120

.generator/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def _run_nox_sessions(library_id: str, repo: str):
802802
the config.yaml.
803803
"""
804804
sessions = [
805-
"unit-3.13(protobuf_implementation='upb')",
805+
"unit-3.14(protobuf_implementation='upb')",
806806
]
807807
current_session = None
808808
try:

.generator/requirements.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
click
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]
2+
gapic-generator>=1.28.0 # Python 3.14 support
53
nox
64
starlark-pyo3>=2025.1
75
build

0 commit comments

Comments
 (0)