-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attach a version constraint to the setuptools dep
- Loading branch information
Showing
4 changed files
with
33 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,19 +8,19 @@ requires = [ | |
"cffi>=1.12; platform_python_implementation != 'PyPy'", | ||
# Needed because cffi imports distutils, and in Python 3.12, distutils has | ||
# been removed from the stdlib, but installing setuptools puts it back. | ||
"setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2", | ||
"setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2; python_version >= '3.12'", | ||
] | ||
build-backend = "maturin" | ||
|
||
[project] | ||
name = "cryptography" | ||
version = "45.0.0.dev1" | ||
authors = [ | ||
{name = "The Python Cryptographic Authority and individual contributors", email = "[email protected]"} | ||
{ name = "The Python Cryptographic Authority and individual contributors", email = "[email protected]" }, | ||
] | ||
description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." | ||
readme = "README.rst" | ||
license = {text = "Apache-2.0 OR BSD-3-Clause"} | ||
license = { text = "Apache-2.0 OR BSD-3-Clause" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
|
@@ -74,11 +74,24 @@ test = [ | |
"certifi >=2024", | ||
] | ||
test-randomorder = ["pytest-randomly"] | ||
docs = ["sphinx >=5.3.0", "sphinx-rtd-theme >=3.0.0; python_version >= '3.8'", "sphinx-inline-tabs; python_version >= '3.8'"] | ||
docstest = ["pyenchant >=3", "readme-renderer >=30.0", "sphinxcontrib-spelling >=7.3.1"] | ||
docs = [ | ||
"sphinx >=5.3.0", | ||
"sphinx-rtd-theme >=3.0.0; python_version >= '3.8'", | ||
"sphinx-inline-tabs; python_version >= '3.8'", | ||
] | ||
docstest = [ | ||
"pyenchant >=3", | ||
"readme-renderer >=30.0", | ||
"sphinxcontrib-spelling >=7.3.1", | ||
] | ||
sdist = ["build >=1.0.0"] | ||
# `click` included because its needed to type check `release.py` | ||
pep8test = ["ruff >=0.3.6", "mypy >=1.4", "check-sdist; python_version >= '3.8'", "click >=8.0.1"] | ||
pep8test = [ | ||
"ruff >=0.3.6", | ||
"mypy >=1.4", | ||
"check-sdist; python_version >= '3.8'", | ||
"click >=8.0.1", | ||
] | ||
|
||
[tool.maturin] | ||
python-source = "src" | ||
|
@@ -137,18 +150,13 @@ warn_unused_configs = true | |
strict_equality = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = [ | ||
"pretend" | ||
] | ||
module = ["pretend"] | ||
ignore_missing_imports = true | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
relative_files = true | ||
source = [ | ||
"cryptography", | ||
"tests/", | ||
] | ||
source = ["cryptography", "tests/"] | ||
|
||
[tool.coverage.paths] | ||
source = [ | ||
|
@@ -157,10 +165,7 @@ source = [ | |
"*.nox\\*\\Lib\\site-packages\\cryptography", | ||
"*.nox/pypy/site-packages/cryptography", | ||
] | ||
tests = [ | ||
"tests/", | ||
"*tests\\", | ||
] | ||
tests = ["tests/", "*tests\\"] | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
|
@@ -186,4 +191,3 @@ git-only = [ | |
".gitattributes", | ||
".gitignore", | ||
] | ||
|