[build-system] requires = [ "setuptools >= 64", "setuptools_scm >= 6.4" ] build-backend = "setuptools.build_meta" [project] name = "anyio" description = "High level compatibility layer for multiple asynchronous event loop implementations" readme = "README.rst" authors = [{name = "Alex Grönholm", email = "alex.gronholm@nextday.fi"}] license = {text = "MIT"} classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Framework :: AnyIO", "Programming Language :: Python", "Programming Language :: Python :: 3", "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", ] requires-python = ">= 3.7" dependencies = [ "exceptiongroup; python_version < '3.11'", "idna >= 2.8", "sniffio >= 1.1", "typing_extensions; python_version < '3.8'", ] dynamic = ["version"] [project.urls] Documentation = "https://anyio.readthedocs.io/en/latest/" Changelog = "https://anyio.readthedocs.io/en/stable/versionhistory.html" "Source code" = "https://github.com/agronholm/anyio" "Issue tracker" = "https://github.com/agronholm/anyio/issues" [project.optional-dependencies] trio = ["trio >= 0.22"] test = [ "anyio[trio]", "mock >= 4; python_version < '3.8'", "coverage[toml] >= 4.5", "hypothesis >= 4.0", "pytest >= 7.0", "pytest-mock >= 3.6.1", "trustme", "uvloop >= 0.17; platform_python_implementation == 'CPython' and platform_system != 'Windows'", ] doc = [ "packaging", "sphinx_rtd_theme", "sphinx-autodoc-typehints >= 1.2.0", ] [project.entry-points] pytest11 = {anyio = "anyio.pytest_plugin"} [tool.setuptools_scm] version_scheme = "post-release" local_scheme = "dirty-tag" [tool.isort] skip_gitignore = true profile = "black" [tool.flake8] max-line-length = 88 ignore = ["E203", "W503"] [tool.mypy] python_version = "3.10" strict = true ignore_missing_imports = true disallow_any_generics = false warn_return_any = false disallow_untyped_decorators = false disallow_subclassing_any = false show_error_codes = true [tool.pytest.ini_options] addopts = "-rsx --tb=short --strict-config --strict-markers -p anyio -p no:asyncio -p no:trio" testpaths = ["tests"] # Ignore resource warnings due to a CPython/Windows bug (https://bugs.python.org/issue44428) filterwarnings = [ "error", "ignore:unclosed