From 830af271de1c9c3589bcce12cc08573850141f51 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 19 Nov 2015 16:18:04 +0100 Subject: Port callbacks to new static callback cffi 1.4.0 will introduce a new API to create static callbacks. Contrary to the old callback API, static callbacks no longer depend on libffi's dynamic code generation for closures. Static code has some benefits over dynamic generation. For example the code is faster. Also it doesn't need writeable and executable memory mappings, which makes it compatible with SELinux's deny execmem policy. The branch depends on PR #2488. https://bitbucket.org/cffi/cffi/issues/232/static-callbacks Closes: #2477 Signed-off-by: Christian Heimes --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 3b67e8ff..f79b0e25 100644 --- a/setup.py +++ b/setup.py @@ -54,8 +54,8 @@ if platform.python_implementation() == "PyPy": "upgrade PyPy to use this library." ) else: - requirements.append("cffi>=1.1.0") - setup_requirements.append("cffi>=1.1.0") + requirements.append("cffi>=1.4.1") + setup_requirements.append("cffi>=1.4.1") # If you add a new dep here you probably need to add it in the tox.ini as well test_requirements = [ -- cgit v1.2.3