Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 2.2 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (72 loc) · 2.2 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
[project]
name = "resultsdb"
version = "2.2.0"
description = "The test results store engine for (not only) Fedora QA tools"
authors = [
{name = "Red Hat, Inc. and others"}
]
license = {text = "GPL-2.0-or-later"}
readme = "README.md"
requires-python = ">=3.12,<3.15"
dependencies = [
"flask>=3.0.1,<4.0.0",
"gunicorn>=26.2.0,<26.3.0",
"fedora-messaging>=3.4.1,<4.0.0",
"stomp-py>=9.0.0,<9.1.0",
"confluent-kafka>=2.14.0,<3.0.0",
"Flask-SQLAlchemy>=3.1.1,<4.0.0",
# Capped below 2.1: opentelemetry-instrumentation-sqlalchemy does not
# yet support SQLAlchemy 2.1, see
# https://github.com/open-telemetry/opentelemetry-python-contrib/issues/5118
"SQLAlchemy>=2.0.36,<2.1",
"psycopg2-binary>=2.9.10,<3.0.0",
"alembic>=1.13.3,<2.0.0",
"iso8601>=2.1.0,<3.0.0",
"pydantic>=2.10.2,<3.0.0",
"Flask-Pydantic>=0.13.0,<1.0.0",
"email-validator>=2.2.0,<3.0.0",
"python-ldap>=3.4.3,<4.0.0",
"Flask-pyoidc>=3.14.3,<4.0.0",
"Flask-Session>=0.8.0,<1.0.0",
"opentelemetry-exporter-otlp>=1.25.0,<2.0.0",
"opentelemetry-instrumentation>=0.46b0,<1.0.0",
"opentelemetry-instrumentation-flask>=0.46b0,<1.0.0",
"opentelemetry-instrumentation-sqlalchemy>=0.46b0,<1.0.0",
"tenacity>=9.0.0,<10.0.0",
]
[project.optional-dependencies]
test = [
"pytest>=9.1.1,<9.2.0",
"pytest-cov>=7.0.0,<8.0.0",
]
[project.scripts]
resultsdb = "resultsdb.__main__:cli"
[project.entry-points."resultsdb.messaging.plugins"]
dummy = "resultsdb.messaging:DummyPlugin"
fedmsg = "resultsdb.messaging:FedmsgPlugin"
stomp = "resultsdb.messaging:StompPlugin"
kafka = "resultsdb.messaging:KafkaPlugin"
[project.urls]
Homepage = "https://docs.resultsdb20.apiary.io/"
Repository = "https://github.com/release-engineering/resultsdb"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"resultsdb/config.py" = ["RUF012"]
[tool.hatch.build.targets.wheel]
packages = ["resultsdb"]
[tool.hatch.build.targets.sdist]
include = [
"/resultsdb",
"/conf",
"/LICENSE",
"/README.md",
"/alembic.ini",
"/tox.ini",
]