forked from hhenson/hgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
179 lines (171 loc) · 4.46 KB
/
Copy pathpyproject.toml
File metadata and controls
179 lines (171 loc) · 4.46 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
[build-system]
requires = [
"scikit-build-core>=0.12",
"nanobind==2.13.0",
"pyarrow>=25,<26",
]
build-backend = "scikit_build_core.build"
[project]
name = "hgraph"
# Release artifacts are restamped from the x.x.x tag by release-wheels.yml.
version = "0.0.0"
description = "C++-first functional reactive runtime for time-series processing"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "Howard Henson", email = "howard@henson.me.uk"},
{name = "Alexander Balabin", email = "balabin@me.com"},
{name = "Simon Young", email = "whepstead@gmail.com"},
{name = "Tope Olukemi", email = "tolukemi@gmail.com"},
]
keywords = [
"reactive",
"graph",
"forward propagating graph",
"time series",
"functional reactive programming",
"c++",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"frozendict>=2.4",
"numpy>=2.0",
"pyarrow>=25,<26",
"polars>=1.32",
"pyyaml>=6",
]
[project.optional-dependencies]
python = [
"nanobind==2.13.0",
]
test = [
"boto3>=1.34",
"connectorx>=0.4.5",
"deltalake>=1.0",
"duckdb>=1.4",
"hypothesis>=6",
"pandas>=2.0",
"packaging>=24",
"polars[rtcompat]>=1.32",
"perspective-python>=3.8",
"psutil>=5.9",
"pytest>=8",
"sqlalchemy>=2.0",
"tornado>=6.5",
"trove-classifiers",
]
parity = [
"hypothesis>=6",
]
web = [
# The released hgraph.adaptors.tornado server surface is implemented by
# hgraph_web.compat; the client tier is still Tornado-backed.
"hgraph-web>=0.8.0",
"tornado>=6.5",
]
sql = [
"connectorx>=0.4.5",
"duckdb>=1.4",
"pandas>=2.0",
"polars>=1.32",
"sqlalchemy>=2.0",
]
snowflake = [
"adbc-driver-snowflake>=1.8",
]
delta = [
"boto3>=1.34",
"deltalake>=1.0",
"polars>=1.32",
]
perspective = [
"perspective-python>=3.8",
"psutil>=5.9",
"tornado>=6.5",
]
dataframe = [
# Durable record/replay — DataFrameStorage and the frame store — is
# served by the hgraph-persistence extension (RFC 0025).
"hgraph-persistence>=0.8.0",
"polars>=1.32",
]
docs = [
"sphinx>=7.4",
"sphinx-rtd-theme>=2.0",
"myst-parser>=2.0",
"sphinxcontrib-mermaid>=1.0",
"sphinxcontrib-bibtex>=2.6",
"pybtex-apa-style>=1.3",
]
dev = [
"cmake>=3.26",
"ninja",
"nanobind==2.13.0",
"packaging>=24",
"pytest>=8",
"sphinx>=7.4",
"sphinx-rtd-theme>=2.0",
"myst-parser>=2.0",
"sphinxcontrib-mermaid>=1.0",
"sphinxcontrib-bibtex>=2.6",
"pybtex-apa-style>=1.3",
"scikit-build-core>=0.12",
"trove-classifiers",
]
[project.urls]
Homepage = "https://github.com/hhenson/hgraph"
Repository = "https://github.com/hhenson/hgraph.git"
Issues = "https://github.com/hhenson/hgraph/issues"
[tool.uv.sources]
hgraph = {workspace = true}
hgraph-persistence = {workspace = true}
hgraph-web = {workspace = true}
[tool.uv.workspace]
members = ["extensions/*"]
[tool.scikit-build]
build-dir = "cmake-build-wheel/{wheel_tag}"
build.verbose = true
cmake.source-dir = "."
minimum-version = "build-system.requires"
wheel.py-api = "cp312"
wheel.packages = ["python/hgraph"]
sdist.exclude = [
"reports/**",
"ext/**",
"extensions/**",
"language/**",
"packaging/**",
"benchmarks/.venv*/**",
"benchmarks/results/**",
]
[tool.scikit-build.cmake.define]
HGRAPH_BUILD_PYTHON_BINDINGS = "ON"
HGRAPH_ENABLE_PYTHON_USER_NODES = "ON"
HGRAPH_BUILD_SHARED = "ON"
HGRAPH_WARNINGS_AS_ERRORS = "ON"
HGRAPH_FETCH_DATE = "ON"
BUILD_TESTING = "OFF"
[tool.pytest.ini_options]
minversion = "8.0"
# Extension suites intentionally reuse descriptive test-module basenames.
# Import modules by path so every extension can be collected in one process.
addopts = ["--import-mode=importlib"]
# The repo root, so `tools.api_inventory` imports in test_api_inventory.py.
# Without it the suite only COLLECTS under `python -m pytest` run from the
# root, which puts the cwd on sys.path as a side effect - a plain `pytest`
# or `uv run pytest` fails at collection with ModuleNotFoundError. Relative
# to rootdir, so it holds from any working directory.
pythonpath = ["."]
testpaths = [
"python/tests",
]