forked from elastic/rally
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
167 lines (155 loc) · 4.31 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "esrally/_version.py"
[project]
name = "esrally"
dynamic = ["version"]
authors = [
{name="Daniel Mitterdorfer", email="[email protected]"},
]
description = "Macrobenchmarking framework for Elasticsearch"
readme = "README.md"
license = {text = "Apache License 2.0"}
requires-python = ">=3.8"
classifiers=[
"Topic :: System :: Benchmark",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
################################################################################################
#
# Adapt `create-notice.sh` whenever changing dependencies here.
#
# That script grabs all license files so we include them in the notice file.
#
################################################################################################
dependencies = [
# License: Apache 2.0
# transitive dependencies:
# urllib3: MIT
# aiohttp: Apache 2.0
"elasticsearch[async]==8.6.1",
"elastic-transport==8.4.1",
"urllib3==1.26.18",
"docker==6.0.0",
# License: BSD
"psutil==5.9.4",
# License: MIT
"py-cpuinfo==7.0.0",
# License: MIT
"tabulate==0.8.9",
# License: MIT
"jsonschema==3.1.1",
# License: BSD
# transitive dependency Markupsafe: BSD
"Jinja2==3.1.3",
"markupsafe==2.0.1",
# License: MIT
"thespian==3.10.1",
# recommended library for thespian to identify actors more easily with `ps`
# "setproctitle==1.1.10",
# always use the latest version, these are certificate files...
# License: MPL 2.0
"certifi",
# License: MIT
"yappi==1.4.0",
# License: BSD
"ijson==2.6.1",
# License: Apache 2.0
# transitive dependencies:
# google-crc32c: Apache 2.0
"google-resumable-media[requests]==1.1.0",
# License: Apache 2.0
"google-auth==1.22.1",
# License: BSD
"zstandard==0.21.0"
]
[project.optional-dependencies]
s3 = [
# License: Apache 2.0
# transitive dependencies:
# botocore: Apache 2.0
# jmespath: MIT
# s3transfer: Apache 2.0
"boto3==1.18.46",
]
# These packages are only required when developing Rally
develop = [
# s3
"boto3==1.18.46",
# tests
"ujson",
"pytest==7.1.2",
"pytest-benchmark==3.4.1",
"pytest-asyncio==0.19.0",
"pytest-httpserver==1.0.5",
"tox==3.25.0",
"nox==2022.11.21",
"sphinx==5.1.1",
"furo==2022.06.21",
"github3.py==3.2.0",
"pre-commit==2.20.0",
"pylint==2.17.4",
"trustme==0.9.0",
"GitPython==3.1.30",
]
[project.scripts]
esrally = "esrally.rally:main"
esrallyd = "esrally.rallyd:main"
[project.urls]
"Changelog" = "https://github.com/elastic/rally/blob/master/CHANGELOG.md"
"Documentation" = "https://esrally.readthedocs.io/"
"Code" = "https://github.com/elastic/rally"
"Issue tracker" = "https://github.com/elastic/rally/issues"
[tool.black]
line-length = 140
target-version = ['py38']
[tool.isort]
profile = 'black'
[tool.pytest.ini_options]
# set to true for more verbose output of tests
log_cli = false
log_level = "INFO"
addopts = "--verbose --color=yes"
testpaths = "tests"
junit_family = "xunit2"
junit_logging = "all"
asyncio_mode = "strict"
xfail_strict = true
# With rare exceptions, Rally does not use type hints. The intention of the
# following largely reduced mypy configuration scope is verification of argument
# types in config.Config methods while introducing configuration properties
# (props). The error we are after here is "arg-type".
[tool.mypy]
python_version = 3.8
check_untyped_defs = true
disable_error_code = [
"assignment",
"attr-defined",
"call-arg",
"call-overload",
"dict-item",
"import-not-found",
"import-untyped",
"index",
"list-item",
"misc",
"name-defined",
"operator",
"str-bytes-safe",
"syntax",
"union-attr",
"var-annotated",
]