From 3c68250ad9bfb275c760fcce4c72c78c99b57c34 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 10 Dec 2018 12:13:31 +0800 Subject: allow bytes-like for key/iv/data for symmetric encryption (#4621) * allow bytearrays for key/iv for symmetric encryption * bump pypy/cffi requirements * update docs, fix some tests * old openssl is naught but pain * revert a typo * use trusty for old pypy * better error msg again * restore match --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index bd98fd5e..5b29d32e 100644 --- a/setup.py +++ b/setup.py @@ -44,12 +44,12 @@ with open(os.path.join(src_dir, "cryptography", "__about__.py")) as f: VECTORS_DEPENDENCY = "cryptography_vectors=={0}".format(about['__version__']) # `setup_requirements` must be kept in sync with `pyproject.toml` -setup_requirements = ["cffi>=1.7,!=1.11.3"] +setup_requirements = ["cffi>=1.8,!=1.11.3"] if platform.python_implementation() == "PyPy": - if sys.pypy_version_info < (5, 3): + if sys.pypy_version_info < (5, 4): raise RuntimeError( - "cryptography is not compatible with PyPy < 5.3. Please upgrade " + "cryptography is not compatible with PyPy < 5.4. Please upgrade " "PyPy to use this library." ) -- cgit v1.2.3