-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (73 loc) · 2.87 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (73 loc) · 2.87 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
[build-system]
requires = ["hatchling==1.27.0"]
build-backend = "hatchling.build"
[project]
name = "mldag"
version = "0.1.0rc27"
description = "HTCondor ML training DAG generation, monitoring, and reporting"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
# Provenance capture/querying, split out of this repo (task-31). Kept as a
# plain version spec rather than a git URL: a direct reference in
# project.dependencies makes the built metadata unpublishable to an index,
# which would break this package's own TestPyPI release on the next tag.
# See [[tool.uv.index]] below for where it is resolved from.
"htprovenance>=0.1.0rc1",
"elasticsearch>=9.1.2",
"matplotlib>=3.9.4",
"numpy>=2.0.2",
"pandas>=2.3.2",
"polars>=1.36.1",
"pydantic>=2.11.7",
"python-dotenv>=1.0.0",
"pyyaml>=6.0.2",
"seaborn>=0.13.2",
"typer>=0.16.0",
"plotly>=5.24.0",
"htcondor>=25.8.2; sys_platform == 'linux'",
]
[project.scripts]
mldag-gen = "mldag.daggen:app"
mldag-csv = "mldag.report.csv:main"
mldag-report = "mldag.report.experiment:main"
mldag-monitor = "mldag.monitor.htcondor:main"
mldag-pre = "mldag.provenance.pre:main"
mldag-log-monitor = "mldag.provenance.log_monitor:main"
mldag-post = "mldag.provenance.post:main"
mldag-query = "mldag.provenance.query:main"
mldag-repair = "mldag.provenance.repair:main"
mldag-dashboard = "mldag.dashboard:main"
[project.urls]
Homepage = "https://github.com/iross/MLDAG"
Repository = "https://github.com/iross/MLDAG"
[tool.hatch.build.targets.wheel]
packages = ["mldag"]
# Installs a .pth file that imports mldag.provenance._autorun at the start of
# every Python process in this environment -- the zero-config auto-capture
# hook (see mldag/provenance/_autorun.py and autocapture.py). hatch-autorun
# is a build-time-only dependency (used by hatchling while building the
# wheel, never installed alongside mldag itself) maintained by hatchling's
# own author specifically for this .pth-injection pattern, avoiding the
# editable-install/load-ordering pitfalls of hand-writing a custom build hook.
[tool.hatch.build.targets.wheel.hooks.autorun]
dependencies = ["hatch-autorun==1.1.0"]
code = "import mldag.provenance._autorun"
# htprovenance is published to TestPyPI only for now (as is this package).
# `explicit = true` plus the source pin below means ONLY htprovenance is
# resolved from TestPyPI -- everything else still comes from PyPI proper,
# rather than resolving the whole dependency tree against a test index.
# This is uv-only config and never reaches the built metadata, so the
# published package stays installable from a normal index.
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
explicit = true
[tool.uv.sources]
htprovenance = { index = "testpypi" }
[tool.ruff]
target-version = "py39"
[dependency-groups]
dev = [
"pytest>=8.4.2",
]