-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (59 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (59 loc) · 1.6 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
[project]
name = "fastapi-jsonrpc"
version = "3.5.0"
description = "JSON-RPC server based on fastapi"
license = "MIT"
authors = [
{name = "Sergey Magafurov", email = "magafurov@tochka.com"},
]
readme = "README.md"
requires-python = ">=3.10"
keywords = ["json-rpc", "asgi", "swagger", "openapi", "fastapi", "pydantic", "starlette"]
dependencies = [
"aiojobs>=1.1.0",
"fastapi>=0.135.2",
"pydantic>=2.7.0,<3.0.0",
"starlette>=1.0",
]
[project.optional-dependencies]
sentry = ["sentry-sdk>=2.0"]
[project.urls]
Homepage = "https://github.com/smagafurov/fastapi-jsonrpc"
Repository = "https://github.com/smagafurov/fastapi-jsonrpc"
Documentation = "https://smagafurov.github.io/fastapi-jsonrpc/"
[dependency-groups]
dev = [
"uvicorn>=0.17.0,<0.18.0",
"pytest>=9.0",
"mypy>=2.3,<3",
# the harness uses sentry_sdk.get_global_scope(), added in 2.12; the library itself needs only 2.0
"sentry-sdk>=2.12",
"requests",
"httpx>=0.27.0,<0.29.0", # FastAPI/Starlette extra test deps
]
docs = [
"zensical",
]
[tool.pytest.ini_options]
# Without this pytest walks the package too and tries to collect
# fastapi_jsonrpc/contrib/sentry/test_utils.py — a helper module, not a test
testpaths = ["tests"]
[tool.mypy]
files = ["fastapi_jsonrpc"]
python_version = "3.10"
show_error_codes = true
warn_unused_ignores = true
[tool.hatch.build.targets.sdist]
exclude = [
"example1.py",
"example2.py",
]
[tool.hatch.build.targets.wheel]
packages = ["fastapi_jsonrpc"]
exclude = [
"example1.py",
"example2.py",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"