Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
198 lines (182 loc) · 6.46 KB
/
Copy pathpyproject.toml
File metadata and controls
198 lines (182 loc) · 6.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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES.
# All rights reserved.
# SPDX-License-Identifier: Apache-2.0
[build-system]
requires = ["setuptools>=77", "setuptools-scm[toml]==8.3.1", "toml>=0.10.2", "wheel==0.45.1"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
git_describe_command = "git describe --dirty --tags --long --match v[1-9]*"
[project]
name = "kumo"
description = "AI on the Modern Data Stack"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0 AND BSD-3-Clause AND MIT"
license-files = ["LICENSE", "KUMO-THIRD-PARTY.txt"]
dynamic = [
"version",
"authors",
"keywords",
"classifiers",
"dependencies",
"optional-dependencies",
]
[dependency-groups]
# Public engine tests use CPU Torch with the engine's GPU Faiss dependency.
public-tests = ["torch"]
[tool.poetry]
name = "kumo"
version = "0.1.0"
description = "AI on the Modern Data Stack"
authors = []
readme = "README.md"
packages = [{include = "kumo"}]
[tool.poetry.dependencies]
python = "^3.11"
[tool.uv.workspace]
# kumo-databricks-connector has no checked-in pyproject.toml and kumo-ui-catalog is a Node/TS project -- neither is a uv
# workspace member. packages/scripts/ has no pyproject.toml either.
members = [
"packages/kumo-api",
"packages/kumo-settings",
"packages/kumo-pql",
"packages/kumo-core",
"packages/diskgraph",
"packages/kumo-snowflake",
"packages/kumo-bigquery",
"packages/kumo-databricks",
"packages/kumo-gcs",
"packages/kumo-adls",
"packages/kumo-s3",
"packages/kumo-engine",
"packages/kumo-sdk",
"packages/experimental/kumo-pytorch",
"tools/glove-6b-50d",
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu130"
url = "https://download.pytorch.org/whl/cu130"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu132"
url = "https://download.pytorch.org/whl/cu132"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cpu", group = "public-tests" },
{ index = "pytorch-cu130", extra = "cu130" },
{ index = "pytorch-cu132", extra = "cu132" },
]
kumo-api = { workspace = true }
kumo-pql = { workspace = true }
kumo-core = { workspace = true }
diskgraph = { workspace = true }
kumo-gcs = { workspace = true }
kumo-adls = { workspace = true }
kumo-s3 = { workspace = true }
kumo-snowflake = { workspace = true }
kumo-bigquery = { workspace = true }
kumo-databricks = { workspace = true }
kumo-glove-6b-50d = { workspace = true }
[tool.uv]
# .mise.toml repeats this version, and the backend Dockerfiles read this line.
required-version = "==0.13.7"
# Exactly one torch build per environment.
conflicts = [[{ extra = "cpu" }, { extra = "cu130" }, { extra = "cu132" }, { group = "public-tests" }]]
# Delay newly uploaded artifacts long enough for compromised releases to be
# detected or yanked before local and CI installs resolve them.
exclude-newer = "7 days"
# Allow the requested PyG 2.8.1 release, published on 2026-10-12.
# Allow Pillow 13.0.0, released on 2026-10-16, for CVE-2026-112404.
# Allow Certifi's 2026-10-19 fix for GHSA-6q48-6c7w-9gw2.
exclude-newer-package = { torch-geometric = "2026-10-13T00:00:00Z", pillow = "2026-10-17T00:00:00Z", certifi = "2026-10-21T00:00:00Z" }
find-links = [
# The GPU image workflow stages checksum-pinned custom CUDA Faiss wheels
# here for GPUs not covered by the public wheel.
# See 3rdparty/kumo-wheels/README.md.
"3rdparty/kumo-wheels/",
]
# snowflake-ml-python caps fsspec<2026; fsspec 2026.6.0 fixes
# GHSA-27vj-qcqg-25rc. Remove once snowflake-ml-python lifts the cap.
# This overrides every fsspec requirement (incl. the setup.py and gcsfs
# pins), so bump it together with them.
override-dependencies = ["fsspec[http]==2026.6.0"]
# snowflake-connector-python 4.7.1+ (GHSA-5cc2-282f-jjq2 fix) caps pyarrow<24
# on all Python 3.14 for a crash that only affects free-threaded 3.14t
# (snowflakedb/snowflake-connector-python#2934). Kumo runs GIL 3.14 and
# DiskGraph pins pyarrow 24, so this entry restates the 4.8.1 metadata without
# the cap, pinning the connector at 4.8.1. To move it, copy the new release's
# metadata here. Remove this entry before adopting free-threaded Python.
[[tool.uv.dependency-metadata]]
name = "snowflake-connector-python"
version = "4.8.1"
requires-python = ">=3.11"
provides-extras = ["boto", "azure", "development", "pandas", "secure-local-storage"]
requires-dist = [
"asn1crypto<2.0.0,>0.24.0",
"cryptography>=46.0.5",
"pyOpenSSL>=25.3.0",
"pyjwt<3.0.0,>=2.10.1",
"pytz",
"requests<3.0.0,>=2.32.4",
"packaging",
"charset_normalizer<4,>=2",
"idna<4,>=3.7",
"certifi>=2026.10.18",
"typing_extensions<5,>=4.3",
"filelock<5,>=3.12",
"sortedcontainers>=2.4.0",
"platformdirs<5.0.0,>=2.6.0",
"tomlkit",
"boto3>=1.24",
"botocore>=1.24",
"boto3>=1.24; extra == 'boto'",
"botocore>=1.24; extra == 'boto'",
"azure-identity>=1.16; extra == 'azure'",
"Cython>=3.1; extra == 'development'",
"azure-identity>=1.16; extra == 'development'",
"coverage; extra == 'development'",
"mitmproxy>=12.0.0; (python_version >= '3.12' and python_version < '3.14') and extra == 'development'",
"more-itertools; extra == 'development'",
"numpy<=2.4.3; extra == 'development'",
"pendulum!=2.1.1; extra == 'development'",
"pexpect; extra == 'development'",
"pytest<9,>=8.4; extra == 'development'",
"pytest-asyncio<2,>=1.4.0; extra == 'development'",
"pytest-cov; extra == 'development'",
"pytest-rerunfailures<16.0; extra == 'development'",
"pytest-timeout; extra == 'development'",
"pytest-xdist; extra == 'development'",
"pytzdata; extra == 'development'",
"responses; extra == 'development'",
"pandas<3.0.0,>=1.0.0; python_version < '3.13' and extra == 'pandas'",
"pandas<3.0.0,>=2.1.2; python_version >= '3.13' and extra == 'pandas'",
# Upstream: "pyarrow<24,>=14.0.1; python_version >= '3.14' and extra == 'pandas'"
# and "pyarrow>=14.0.1; python_version < '3.14' and extra == 'pandas'".
"pyarrow>=14.0.1; extra == 'pandas'",
"keyring<26.0.0,>=23.1.0; extra == 'secure-local-storage'",
]
[tool.vulture]
# Include high-confidence findings such as unused imports while avoiding the
# noisier 60% class, function, method, and variable findings for now.
min_confidence = 80
paths = ["."]
exclude = [
".agents/",
".git/",
".venv/",
"3rdparty/",
"kumo/pquery/grammar/",
"packages/diskgraph/",
"*/conftest.py",
"*/examples/*",
"*/test/*",
"*/tests/*",
"*/test_*.py",
"*_test.py",
]