-
-
Notifications
You must be signed in to change notification settings - Fork 203
Expand file tree
/
Copy pathpyproject.toml
More file actions
204 lines (182 loc) · 5.23 KB
/
pyproject.toml
File metadata and controls
204 lines (182 loc) · 5.23 KB
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
[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.12.0, < 4.0.0",
"aioitertools >= 0.5.1, < 1.0.0",
"botocore >= 1.42.90, < 1.42.98",
"python-dateutil >= 2.1, < 3.0.0",
"jmespath >= 0.7.1, < 2.0.0",
"multidict >= 6.0.0, < 7.0.0",
"typing-extensions >= 4.14.0, < 5.0.0; python_version<'3.11'",
"wrapt >= 1.10.10, < 3.0.0",
]
[project.optional-dependencies]
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.46.3",
# "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 = [
"anthropic >= 0.40.0", # Used in plugins/aiobotocore-bot/evals/
"anyio >= 4.11.0",
"dill >= 0.3.3, < 0.5", # Used in test_patches.py
"docker >= 7.1, < 8",
"docutils >= 0.19, < 0.23", # Used in test_version.py
"moto[server,s3,sqs,awslambda,dynamodb,cloudformation,sns,batch,ec2,rds] >= 5.1.8, < 6",
"packaging >= 24.1, < 27", # Used in test_version.py
"pre-commit >= 3.5.0, < 5",
"pytest-rerunfailures >= 16.0.1, < 17", # Used in test_lambda.py
"time-machine >= 2.15.0, < 4", # Used in test_signers.py
]
awscrt = [
"botocore[crt]",
]
[tool.uv]
default-groups = [
"botocore-dev",
"dev",
]
required-version = ">=0.8.4,<0.12"
[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",
"@pytest.mark.localonly",
]
[tool.rumdl]
line-length = 120
disable = [
# CLAUDE.md uses flat # per section; Anthropic's docs don't
# prescribe a single-H1 structure either.
"MD025",
# .github/*.md prompts and .claude/commands/*.md slash commands
# are fragments loaded into a larger prompt, not standalone docs
# with a title.
"MD041",
# .github/pull_request_template.md uses `*Replace this text...*`
# as placeholder text and .github/ISSUE_TEMPLATE/bug_report.md
# uses **Describe the bug** / **Checklist** as bold labels.
# Both are conventional GitHub template styling, not
# emphasis-used-as-heading.
"MD036",
]
[tool.rumdl.MD013]
# Long table rows are legitimate in docs/ai-workflows.md; don't force
# prose-length limits on them. Same for code blocks (mermaid diagrams,
# shell examples) where line breaks can alter meaning.
tables = false
code_blocks = false