cryptography/pyproject.toml
Alex Gaynor bba65084ea
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
2021-10-17 05:18:05 +08:00

35 lines
897 B
TOML

[build-system]
requires = [
# The minimum setuptools version is specific to the PEP 517 backend,
# and may be stricter than the version required in `setup.cfg`
"setuptools>=40.6.0",
"wheel",
# Must be kept in sync with the `setup_requirements` in `setup.cfg`
"cffi>=1.12,!=1.15.0; platform_python_implementation != 'PyPy'",
"setuptools-rust>=0.11.4",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
target-version = ["py36"]
[tool.pytest.ini_options]
addopts = "-r s"
markers = [
"skip_fips: this test is not executed in FIPS mode",
"supported: parametrized test requiring only_if and skip_message",
]
[tool.mypy]
show_error_codes = true
check_untyped_defs = true
no_implicit_reexport = true
[[tool.mypy.overrides]]
module = [
"cryptography.hazmat.bindings._openssl",
"iso8601",
"pretend"
]
ignore_missing_imports = true