Skip to content

Commit 16790a3

Browse files
partheaabbrowne126
andauthored
chore(python): Add Python 3.14 to python post processor image (#2131)
* chore(python): Add Python 3.14 to python post processor image * Add 3.14 * update README * Update synthtool/gcp/templates/python_library/.kokoro/samples/python3.14/periodic-head.cfg Co-authored-by: Andrew Browne <81702808+abbrowne126@users.noreply.github.com> * Update synthtool/gcp/templates/python_library/.kokoro/samples/python3.14/periodic.cfg Co-authored-by: Andrew Browne <81702808+abbrowne126@users.noreply.github.com> * s/value: "true"/value: "True"/g --------- Co-authored-by: Andrew Browne <81702808+abbrowne126@users.noreply.github.com>
1 parent ecfb9d4 commit 16790a3

22 files changed

Lines changed: 112 additions & 17 deletions

File tree

docker/owlbot/python/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN apt-get update && \
3838
# Install multiple Python versions from source. `make altinstall` is used to
3939
# prevent replacing the system's default python binary.
4040
# TODO(http://github.com/googleapis/gapic-generator-python/issues/2435): Remove `3.10.18` when the linked issue is resolved.
41-
RUN for PYTHON_VERSION in 3.10.18 3.13.5; do \
41+
RUN for PYTHON_VERSION in 3.10.18 3.13.8 3.14.0; do \
4242
wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz && \
4343
tar -xvf Python-${PYTHON_VERSION}.tgz && \
4444
cd Python-${PYTHON_VERSION} && \
@@ -52,7 +52,7 @@ RUN for PYTHON_VERSION in 3.10.18 3.13.5; do \
5252
# Install pip for each python version
5353
# TODO(http://github.com/googleapis/gapic-generator-python/issues/2435): Remove `3.10` when the linked issue is resolved.
5454
RUN wget --no-check-certificate -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' && \
55-
for PYTHON_VERSION in 3.10 3.13; do \
55+
for PYTHON_VERSION in 3.10 3.13 3.14; do \
5656
python${PYTHON_VERSION} /tmp/get-pip.py; \
5757
done && \
5858
rm /tmp/get-pip.py

synthtool/gcp/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ def py_library(self, **kwargs) -> Path:
275275
"3.11",
276276
"3.12",
277277
"3.13",
278+
"3.14",
278279
]
279280

280281
if "system_test_python_versions" not in kwargs:

synthtool/gcp/templates/python_library/.kokoro/samples/python3.10/periodic-head.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ env_vars: {
1313
# Upload the docker image after successful builds.
1414
env_vars: {
1515
key: "TRAMPOLINE_IMAGE_UPLOAD"
16-
value: "true"
16+
value: "True"
1717
}
1818
{% endif %}

synthtool/gcp/templates/python_library/.kokoro/samples/python3.10/periodic.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ env_vars: {
88
# Upload the docker image after successful builds.
99
env_vars: {
1010
key: "TRAMPOLINE_IMAGE_UPLOAD"
11-
value: "true"
11+
value: "True"
1212
}
1313
{% endif %}

synthtool/gcp/templates/python_library/.kokoro/samples/python3.11/periodic-head.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ env_vars: {
1313
# Upload the docker image after successful builds.
1414
env_vars: {
1515
key: "TRAMPOLINE_IMAGE_UPLOAD"
16-
value: "true"
16+
value: "True"
1717
}
1818
{% endif %}

synthtool/gcp/templates/python_library/.kokoro/samples/python3.11/periodic.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ env_vars: {
88
# Upload the docker image after successful builds.
99
env_vars: {
1010
key: "TRAMPOLINE_IMAGE_UPLOAD"
11-
value: "true"
11+
value: "True"
1212
}
1313
{% endif %}

synthtool/gcp/templates/python_library/.kokoro/samples/python3.12/periodic-head.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ env_vars: {
1313
# Upload the docker image after successful builds.
1414
env_vars: {
1515
key: "TRAMPOLINE_IMAGE_UPLOAD"
16-
value: "true"
16+
value: "True"
1717
}
1818
{% endif %}

synthtool/gcp/templates/python_library/.kokoro/samples/python3.12/periodic.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ env_vars: {
88
# Upload the docker image after successful builds.
99
env_vars: {
1010
key: "TRAMPOLINE_IMAGE_UPLOAD"
11-
value: "true"
11+
value: "True"
1212
}
1313
{% endif %}

synthtool/gcp/templates/python_library/.kokoro/samples/python3.13/periodic-head.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ env_vars: {
1313
# Upload the docker image after successful builds.
1414
env_vars: {
1515
key: "TRAMPOLINE_IMAGE_UPLOAD"
16-
value: "true"
16+
value: "True"
1717
}
1818
{% endif %}

synthtool/gcp/templates/python_library/.kokoro/samples/python3.13/periodic.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ env_vars: {
88
# Upload the docker image after successful builds.
99
env_vars: {
1010
key: "TRAMPOLINE_IMAGE_UPLOAD"
11-
value: "true"
11+
value: "True"
1212
}
1313
{% endif %}

0 commit comments

Comments
 (0)