forked from Quantco/metalearners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pixi.toml
119 lines (103 loc) · 2.42 KB
/
pixi.toml
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
[project]
name = "metalearners"
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
[tasks]
postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ."
coverage = "pytest tests --cov=metalearners --cov-report=xml --cov-report term-missing --color=yes"
# Note that this task will fail on systems without bash.
nb-convert = "nb-convert.sh"
nb-mypy = "mypy docs/examples/*.py"
[dependencies]
pre-commit = "*"
git_root = "*"
pip = "*"
python = ">=3.10"
setuptools-scm = "*"
setuptools = ">=61"
ipykernel = "*"
ipywidgets = "*"
lime = "*"
optuna = "*"
nbconvert = "*"
mypy = "*"
pytest = ">=6"
pytest-cov = "*"
pytest-xdist = "*"
scikit-learn = ">=1.4"
numpy = "*"
pandas = "*"
typing-extensions = "*"
lightgbm = "*"
xgboost = "*"
glum = "*"
shap = "*"
matplotlib-base = "*"
joblib = ">=1.2.0"
lifelines = "*"
onnx = "*"
onnxmltools = "*"
onnxruntime = "*"
spox = "*"
[feature.lint.dependencies]
pre-commit = "*"
black = "*"
ruff = "*"
prettier = "*"
insert-license-header = "*"
taplo = "*"
typos = "*"
docformatter = "*"
pre-commit-hooks = "*"
types-setuptools = "*"
[feature.lint.tasks]
pre-commit-install = "pre-commit install"
pre-commit-run = "pre-commit run -a"
[feature.docs.dependencies]
make = "*"
numpydoc = "*"
sphinx = "*"
sphinx_rtd_theme = "*"
sphinxcontrib-apidoc = "*"
sphinx-autodoc-typehints = "*"
myst-nb = "*"
econml = ">=0.15"
doubleml = "*"
statsmodels = "*"
[feature.docs.tasks]
docs = "cd docs && make html "
readthedocs = "rm -rf $READTHEDOCS_OUTPUT/html && cp -r docs/_build/html $READTHEDOCS_OUTPUT/html"
[feature.build.dependencies]
build = "*"
[feature.build.tasks]
build = "python -m build"
[feature.benchmark]
platforms = ["linux-64", "osx-arm64", "osx-64"]
[feature.benchmark.dependencies]
git_root = "*"
python = "3.10"
scikit-learn = ">=1.3"
numpy = "*"
pandas = "*"
lightgbm = "*"
econml = ">=0.15"
causalml = "*"
pip = "*"
tabulate = "*"
[feature.benchmark.tasks]
postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ."
benchmark = "python benchmarks/benchmark.py"
[feature.py310.dependencies]
python = "3.10.*"
[feature.py311.dependencies]
python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"
[environments]
py310 = ["py310"]
py311 = ["py311"]
py312 = ["py312"]
lint = { features = ["lint"], no-default-feature = true }
docs = ["docs"]
build = ["build"]
benchmark = { features = ["benchmark"], no-default-feature = true }