diff --git a/pyproject.toml b/pyproject.toml index 957b1fd04bb0..667f29e23ff2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = [ "setuptools>=40.6.0", "wheel", # Must be kept in sync with the `setup_requirements` in `setup.py` - "cffi>=1.8,!=1.11.3; platform_python_implementation != 'PyPy'", + "cffi>=1.12; platform_python_implementation != 'PyPy'", ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 8477c826b28f..4ebbc1b50203 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ # `setup_requirements` must be kept in sync with `pyproject.toml` -setup_requirements = ["cffi>=1.8,!=1.11.3"] +setup_requirements = ["cffi>=1.12"] if platform.python_implementation() == "PyPy": if sys.pypy_version_info < (5, 4):