Skip to content

Commit dbdd7b1

Browse files
yinghsienwucopybara-github
authored andcommitted
fix: Removing Python 3.9 support due to EOL
PiperOrigin-RevId: 906558007
1 parent dc3b639 commit dbdd7b1

19 files changed

Lines changed: 43 additions & 148 deletions

File tree

.kokoro/continuous/unit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Format: //devtools/kokoro/config/proto/build.proto
22

3-
# Run all unit test sessions, in Python 3.7 to 3.9
3+
# Run all unit test sessions, in Python 3.10 to 3.13
44
env_vars: {
55
key: "NOX_SESSION"
66
value: "unit"

.kokoro/docker/docs/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ RUN apt-get update \
6060
&& rm -rf /var/lib/apt/lists/* \
6161
&& rm -f /var/cache/apt/archives/*.deb
6262

63-
###################### Install python 3.9.13
63+
###################### Install python 3.10.20
6464

65-
# Download python 3.9.13
66-
RUN wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz
65+
# Download python 3.10.20
66+
RUN wget https://www.python.org/ftp/python/3.10.20/Python-3.10.20.tgz
6767

6868
# Extract files
69-
RUN tar -xvf Python-3.9.13.tgz
69+
RUN tar -xvf Python-3.10.20.tgz
7070

71-
# Install python 3.9.13
72-
RUN ./Python-3.9.13/configure --enable-optimizations
71+
# Install python 3.10.20
72+
RUN ./Python-3.10.20/configure --enable-optimizations
7373
RUN make altinstall
7474

7575
###################### Install pip
@@ -80,4 +80,4 @@ RUN wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
8080
# Test pip
8181
RUN python3 -m pip
8282

83-
CMD ["python3.9"]
83+
CMD ["python3.10"]

.kokoro/presubmit/release.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Run system tests in presubmit for library releases
44
env_vars: {
55
key: "NOX_SESSION"
6-
value: "system-3.9 unit"
6+
value: "system-3.10 unit"
77
}
88

99
# Run system tests in parallel, splitting up by file

.kokoro/presubmit/unit_3-9.cfg

Lines changed: 0 additions & 13 deletions
This file was deleted.

.kokoro/presubmit/unit_langchain_py39.cfg

Lines changed: 0 additions & 13 deletions
This file was deleted.

.kokoro/samples/python3.9/common.cfg

Lines changed: 0 additions & 40 deletions
This file was deleted.

.kokoro/samples/python3.9/continuous.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

.kokoro/samples/python3.9/periodic-head.cfg

Lines changed: 0 additions & 11 deletions
This file was deleted.

.kokoro/samples/python3.9/periodic.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

.kokoro/samples/python3.9/presubmit.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)