-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (81 loc) · 2.04 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (81 loc) · 2.04 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
[project]
name = "openpi-flash"
version = "0.1.0"
description = "Real-time inference engine for openpi"
license = { file = "LICENSE" }
authors = [{ name = "Hebbian Robotics" }]
requires-python = ">=3.11,<3.12"
dependencies = [
"openpi",
"openpi-client",
"huggingface-hub>=0.36.2,<1.0",
"pydantic>=2.13.4",
"pydantic-settings>=2.14.2",
"fastapi>=0.138.1",
"httpx>=0.28.1",
"modal>=1.5.1",
"starlette>=1.3.1",
"uvicorn>=0.49.0",
"gsutil>=5.37",
"quic-portal>=0.1.13",
"python-dotenv>=1.2.2",
"typer>=0.26.8",
"google-genai>=1.55.0",
"openai>=2.44.0",
"openpi-flash-transport",
"tenacity>=9.1.4",
]
[tool.uv]
# Supply-chain hardening: refuse PyPI releases younger than 7 days.
# See: https://docs.astral.sh/uv/concepts/resolution/#exclude-newer
exclude-newer = "7 days"
override-dependencies = [
"jax[cuda12]==0.5.3; sys_platform == 'linux'",
"jax==0.5.3; sys_platform != 'linux'",
]
[tool.uv.sources]
openpi = { path = "../openpi", editable = true }
openpi-client = { path = "../openpi/packages/openpi-client", editable = true }
openpi-flash-client = { path = "packages/openpi-flash-client", editable = true }
openpi-flash-transport = { path = "packages/openpi-flash-transport", editable = true }
quic-portal = { git = "https://github.com/Hebbian-Robotics/quic-portal.git" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"openpi-flash-client",
"ruff>=0.15.20",
"ty>=0.0.55",
"pytest>=9.1.1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/hosting"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"B",
"C4",
"UP",
"ANN",
"PTH",
"RET",
"SIM",
"TID",
"RUF",
]
ignore = ["E501", "B008", "C901", "RET504", "ANN401"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ty.rules]
division-by-zero = "error"
deprecated = "error"
unused-ignore-comment = "error"
possibly-unresolved-reference = "error"