From f24a25cb5590e4a58ddb6c7f8bca5d5fa88f9fd4 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Mon, 25 Sep 2023 19:18:13 -0700 Subject: [PATCH] smoke test cryptography with CFFI 1.16.0rc1 --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b8ba5f5e7d0d4..47efdff6747c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,8 @@ requires = [ "setuptools>=61.0.0", "wheel", # Must be kept in sync with `project.dependencies` - "cffi>=1.12; platform_python_implementation != 'PyPy'", + "cffi==1.16.0rc1; platform_python_implementation != 'PyPy' and python_version > 3.7", + "cffi>=1.12; platform_python_implementation != 'PyPy' and python_version <= 3.7", "setuptools-rust>=1.7.0", ] build-backend = "setuptools.build_meta" @@ -46,7 +47,8 @@ classifiers = [ requires-python = ">=3.7" dependencies = [ # Must be kept in sync with `build-system.requires` - "cffi >=1.12", + "cffi==1.16.0rc1; python_version > 3.7", + "cffi>=1.12; python_version <= 3.7", ] [project.urls] @@ -158,4 +160,4 @@ git-only = [ "ci-constraints-requirements.txt", ".gitattributes", ".gitignore", -] \ No newline at end of file +]