-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (50 loc) · 1.55 KB
/
pyproject.toml
File metadata and controls
56 lines (50 loc) · 1.55 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "commerce-system-demo"
version = "0.2.0"
description = "FastAPI commerce service demo"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.116.0,<1.0.0",
"jinja2>=3.1.0,<4.0.0",
"uvicorn[standard]>=0.30.0,<1.0.0",
"sqlalchemy[asyncio]>=2.0.30,<3.0.0",
"asyncpg>=0.29.0,<1.0.0",
"pydantic>=2.8.0,<3.0.0",
"pydantic-settings>=2.3.0,<3.0.0",
"opentelemetry-api>=1.27.0,<2.0.0",
"opentelemetry-sdk>=1.27.0,<2.0.0",
"opentelemetry-exporter-otlp-proto-grpc>=1.27.0,<2.0.0",
"opentelemetry-exporter-prometheus>=0.48b0,<1.0.0",
"opentelemetry-instrumentation-fastapi>=0.48b0,<1.0.0",
"opentelemetry-instrumentation-sqlalchemy>=0.48b0,<1.0.0",
"prometheus-client>=0.20.0,<1.0.0",
"slowapi>=0.1.9,<1.0.0",
"alembic>=1.13.0,<2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.2.0,<9.0.0",
"pytest-cov>=5.0.0,<6.0.0",
"pytest-asyncio>=0.23.0,<1.0.0",
"httpx>=0.27.0,<1.0.0",
"testcontainers[postgres]>=4.8.0,<5.0.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
asyncio_default_test_loop_scope = "session"
testpaths = ["tests"]
addopts = "-m 'not performance'"
markers = [
"performance: benchmarks and perf-sensitive integration tests (opt-in)",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["app*"]
[tool.setuptools.package-data]
app = ["templates/*.html"]