Pin cryptography to 3.3.2 35/66835/7 v0.61.1
authorAnil Belur <abelur@linuxfoundation.org>
Sat, 20 Feb 2021 01:00:50 +0000 (11:00 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 23 Feb 2021 20:42:42 +0000 (06:42 +1000)
The latest version of module breaks compatibility with the
latest version of pip.

Error:

 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/tmp/pip-build-vqk6fya9/cryptography/setup.py", line 14, i
   in <module> 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 <abelur@linuxfoundation.org>
releasenotes/notes/pip-cryptography-module-3.3.2-40839530eb33b88d.yaml [new file with mode: 0644]
shell/python-tools-install.sh

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 (file)
index 0000000..885abb3
--- /dev/null
@@ -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 "<string>", line 1, in <module>
+         File "/tmp/pip-build-vqk6fya9/cryptography/setup.py", line 14,
+         in <module> from setuptools_rust import RustExtension
+       ModuleNotFoundError: No module named 'setuptools_rust'
+
+
+    Reference:
+
+       `PYCA#5753 <https://github.com/pyca/cryptography/issues/5753>`
+       `PYCA#5771 <https://github.com/pyca/cryptography/issues/5771>`
index 062beb5..5978305 100644 (file)
@@ -29,6 +29,7 @@ python-openstackclient
 python-magnumclient
 kubernetes
 niet~=1.4.2
+cryptography<3.4
 yq
 
 # PINNED INDIRECT DEPENDENCIES