-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
pyproject.toml
115 lines (107 loc) · 2.84 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
[build-system]
requires = [
"hatchling>=0.11.2",
]
build-backend = "hatchling.build"
[project]
name = "datadog-checks-dev"
description = "The Datadog Checks Developer Tool"
readme = "README.md"
license = "BSD-3-Clause"
keywords = [
"datadog",
"datadog agent",
"datadog check",
"dev tool",
"tests",
]
authors = [
{ name = "Datadog", email = "packages@datadoghq.com" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"coverage>=5.0.3",
"flaky>=3.8.0",
"mock",
"pytest==8.1.1",
"pytest-asyncio>=0.23.4",
"pytest-benchmark[histogram]>=4.0.0",
"pytest-cov>=2.6.1",
"pytest-memray>=1.4.0; platform_system=='Linux' or platform_system=='Darwin'",
"pytest-mock",
"pyyaml>=5.4.1",
"requests>=2.22.0",
"tenacity",
]
dynamic = [
"version",
]
[project.optional-dependencies]
cli = [
"aiohttp",
"aiomultiprocess",
"atomicwrites",
"beautifulsoup4>=4.9.3",
"black==23.12.1", # TODO Remove once https://github.com/koxudaxi/datamodel-code-generator/issues/1821 is fixed
"build>=0.7.0",
"click~=8.1.6",
"codespell",
"colorama",
"datamodel-code-generator~=0.25.6",
"hatch>=1.5.0",
"in-toto==2.0.0",
"jsonschema",
"markdown",
"orjson",
"packaging",
"pip-tools",
"pathspec>=0.10.0",
"platformdirs>=2.0.0a3",
"pydantic>=2.0.2",
"pysmi==0.3.4",
"securesystemslib[crypto]==0.28.0",
"semver>=2.13.0",
"tabulate>=0.8.9",
"toml>=0.9.4, <1.0.0",
"tomli>=1.1.0",
"tomli-w>=1.0.0",
"tox>=3.12.1, <4.0.0",
# Move towncrier dependency to ddev once we migrate changelog-related commands.
# We need at least v23.11.0, because it lets us release with empty changelogs:
# The issue that is fixed: https://github.com/twisted/towncrier/issues/538
# v24.7 changed the way towncrier searches for template files and that broke us.
# We have to pin to 23.11.0 until the following issue is done:
# https://github.com/twisted/towncrier/issues/641
"towncrier==23.11.0",
"twine>=1.11.0",
"virtualenv<20.22.0",
# TODO: Remove once every check has a pyproject.toml
]
[project.entry-points.pytest11]
datadog_checks = "datadog_checks.dev.plugin.pytest"
[project.urls]
Source = "https://github.com/DataDog/integrations-core"
[tool.hatch.version]
path = "datadog_checks/dev/__about__.py"
[tool.hatch.build.targets.sdist]
include = [
"/datadog_checks",
"/tests",
]
[tool.hatch.build.targets.wheel]
include = [
"/datadog_checks",
]
dev-mode-dirs = [
".",
]
[tool.pytest.ini_options]
testpaths = "tests"