Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (126 loc) · 4.81 KB
/
Copy pathpyproject.toml
File metadata and controls
139 lines (126 loc) · 4.81 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
[project]
name = "qaboard"
version = "1.2.0"
description = "Self-hosted quality tracking for people and coding agents: every commit's outputs and metrics next to a reference's, with tuning."
readme = "README.md"
authors = [
{name = "Arthur Flam", email = "arthur.flam@samsung.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Quality Assurance",
]
requires-python = ">=3.7"
dependencies = [
"click>=7.0",
"joblib",
"pyyaml",
"requests",
"rich",
"scikit-learn",
# qa optimize. Its import error tells users of older Pythons to upgrade
"optuna>=4.5; python_version >= '3.9'",
"sentry-sdk",
"simplejson",
"psutil",
"importlib_metadata; python_version < '3.8'",
]
license = {text = "Apache-2.0"}
[project.urls]
Homepage = "https://github.com/Samsung/qaboard"
[project.optional-dependencies]
dev = [
"flake8",
"green",
# tests/test_schemas.py
"jsonschema",
"mypy",
"types-PyYAML",
"types-requests",
"types-setuptools",
"types-simplejson",
]
# Runner that sends runs to a pool of dask workers, started on LSF, Slurm, PBS... with dask-jobqueue
# Runner that sends runs to Celery workers. Stopping batches needs celery>=5.3 (revoke by stamped headers)
celery = [
"celery>=5.3; python_version >= '3.9'",
]
dask = [
"distributed; python_version >= '3.9'",
"dask-jobqueue; python_version >= '3.9'",
]
# Runner that starts runs as Kubernetes Jobs. 29: Indexed Jobs' backoffLimitPerIndex
kubernetes = [
"kubernetes>=29; python_version >= '3.9'",
]
# Dask workers on Kubernetes (runners.dask.cluster.type: kubernetes), with the Dask operator
dask-kubernetes = [
"distributed; python_version >= '3.10'",
"dask-kubernetes; python_version >= '3.10'",
]
# Code that logs with MLflow's tracking API logs to QA-Board: MLFLOW_TRACKING_URI=qaboard: (qaboard/integrations/mlflow)
mlflow = [
"mlflow-skinny>=2.10; python_version >= '3.9'",
]
# Unfortunately pip does not understand tool.uv.sources
# and uv does not understand syntax with "qaboard-site-sirc @ file:deployements/sirc/cli"
# and if we use an ssh syntax in uv it will try to resolve even if it is part of an unused extra
# so we are forced to really split into 2 packages
# sirc = [
# "qaboard-site-sirc",
# ]
# dsk = [
# "qaboard-site-dsk",
# ]
[project.scripts]
qa = "qaboard.qa:main"
# MLflow finds its stores and artifact repositories by URI scheme (qaboard/integrations/mlflow/plugin.py)
[project.entry-points."mlflow.tracking_store"]
qaboard = "qaboard.integrations.mlflow.plugin:tracking_store"
"qaboard+file" = "qaboard.integrations.mlflow.plugin:mirror_tracking_store"
"qaboard+http" = "qaboard.integrations.mlflow.plugin:mirror_tracking_store"
"qaboard+https" = "qaboard.integrations.mlflow.plugin:mirror_tracking_store"
"qaboard+sqlite" = "qaboard.integrations.mlflow.plugin:mirror_tracking_store"
"qaboard+postgresql" = "qaboard.integrations.mlflow.plugin:mirror_tracking_store"
"qaboard+mysql" = "qaboard.integrations.mlflow.plugin:mirror_tracking_store"
"qaboard+mssql" = "qaboard.integrations.mlflow.plugin:mirror_tracking_store"
[project.entry-points."mlflow.model_registry_store"]
qaboard = "qaboard.integrations.mlflow.plugin:registry_store"
"qaboard+file" = "qaboard.integrations.mlflow.plugin:mirror_registry_store"
"qaboard+http" = "qaboard.integrations.mlflow.plugin:mirror_registry_store"
"qaboard+https" = "qaboard.integrations.mlflow.plugin:mirror_registry_store"
"qaboard+sqlite" = "qaboard.integrations.mlflow.plugin:mirror_registry_store"
"qaboard+postgresql" = "qaboard.integrations.mlflow.plugin:mirror_registry_store"
"qaboard+mysql" = "qaboard.integrations.mlflow.plugin:mirror_registry_store"
"qaboard+mssql" = "qaboard.integrations.mlflow.plugin:mirror_registry_store"
[project.entry-points."mlflow.artifact_repository"]
qaboard-artifacts = "qaboard.integrations.mlflow.plugin:artifact_repository"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
# Outputs from running the sample project, e.g. during tests (hatch ignores nested .gitignore files)
exclude = [
"qaboard/sample_project/**/output/",
"qaboard/sample_project/**/*.batches.yaml",
]
[tool.hatch.build.targets.sdist]
include = ["/qaboard", "/qatools", "/tests", "/README.md", "/LICENSE"]
[tool.hatch.build.targets.wheel]
packages = [
"qaboard",
# for backward compat only
"qatools",
]
# See above
# [tool.uv.sources]
# qaboard-site-sirc = { path = "deployments/sirc/cli" }
# qaboard-site-dsk = { path = "deployments/dsk/cli" }
[tool.hatch.metadata]
allow-direct-references = true