From e1774cb6f90416c7cbbe7b50323d3154dba7de21 Mon Sep 17 00:00:00 2001 From: Shivani Tipnis Date: Fri, 16 Nov 2018 11:27:00 +0530 Subject: [PATCH] Update minimum version for cryptography package required --- requirements.txt | 2 +- tools/check_python_dependencies.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 705119597..14038d8c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ setuptools # pyserial>=3.0 future>=0.15.2 -cryptography +cryptography>=2.1.4 diff --git a/tools/check_python_dependencies.py b/tools/check_python_dependencies.py index d8767004b..f68f887e9 100755 --- a/tools/check_python_dependencies.py +++ b/tools/check_python_dependencies.py @@ -44,13 +44,13 @@ if __name__ == "__main__": import cryptography except ImportError: print("Please run the following command to install MSYS2's MINGW Python cryptography package:") - print("pacman -S mingw-w64-i686-python%d-cryptography" % (sys.version_info[0],)) + print("pacman -Sy mingw-w64-i686-python%d-cryptography" % (sys.version_info[0],)) failed = True try: import setuptools except ImportError: print("Please run the following command to install MSYS2's MINGW Python setuptools package:") - print("pacman -S mingw-w64-i686-python%d-setuptools" % (sys.version_info[0],)) + print("pacman -Sy mingw-w64-i686-python%d-setuptools" % (sys.version_info[0],)) failed = True if failed: sys.exit(1)