bcrypt/pyproject.toml
Alex Gaynor 7a252dde4d
Try blocking pytest 8.2.0 (#785)
* Update pyproject.toml

* Update ci.yml

* Update ci.yml

* Update ci.yml
2024-04-30 15:01:55 -07:00

70 lines
1.9 KiB
TOML

[build-system]
# Must be kept in sync with `setup_requirements` in `setup.py`
requires = [
"setuptools>=42.0.0",
"wheel",
"setuptools-rust",
]
# Point to the setuptools' PEP517 build backend explicitly to
# disable Pip's fallback guessing
build-backend = "setuptools.build_meta"
[project]
name = "bcrypt"
# When updating this, also update lib.rs
version = "4.1.2"
authors = [
{name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"}
]
description = "Modern password hashing for your software and your servers"
license = {text = "Apache-2.0"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">= 3.7"
dynamic = ["readme"]
[project.urls]
homepage = "https://github.com/pyca/bcrypt/"
[tool.setuptools]
zip-safe = false
package-dir = {"" = "src"}
packages = ["bcrypt"]
[tool.setuptools.dynamic]
readme = {file = "README.rst", content-type = "text/x-rst"}
[project.optional-dependencies]
tests = ["pytest>=3.2.1,!=3.3.0,!=8.2.0"]
typecheck = ["mypy"]
[tool.ruff]
ignore = ['N818']
select = ['E', 'F', 'I', 'N', 'W', 'UP', 'RUF']
line-length = 79
[tool.ruff.isort]
known-first-party = ["bcrypt", "tests"]
[tool.mypy]
show_error_codes = true
check_untyped_defs = true
no_implicit_reexport = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
strict_equality = true