-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (70 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (70 loc) · 2.34 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
[project]
name = "hypercluster"
version = "0.1.0"
description = "Hypercluster compute power challenge for BASE Intelligence"
requires-python = ">=3.12"
dependencies = [
"aiosqlite>=0.20.0",
# Ship pin (matches prism / release wheel). Pure-clone CI uses this URL (no sibling path).
"base @ https://github.com/BaseIntelligence/base/releases/download/v3.1.2/base-3.1.2-py3-none-any.whl#sha256=3a61c2d3a343ed6de55e80215486e3de0c9639276443d08f2ed316bc807f2ff0",
"fastapi>=0.115.0",
"httpx>=0.27.0",
"pydantic>=2.8.0",
"pydantic-settings>=2.4.0",
"sqlalchemy[asyncio]>=2.0.32",
"typer>=0.12.0",
"uvicorn[standard]>=0.30.0",
]
[project.optional-dependencies]
dev = [
"hatchling>=1.25.0",
"mypy>=1.10.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=5.0.0",
"ruff>=0.6.0",
]
[project.scripts]
hypercluster = "hypercluster.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/hypercluster"]
[tool.hatch.metadata]
allow-direct-references = true
# Do NOT pin base to a sibling monorepo path here. The release wheel URL in
# project.dependencies is the source of truth for pure clones and GitHub Actions.
# Local monorepo developers who need an editable platform check-out can run:
# uv add --editable ../platform
# or pass a temporary override file when resolving.
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
# Live commercial-cloud rentals (Verda ops QA) are opt-in only (VAL-LIVE-010).
# Default `uv run pytest` never selects the live_verda marker and never auto-loads
# external ops secret files. Never add that mark to default addopts.
# CI jobs deselect with: -m "not live_verda and not integration".
markers = [
"live_verda: external Verda/single-GPU ops QA (opt-in; never default CI)",
"tee_live: optional live TEE hardware path (skip unless HYPER_TEE_LIVE)",
"integration: optional live/integration path (never default CI; real SSH opt-in)",
]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["B008"]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.12"
packages = ["hypercluster"]
mypy_path = ["src"]
ignore_missing_imports = true
warn_unused_ignores = false