Skip to content

Commit 36c35d0

Browse files
authored
DRIVERS-3237 Add support for Python 3.14 and use Python 3.10 by default (#674)
1 parent cd1e13c commit 36c35d0

File tree

7 files changed

+20
-15
lines changed

7 files changed

+20
-15
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
boto3~=1.35.0
1+
boto3~=1.39.0
22
pyop~=3.4.0
3+
PyOpenSSL>=23.2.0
34
azure-identity
45
azure-keyvault-secrets

.evergreen/auth_oidc/requirements.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ azure-identity==1.23.1
1414
# via -r requirements-in.txt
1515
azure-keyvault-secrets==4.10.0
1616
# via -r requirements-in.txt
17-
boto3==1.35.99
17+
boto3==1.39.17
1818
# via -r requirements-in.txt
19-
botocore==1.35.99
19+
botocore==1.39.17
2020
# via
2121
# boto3
2222
# s3transfer
@@ -32,6 +32,7 @@ cryptography==45.0.5
3232
# msal
3333
# oic
3434
# pyjwt
35+
# pyopenssl
3536
defusedxml==0.7.1
3637
# via oic
3738
future==1.0.0
@@ -77,6 +78,8 @@ pyjwt[crypto]==2.10.1
7778
# pyjwt
7879
pyop==3.4.1
7980
# via -r requirements-in.txt
81+
pyopenssl==25.1.0
82+
# via -r requirements-in.txt
8083
python-dateutil==2.9.0.post0
8184
# via botocore
8285
python-dotenv==1.1.1
@@ -87,7 +90,7 @@ requests==2.32.4
8790
# msal
8891
# oic
8992
# pyjwkest
90-
s3transfer==0.10.4
93+
s3transfer==0.13.1
9194
# via boto3
9295
six==1.17.0
9396
# via
@@ -101,6 +104,7 @@ typing-extensions==4.14.1
101104
# azure-keyvault-secrets
102105
# pydantic
103106
# pydantic-core
107+
# pyopenssl
104108
# typing-inspection
105109
typing-inspection==0.4.1
106110
# via

.evergreen/csfle/azurekms/remote-scripts/setup-azure-vm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sudo dpkg-reconfigure -f noninteractive man-db || true # This may fail if the l
1010
sudo apt-get -qq update
1111
OPTIONS="-qq -y -o DPkg::Lock::Timeout=-1"
1212
# Dependencies for mongod: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-enterprise-on-debian-tarball/
13-
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install libcurl4 libgssapi-krb5-2 libldap-2.4-2 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit snmp openssl liblzma5 < /dev/null > /dev/null
13+
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install libcurl4 libgssapi-krb5-2 libldap-common libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit openssl liblzma5 < /dev/null > /dev/null
1414
# Dependencies for drivers-evergreen-tools
15-
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install python3-pip python3.9-venv git < /dev/null > /dev/null
15+
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install python3 python3-venv git < /dev/null > /dev/null
1616
echo "Installing dependencies ... end"

.evergreen/csfle/gcpkms/remote-scripts/setup-gce-instance.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sudo dpkg-reconfigure -f noninteractive man-db || true # This may fail if the l
1111
sudo apt-get -qq update
1212
OPTIONS="-y -qq -o DPkg::Lock::Timeout=-1"
1313
# Dependencies for mongod: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-enterprise-on-debian-tarball/
14-
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install libcurl4 libgssapi-krb5-2 libldap-2.4-2 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit snmp openssl liblzma5 < /dev/null > /dev/null
14+
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install libcurl4 libgssapi-krb5-2 libldap-common libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit openssl liblzma5 < /dev/null > /dev/null
1515
# Dependencies for drivers-evergreen-tools
16-
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install python3-pip python3.9-venv git < /dev/null > /dev/null
16+
sudo DEBIAN_FRONTEND=noninteractive apt-get $OPTIONS install python3 python3-venv git < /dev/null > /dev/null
1717
echo "Installing dependencies ... end"

.evergreen/docker/rhel8/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ RUN dnf update -y && \
1919
sudo \
2020
make \
2121
gnupg \
22-
python3.9 \
22+
python3.10 \
2323
mongodb-enterprise \
2424
lsof < /dev/null > /dev/null
2525

26-
# Alias python3 -> python3.9
27-
RUN ln -f -s /usr/bin/python3.9 /usr/bin/python3
26+
# Alias python3 -> python3.10
27+
RUN ln -f -s /usr/bin/python3.10 /usr/bin/python3
2828

2929
ARG USER_ID
3030
ARG GROUP_ID

.evergreen/docker/ubuntu20.04/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
1717
net-tools < /dev/null > /dev/null \
1818
&& rm -rf /var/lib/apt/lists/*
1919

20-
# Install python 3.9 from ppa
20+
# Install python 3.10 from ppa
2121
RUN export DEBIAN_FRONTEND=noninteractive \
2222
&& export TZ=Etc/UTC \
2323
&& add-apt-repository ppa:deadsnakes/ppa \
2424
&& apt-get -qq update \
25-
&& apt-get -qq -y install python3.9 python3.9-venv python3-venv < /dev/null > /dev/null \
26-
&& ln -sf /usr/bin/python3.9 /usr/bin/python3 \
25+
&& apt-get -qq -y install python3.10 python3.10-venv < /dev/null > /dev/null \
26+
&& ln -sf /usr/bin/python3.10 /usr/bin/python3 \
2727
&& rm -rf /var/lib/apt/lists/*
2828

2929
ARG USER_ID

.evergreen/tests/test-csfle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if [[ "$(uname -s)" == CYGWIN* ]]; then
3131
fi
3232

3333
# Test with supported pythons
34-
pythons="3.9 3.10 3.11 3.12 3.13"
34+
pythons="3.9 3.10 3.11 3.12 3.13 3.14"
3535
for python in $pythons; do
3636
if [ "$(uname -s)" = "Darwin" ]; then
3737
PYTHON_BINARY="/Library/Frameworks/Python.Framework/Versions/$python/bin/python3"

0 commit comments

Comments
 (0)