diff --git a/.generator/Dockerfile b/.generator/Dockerfile index 42043a02e62e..b80af6f7103a 100644 --- a/.generator/Dockerfile +++ b/.generator/Dockerfile @@ -48,7 +48,8 @@ ENV BAZELISK_VERSION=v1.26.0 # Install multiple Python versions from source. `make altinstall` is used to # prevent replacing the system's default python binary. -RUN for PYTHON_VERSION in 3.9.23 3.10.18 3.11.13 3.12.11 3.13.5; do \ +# TODO(http://github.com/googleapis/gapic-generator-python/issues/2435): Remove `3.10.18` when the linked issue is resolved. +RUN for PYTHON_VERSION in 3.9.23 3.10.18 3.13.5; do \ wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz && \ tar -xvf Python-${PYTHON_VERSION}.tgz && \ cd Python-${PYTHON_VERSION} && \ @@ -60,8 +61,9 @@ RUN for PYTHON_VERSION in 3.9.23 3.10.18 3.11.13 3.12.11 3.13.5; do \ ; done # Install pip for each python version +# TODO(http://github.com/googleapis/gapic-generator-python/issues/2435): Remove `3.10` when the linked issue is resolved. RUN wget --no-check-certificate -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' && \ - for PYTHON_VERSION in 3.9 3.10 3.11 3.12 3.13; do \ + for PYTHON_VERSION in 3.9 3.10 3.13; do \ python${PYTHON_VERSION} /tmp/get-pip.py; \ done && \ rm /tmp/get-pip.py @@ -142,15 +144,10 @@ RUN apt-get update && \ COPY --from=builder /usr/local/bin/python3.9 /usr/local/bin/ COPY --from=builder /usr/local/lib/python3.9 /usr/local/lib/python3.9 +# TODO(http://github.com/googleapis/gapic-generator-python/issues/2435): Remove `3.10` when the linked issue is resolved. COPY --from=builder /usr/local/bin/python3.10 /usr/local/bin/ COPY --from=builder /usr/local/lib/python3.10 /usr/local/lib/python3.10 -COPY --from=builder /usr/local/bin/python3.11 /usr/local/bin/ -COPY --from=builder /usr/local/lib/python3.11 /usr/local/lib/python3.11 - -COPY --from=builder /usr/local/bin/python3.12 /usr/local/bin/ -COPY --from=builder /usr/local/lib/python3.12 /usr/local/lib/python3.12 - COPY --from=builder /usr/local/bin/python3.13 /usr/local/bin/ COPY --from=builder /usr/local/lib/python3.13 /usr/local/lib/python3.13 diff --git a/.generator/cli.py b/.generator/cli.py index 458970183fdc..71ddaac80714 100644 --- a/.generator/cli.py +++ b/.generator/cli.py @@ -441,9 +441,6 @@ def handle_build(librarian: str = LIBRARIAN_DIR, repo: str = REPO_DIR): """The main coordinator for validating client library generation.""" sessions = [ "unit-3.9", - "unit-3.10", - "unit-3.11", - "unit-3.12", "unit-3.13", "docs", "system-3.13",