From: Anil Belur Date: Sat, 20 Feb 2021 01:00:50 +0000 (+1000) Subject: Pin cryptography to 3.3.2 X-Git-Tag: v0.61.1^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=6157401a7bb35073e411e4ae9eb40bc80387d1b8;p=releng%2Fglobal-jjb.git Pin cryptography to 3.3.2 The latest version of module breaks compatibility with the latest version of pip. Error: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-vqk6fya9/cryptography/setup.py", line 14, i in from setuptools_rust import RustExtension ModuleNotFoundError: No module named 'setuptools_rust' Issue-Id: IT-21538 IT-21509 Change-Id: I83db995ae8321377b861cabcf6ac53485778e471 Signed-off-by: Anil Belur --- diff --git a/releasenotes/notes/pip-cryptography-module-3.3.2-40839530eb33b88d.yaml b/releasenotes/notes/pip-cryptography-module-3.3.2-40839530eb33b88d.yaml new file mode 100644 index 00000000..885abb38 --- /dev/null +++ b/releasenotes/notes/pip-cryptography-module-3.3.2-40839530eb33b88d.yaml @@ -0,0 +1,24 @@ +--- +fixes: + - | + Pin cryptography to 3.3.2 + + The latest version of module breaks compatibility with the latest version + of pip. + + + Error: + + .. code-block:: bash + + Traceback (most recent call last): + File "", line 1, in + File "/tmp/pip-build-vqk6fya9/cryptography/setup.py", line 14, + in from setuptools_rust import RustExtension + ModuleNotFoundError: No module named 'setuptools_rust' + + + Reference: + + `PYCA#5753 ` + `PYCA#5771 ` diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index 062beb56..59783053 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -29,6 +29,7 @@ python-openstackclient python-magnumclient kubernetes niet~=1.4.2 +cryptography<3.4 yq # PINNED INDIRECT DEPENDENCIES