Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (72 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (72 loc) · 1.95 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
[project]
name = "diffpype"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"fastapi==0.115.0",
"uvicorn[standard]==0.30.6",
"sqlalchemy==2.0.35",
"psycopg[binary]==3.2.3",
"celery==5.4.0",
"redis==5.0.8",
"pydantic==2.9.2",
"alembic==1.13.3",
"mocpy==0.20.0",
"boto3==1.35.36",
"structlog==24.4.0",
"pydantic-settings==2.5.2",
"tabulate==0.9.0",
"sqladmin==0.18.0",
"itsdangerous==2.2.0",
"bcrypt==4.2.0",
"opentelemetry-sdk==1.27.0",
"opentelemetry-instrumentation-fastapi==0.48b0",
"opentelemetry-instrumentation-sqlalchemy==0.48b0",
"opentelemetry-instrumentation-celery==0.48b0",
"opentelemetry-exporter-otlp-proto-grpc==1.27.0",
"prometheus-client==0.21.0",
"starlette-exporter==0.23.0",
# opentelemetry-instrumentation 0.48b0 imports pkg_resources, which setuptools
# removed in 81+. Pin below that so the instrumentors can import.
"setuptools<81",
"python-slugify==8.0.4",
"scipy==1.18.0",
"scikit-learn==1.9.0",
"pandas==3.0.5",
"sqlalchemy-celery-beat==0.8.4",
]
[project.scripts]
diffpype-manage = "src.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[dependency-groups]
test = [
"pytest==8.3.3",
"pytest-mock==3.14.0",
"pytest-cov==5.0.0",
"httpx==0.27.2",
"myst-parser==4.0.0",
"sphinx-rtd-theme==3.0.2",
"pre-commit",
"mypy",
"sphinxcontrib-mermaid",
]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["src"]
filterwarnings = [
"ignore:Please use `import python_multipart`:PendingDeprecationWarning",
"ignore:'crypt' is deprecated:DeprecationWarning",
"ignore:pkg_resources is deprecated as an API:UserWarning",
]
[tool.coverage.run]
omit = ["src/*/tests/*"]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
exclude = ["^prototype/"]
[tool.ruff]
extend-exclude = ["prototype"]