Skip to content

Commit 1522568

Browse files
committed
images/upi-installer: pin version of pyopenssl
Newer versions removed `load_pkcs12` causing `gsutil` to fail with the unhelpful message: ``` CommandException: The signurl command requires the pyopenssl library (try pip install pyopenssl or easy_install pyopenssl) ```
1 parent a3df94e commit 1522568

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/installer/Dockerfile.upi.ci

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ RUN curl -sSL "${ALIYUN_URI}" --output /tmp/aliyun-cli-linux-latest-amd64.tgz &&
5858
rm -f /tmp/aliyun-cli-linux-latest-amd64.tgz
5959

6060
# Not packaged, but required by gcloud. See https://cloud.google.com/sdk/crypto
61-
RUN pip-3 install cryptography pyOpenSSL
61+
# Pin version because of https://github.com/GoogleCloudPlatform/gsutil/issues/1753
62+
RUN pip-3 install cryptography pyOpenSSL==23.2.0
6263

6364
ENV CLOUDSDK_PYTHON=/usr/bin/python
6465
ENV CLOUDSDK_PYTHON_SITEPACKAGES=1

0 commit comments

Comments
 (0)