-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
124 lines (110 loc) · 3.29 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
[project]
name = "fractal-server"
version = "2.10.5"
description = "Backend component of the Fractal analytics platform"
authors = [
{ name="Tommaso Comparin", email="[email protected]" },
{ name="Marco Franzon", email="[email protected]" },
{ name="Yuri Chiucconi", email="[email protected]" },
{ name="Jacopo Nespolo", email="[email protected]" },
]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.10,<3.13"
dependencies = [
"python-dotenv >=1.0.0,<1.1.0",
"fastapi >= 0.115.0, <0.116.0",
"sqlmodel == 0.0.21",
"sqlalchemy[asyncio] >=2.0.23,<2.1",
"fastapi-users[oauth] >=14,<15",
"alembic >=1.13.1, <2.0.0",
"uvicorn == 0.29.0",
"pydantic >=1.10.8,<2",
"packaging >= 23.2.0, <24.0.0",
"clusterfutures == 0.5",
"cloudpickle >=3.0.0,<3.1.0",
"fabric >= 3.2.2, <3.3.0",
"gunicorn >=21.2,<23.0",
"psycopg[binary] >= 3.1.0, <4.0.0",
"psutil == 5.9.8",
"uvicorn-worker == 0.2.0",
"cryptography >=44.0.0,<44.1.0",
]
[project.urls]
homepage = "https://github.com/fractal-analytics-platform/fractal-server"
repository = "https://github.com/fractal-analytics-platform/fractal-server"
documentation = "https://fractal-analytics-platform.github.io/fractal-server"
changelog = "https://github.com/fractal-analytics-platform/fractal-server/blob/main/CHANGELOG.md"
[project.scripts]
fractalctl = "fractal_server.__main__:run"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
requires-poetry = ">=2.0"
packages = [
{include="fractal_server"}
]
exclude = [
"fractal_server/data_migrations/old",
"fractal_server/json_schemas",
"fractal_server/migrations/script.py.mako",
]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
asgi-lifespan = "^2"
pytest = "8.1.*"
httpx = "^0.23"
devtools = "^0.12"
pytest-asyncio = "^0.23"
bumpver = ">=2024.0"
pre-commit = "^2.19"
coverage = {extras = ["toml"], version = "7.5.*"}
pytest-docker = {version = "3.1.*"}
mypy = "^1.9"
pytest-subprocess = "^1.5"
pyyaml="^6.0.1"
a2wsgi = "^1.10.0"
jinja2 = "^3.1.3"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs="1.5.3"
mkdocstrings = { extras = ["python"], version = "0.25.2" }
mkdocs-material="9.5.17"
mkdocs-gen-files="0.5.0"
mkdocs-literate-nav="0.6.1"
mkdocs-section-index="0.3.8"
mkdocs-render-swagger-plugin="0.1.1"
pyyaml="^6.0.1"
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = [
"error::RuntimeWarning",
"error::pytest.PytestUnraisableExceptionWarning",
]
[tool.bumpver]
current_version = "2.10.5"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'version = "{version}"$',
]
"fractal_server/__init__.py" = [
'__VERSION__ = "{version}"$'
]
[tool.coverage.run]
branch = true
parallel = true
relative_files = true
omit = ["tests/*", "benchmarks/*", "fractal_server/json_schemas/*", "*/.venv/*"]
[tool.coverage.report]
omit = ["tests/*", "benchmarks/*", "fractal_server/json_schemas/*", "*/.venv/*"]
[tool.mypy.overrides]
module = ["devtools", "uvicorn", "pytest", "asgi_lifespan", "asyncpg"]
ignore_missing_imports = true