-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
193 lines (180 loc) · 6.15 KB
/
pyproject.toml
File metadata and controls
193 lines (180 loc) · 6.15 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
[project]
name = "ado-core"
description = """ado is a unified platform for executing computational experiments at scale and analysing their results.
It can be easily extended with new experiments or new analysis tools. It allows distributed teams of
researchers and engineers to collaborate on projects, execute experiments, and share data.
"""
readme = "README.md"
requires-python = ">=3.10,<3.14"
license-files = ["AUTHORS.md", "LICEN[CS]E*", "vendored/licenses/*.txt"]
authors = [{ name = "Michael A. Johnston", email = "michaelj@ie.ibm.com" }]
maintainers = [{ name = "Michael A. Johnston", email = "michaelj@ie.ibm.com" }]
keywords = ["discovery", "exploration", "optimization", "orchestration", "ray"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Build Tools",
]
dependencies = [
"build>=1.3.0",
"colorlog>=6.9.0",
"jsonpath-ng>=1.7.0",
"numpy>=1.26.4",
"pandas>=2.2.0",
"pydantic>=2.10",
"pymysql[rsa]>=1.1.1",
"pyyaml>=6.0.2",
"ray[serve]>=2.9",
"sqlalchemy>2",
"typer>=0.22.0",
"uv>=0.10.4",
]
# Deps/Build-related section
dynamic = ["version"]
[project.urls]
Changelog = "https://github.com/IBM/ado/blob/main/CHANGELOG.md"
Homepage = "https://ibm.github.io/ado/"
Issues = "https://github.com/IBM/ado/issues"
# Documentation = "https://readthedocs.org"
Repository = "https://github.com/IBM/ado"
[project.scripts]
ado = "orchestrator.cli.core.cli:app"
run_experiment = "orchestrator.utilities.run_experiment:main"
[project.entry-points."ado.operators"]
randomwalk = "orchestrator.modules.operators.randomwalk"
[dependency-groups]
dev = [
"black>=25.1.0",
"coverage>=7.10.2",
"detect-secrets @ git+https://github.com/ibm/detect-secrets.git",
"pip>=25.1.1",
"pre-commit>=4.2.0",
"pydevd>=3.3.0",
"pytest>=8.3.5",
"pytest-asyncio>=1.0.0",
"pytest-cov>=7.0.0",
"pytest-env>=1.1.0",
"pytest-recording>=0.13.4",
"pytest-timeout>=2.4.0",
"pytest-xdist>=3.6.1",
"ruff>=0.12.1",
"testcontainers>=4.10.0",
"tombi>=0.7.28",
"tox>=4.26.0",
"tox-uv>=1.25.0",
]
docs = [
"htmlmin>=0.1.12",
"mkdocs>=1.6.1",
"mkdocs-github-admonitions-plugin>=0.1.1",
"mkdocs-include-markdown-plugin>=7.1.6",
"mkdocs-material>=9.6.14",
"mkdocs-minify-plugin>=0.8.0",
"pygments>=2.19.1",
"pymdown-extensions>=10.15",
]
resolution-helpers = [
"urllib3>=2.5.0",
]
# AP 2025-12-05:
# ado-sfttrainer is currently incompatible with Python 3.13
# due to a dependency on aim/aimrocks
# ado-vllm-performance is currently incompatible with macOS
# due to a new requirement in vllm>=0.11.1 which brings in
# cuda dependencies.
test = [
"ado-autoconf",
"ado-no-priors-characterization",
"ado-ray-tune",
"ado-sfttrainer; python_version < '3.13'",
"ado-trim",
"ado-vllm-performance",
"anomalous-series",
"density-test",
"optimization-test-functions",
"pfas-custom-functions",
"profile-space",
"robotic-lab",
"trim-custom-experiments",
]
[build-system]
requires = ["hatchling", "uv-dynamic-versioning>=0.7.0"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.hatch.build.targets.wheel]
packages = ["orchestrator"]
# Read by Ray on first `import ray` (pytest-env runs when pytest starts, before conftest).
[tool.pytest_env]
RAY_ENABLE_UV_RUN_RUNTIME_ENV = "0"
[tool.uv]
default-groups = ["dev", "docs"]
required-environments = [
"sys_platform == 'darwin' and platform_machine == 'arm64'",
"sys_platform == 'linux' and platform_machine == 'x86_64'"
]
# Having our plugins in the workspace section makes it so
# that dependencies are resolved considering them as well.
# ref: https://docs.astral.sh/uv/concepts/projects/workspaces
# Plugins that we know are incompatible for certain reasons
# (e.g., Python version requirements) are commented out and
# added as path-based sources.
[tool.uv.workspace]
members = [
"examples/density_example",
"examples/optimization_test_functions/custom_experiments",
"examples/pfas-generative-models/custom_actuator_function",
"examples/trim/custom_experiments",
"plugins/actuators/example_actuator",
"plugins/actuators/vllm_performance",
"plugins/custom_experiments/autoconf",
"plugins/operators/anomalous_series",
"plugins/operators/no-priors-characterization",
"plugins/operators/profile_space",
"plugins/operators/ray_tune",
# "plugins/actuators/sfttrainer",
"plugins/operators/trim"
]
[tool.uv.sources]
ado-autoconf = { workspace = true, editable = true }
ado-no-priors-characterization = { workspace = true, editable = true }
ado-ray-tune = { workspace = true, editable = true }
ado-sfttrainer = { path = "plugins/actuators/sfttrainer", editable = true }
ado-trim = { workspace = true, editable = true }
ado-vllm-performance = { workspace = true, editable = true }
anomalous-series = { workspace = true, editable = true }
density-test = { workspace = true, editable = true }
optimization-test-functions = { workspace = true, editable = true }
pfas-custom-functions = { workspace = true, editable = true }
profile-space = { workspace = true, editable = true }
robotic-lab = { workspace = true, editable = true }
trim-custom-experiments = { workspace = true, editable = true }
detect-secrets = { git = "https://github.com/ibm/detect-secrets.git", rev = "master" }
[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
pattern = "default-unprefixed"
fallback-version = "0.0.0"
# Versioning logic (Dunamai / PEP 440):
# - Exact tag (distance == 0) → use the base version; add +dirty only if the repo is dirty
# - Ahead of tag (distance > 0) → bump the base version, add .devN, plus commit/timestamp metadata
# - `select | list` removes optional entries and materializes metadata as a real list
# (required by serialize_pep440)
format-jinja = """
{%- set metadata = [
distance != 0 and "g" ~ commit,
distance != 0 and "d" ~ timestamp,
dirty and "dirty"
] -%}
{{ serialize_pep440(
distance == 0 and base or bump_version(base),
stage,
revision,
dev=distance or None,
metadata=metadata | select | list
) }}
"""