Ban cffi version that makes CI sad (#6418)

* Update installation for testing against bookworm

* Try bumping macOS timeout

* Try pinning cffi

* Ban 1.15.0
This commit is contained in:
Alex Gaynor 2021-10-16 17:18:05 -04:00 committed by GitHub
parent c3fcc6759a
commit bba65084ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@ for P in ${PYTHONS}; do
"${PYBIN}"/python -m venv .venv
.venv/bin/pip install -U pip wheel cffi setuptools-rust
.venv/bin/pip install -U pip wheel "cffi!=1.15.0" setuptools-rust
REGEX="cp3([0-9])*"
if [[ "${PYBIN}" =~ $REGEX ]]; then

View file

@ -22,8 +22,8 @@ operating systems.
* x86-64 Ubuntu 18.04, 20.04
* AArch64 Ubuntu 20.04
* x86-64 Ubuntu rolling
* x86-64 Debian Stretch (9.x), Buster (10.x), Bullseye (11.x), and Sid
(unstable)
* x86-64 Debian Stretch (9.x), Buster (10.x), Bullseye (11.x), Bookworm (12.x)
and Sid (unstable)
* x86-64 Alpine (latest)
* 32-bit and 64-bit Python on 64-bit Windows Server 2019

View file

@ -5,7 +5,7 @@ requires = [
"setuptools>=40.6.0",
"wheel",
# Must be kept in sync with the `setup_requirements` in `setup.cfg`
"cffi>=1.12; platform_python_implementation != 'PyPy'",
"cffi>=1.12,!=1.15.0; platform_python_implementation != 'PyPy'",
"setuptools-rust>=0.11.4",
]
build-backend = "setuptools.build_meta"

View file

@ -47,9 +47,9 @@ ext_package = cryptography.hazmat.bindings
# `install_requires` and `setup_requires` must be kept in sync with
# `pyproject.toml`
install_requires =
cffi >=1.12
cffi>=1.12,!=1.15.0
setup_requires =
cffi >=1.12
cffi>=1.12,!=1.15.0
setuptools_rust >= 0.11.4
[options.packages.find]