1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
|
[build-system]
requires = ["setuptools>=77.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "aiobotocore"
description = "Async client for aws services using botocore and aiohttp"
requires-python = ">=3.9"
authors = [
{ name = "Nikolay Novik", email = "nickolainovik@gmail.com" },
]
license = "Apache-2.0"
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Environment :: Web Environment',
'Framework :: AsyncIO',
]
dynamic = ["version", "readme"]
dependencies = [
"aiohttp >= 3.9.2, < 4.0.0",
"aioitertools >= 0.5.1, < 1.0.0",
"botocore >= 1.40.46, < 1.40.71", # NOTE: When updating, always keep `project.optional-dependencies` aligned
"python-dateutil >= 2.1, < 3.0.0",
"jmespath >= 0.7.1, < 2.0.0",
"multidict >= 6.0.0, < 7.0.0",
"wrapt >= 1.10.10, < 2.0.0",
]
[project.optional-dependencies]
awscli = [
"awscli >= 1.42.46, < 1.42.71",
]
boto3 = [
"boto3 >= 1.40.46, < 1.40.71",
]
httpx = [
"httpx >= 0.25.1, < 0.29"
]
[project.urls]
Repository = "https://github.com/aio-libs/aiobotocore"
Documentation = "https://aiobotocore.aio-libs.org"
[dependency-groups]
botocore-dev = [
# keep in sync with https://github.com/boto/botocore/blob/develop/requirements-dev.txt
# "wheel==0.43.0",
# "behave==1.2.5",
# "jsonschema==4.23.0",
"coverage==7.2.7",
# "setuptools==71.1.0;python_version>='3.12'",
# "packaging==24.1;python_version>='3.12'", # Requirement for setuptools>=71
# Pytest specific deps
"pytest==8.1.1",
"pytest-cov==5.0.0",
"pytest-xdist==3.5.0",
# "atomicwrites>=1.0", # Windows requirement
# "colorama>0.3.0", # Windows requirement
]
dev = [
"anyio >= 4.11.0",
"dill >= 0.3.3, < 0.5", # Used in test_patches.py
"docker >= 7.1, < 8",
"docutils >= 0.19, < 0.22", # Used in test_version.py
"moto[server,s3,sqs,awslambda,dynamodb,cloudformation,sns,batch,ec2,rds] >= 5.0.11, < 6",
"packaging >= 24.1, < 26", # Used in test_version.py
"pip >= 24.3.1, < 26", # Used in test_version.py
"pre-commit >= 3.5.0, < 5",
"requests >= 2.32.3, < 3", # Used in test_version.py
"time-machine >= 2.15.0, < 3", # Used in test_signers.py
"tomli; python_version<'3.11'", # Used in test_version.py
]
[tool.uv]
default-groups = [
"botocore-dev",
"dev",
]
required-version = ">=0.8.4,<0.10"
[tool.setuptools.dynamic]
version = { attr = "aiobotocore.__version__" }
readme = { file = ["README.rst", "CHANGES.rst"] }
[tool.setuptools.packages.find]
include = ["aiobotocore*"]
[tool.pytest.ini_options]
cache_dir = "/tmp/pytest_aiobotocore_cache"
anyio_mode = "auto"
markers = [
"localonly",
"config_kwargs",
"patch_attributes",
]
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
# Format same as Black.
line-length = 79
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = [
"E4", # pycodestyle
"E7", # pycodestyle
"E9", # pycodestyle
"F", # Pyflakes
"I", # Import sorting
"UP", # PyUpgrade
"G", # Log formatting
]
ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
# Like Black, use double quotes for strings, spaces for indents
# and trailing commas.
quote-style = "preserve"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING",
]
|