-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (55 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
63 lines (55 loc) · 1.58 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
[project]
name = "diracx-db"
description = "TODO"
readme = "README.md"
requires-python = ">=3.11"
keywords = []
license = {text = "GPL-3.0-only"}
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: System :: Distributed Computing",
]
dependencies = [
"diracx-core",
"opensearch-py[async]",
"pydantic >=2.10",
"sqlalchemy[aiomysql,aiosqlite] >= 2",
"uuid-utils",
]
dynamic = ["version"]
[project.optional-dependencies]
testing = [
"diracx-testing",
]
[project.entry-points."diracx.dbs.sql"]
AuthDB = "diracx.db.sql:AuthDB"
JobDB = "diracx.db.sql:JobDB"
JobLoggingDB = "diracx.db.sql:JobLoggingDB"
PilotAgentsDB = "diracx.db.sql:PilotAgentsDB"
SandboxMetadataDB = "diracx.db.sql:SandboxMetadataDB"
TaskQueueDB = "diracx.db.sql:TaskQueueDB"
[project.entry-points."diracx.dbs.os"]
JobParametersDB = "diracx.db.os:JobParametersDB"
PilotLogsDB = "diracx.db.os:PilotLogsDB"
[tool.setuptools.packages.find]
where = ["src"]
[build-system]
requires = ["setuptools>=61", "wheel", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
root = ".."
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"-v",
"--cov=diracx.db", "--cov-report=term-missing",
"-pdiracx.testing", "-pdiracx.testing.osdb",
"--import-mode=importlib",
]
asyncio_mode = "auto"
markers = [
"enabled_dependencies: List of dependencies which should be available to the FastAPI test client",
]