forked from rommapp/romm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (134 loc) · 3.57 KB
/
pyproject.toml
File metadata and controls
141 lines (134 loc) · 3.57 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
[project]
name = "romm"
version = "0.0.1"
description = "A beautiful, powerful, self-hosted rom manager"
authors = [
{ name = "Zurdi", email = "zurdi@romm.app" },
{ name = "Arcane", email = "arcane@romm.app" },
{ name = "Adamantike", email = "adamantike@romm.app" },
]
requires-python = ">=3.13"
readme = "README.md"
license = "AGPL-3.0-only"
dependencies = [
"PyYAML ~= 6.0",
"SQLAlchemy[mariadb-connector,mysql-connector,postgresql-psycopg] ~= 2.0",
"Unidecode ~= 1.3",
"aiohttp ~= 3.12",
"asyncssh ~= 2.17",
"alembic ~= 1.13",
"anyio ~= 4.4",
"authlib ~= 1.6.5",
"colorama ~= 0.4",
"defusedxml ~= 0.7",
"fastapi-pagination[sqlalchemy] ~= 0.15",
"fastapi[standard-no-fastapi-cloud-cli] ~= 0.121.1",
"gunicorn ~= 23.0",
"httpx ~= 0.27",
"itsdangerous ~= 2.2",
"joserfc~=1.6.3",
"opentelemetry-distro ~= 0.56",
"opentelemetry-exporter-otlp ~= 1.36",
"opentelemetry-instrumentation-aiohttp-client ~= 0.56",
"opentelemetry-instrumentation-fastapi ~= 0.56",
"opentelemetry-instrumentation-httpx ~= 0.56",
"opentelemetry-instrumentation-redis ~= 0.56",
"opentelemetry-instrumentation-sqlalchemy ~= 0.56",
"passlib[bcrypt] ~= 1.7",
"pillow~=12.1",
"psycopg[c] ~= 3.2",
"pydantic ~= 2.11",
"pydash ~= 8.0",
"python-dotenv ~= 1.0",
"python-magic ~= 0.4",
"python-socketio ~= 5.11",
"redis ~= 6.2",
"rq ~= 2.1",
# TODO: Move back to upstream `rq-scheduler`, when support for username and SSL settings is added.
# Related PR: https://github.com/rq/rq-scheduler/pull/325
"rq-scheduler @ git+https://github.com/adamantike/rq-scheduler.git@feat/script-options-username-ssl",
"sentry-sdk ~= 2.32",
"starlette ~= 0.49",
"streaming-form-data ~= 1.19",
"ua-parser ~= 1.0",
"strsimpy ~= 0.2",
"uvicorn ~= 0.35",
"uvicorn-worker ~= 0.3",
"watchfiles ~= 1.1",
"yarl ~= 1.14",
"zipfile-inflate64 ~= 0.1",
]
[project.optional-dependencies]
dev = [
"ipdb ~= 0.13",
"ipykernel ~= 6.29",
"memray ~= 1.15",
"mypy ~= 1.19",
"pyinstrument ~= 5.0",
"types-colorama ~= 0.4",
"types-passlib ~= 1.7",
"types-pyyaml ~= 6.0",
"types-redis ~= 4.6",
]
test = [
"fakeredis ~= 2.21",
"pytest ~= 8.3",
"pytest-asyncio ~= 0.23",
"pytest-cov ~= 6.2",
"pytest-env ~= 1.1",
"pytest-mock ~= 3.12",
"pytest-recording ~= 0.13",
]
[project.urls]
Homepage = "https://romm.app/"
Source = "https://github.com/rommapp/romm"
[tool.deptry]
known_first_party = [
"__version__",
"adapters",
"config",
"decorators",
"endpoints",
"exceptions",
"handler",
"logger",
"main",
"models",
"startup",
"tasks",
"utils",
]
pep621_dev_dependency_groups = ["dev"]
[tool.deptry.package_module_name_map]
PyYAML = "yaml"
opentelemetry-distro = "opentelemetry"
pillow = "PIL"
python-dotenv = "dotenv"
python-magic = "magic"
python-socketio = "socketio"
[tool.deptry.per_rule_ignores]
DEP002 = [ # DEP002 rule: Project should not contain unused dependencies
# Packages used within the server initialization script.
"gunicorn",
"uvicorn-worker",
"watchfiles",
# OpenTelemetry packages are used via auto-instrumentation.
"opentelemetry-exporter-otlp",
"opentelemetry-instrumentation-aiohttp-client",
"opentelemetry-instrumentation-fastapi",
"opentelemetry-instrumentation-httpx",
"opentelemetry-instrumentation-redis",
"opentelemetry-instrumentation-sqlalchemy",
# Database drivers are used via SQLAlchemy.
"psycopg",
# Pytest plugins are used via pytest only.
"pytest-cov",
"pytest-env",
"pytest-mock",
"pytest-recording",
]
[tool.uv]
package = false
exclude-newer = "7 days"
[tool.ty.environment]
root = ["./backend"]