-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathpyproject.toml
More file actions
190 lines (170 loc) · 4.93 KB
/
pyproject.toml
File metadata and controls
190 lines (170 loc) · 4.93 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
[project]
name = "baybe"
description = "A Bayesian Back End for Design of Experiments"
authors = [
{name = "Merck KGaA, Darmstadt, Germany"},
]
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python =">=3.10,<3.15"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Typing :: Typed",
]
keywords = [
"Active Learning",
"Bayesian Optimization",
"Design of Experiments",
"DOE",
"Optimization",
]
dynamic = ['version']
dependencies = [
"attrs>=25.4.0",
"botorch>=0.13.0,<1",
"cattrs>=25.2.0",
"exceptiongroup",
"gpytorch>=1.9.1,<2",
"joblib>1.4.0,<2",
"numpy>=1.24.1,<3",
"pandas>=1.4.2,<3",
"scikit-learn>=1.1.1,<2",
"scipy>=1.10.1",
"torch>=1.13.1,<3",
"typing_extensions>=4.7.0",
]
[project.urls]
Homepage = "https://emdgroup.github.io/baybe/"
Documentation = "https://emdgroup.github.io/baybe/_autosummary/baybe.html"
Changelog = "https://emdgroup.github.io/baybe/misc/changelog_link.html"
GitHub = "https://github.com/emdgroup/baybe/"
Issues = "https://github.com/emdgroup/baybe/issues/"
# DEV TOOLS NOTE: The versions of all dev tools should be consistent everywhere
# (pre-commit, environment.yml, requirements.txt, pyproject.toml, ...)
# AUDIT NOTE: The marked packages are secondary dependencies but their versions are
# set explicitly because the otherwise installed default versions have been flagged
# for vulnerabilities by pip-audit
[project.optional-dependencies]
extras = [
"baybe[chem]",
"baybe[insights]",
"baybe[onnx]",
"baybe[polars]",
"baybe[simulation]",
"ngboost>=0.3.12,<1",
"fpsample>=1.0.1",
]
chem = [
"scikit-fingerprints>=1.13.1",
]
# NOTE: There is an error in the metadata of onnxruntime version 1.24.1 to 1.24.3.
# The metadata claims that these versions are compatible with Python 3.10.
# However, Python 3.10 is not actually supported by versions >=1.24.
# As this causes issues with dependency resolving, we explicitly set the upper bound
# for onnxruntime to <1.24 for Python 3.10.
# See https://github.com/microsoft/onnxruntime/pull/27354 for more details.
onnx = [
"onnx>=1.16.0", # see AUDIT NOTE, required by skl2onnx
"onnxruntime>=1.15.1,<1.24; python_version < '3.11'",
"onnxruntime>=1.15.1; python_version >= '3.11'",
"skl2onnx>=1.19.1",
]
dev = [
"baybe[examples]",
"baybe[docs]",
"baybe[lint]",
"baybe[mypy]",
"baybe[test]",
"baybe[benchmarking]",
"pip-audit>=2.5.5",
"setuptools-scm>=7.1.0",
"tox-uv>=1.7.0",
"uv>=0.11.3",
]
insights = [
"shap[others]>=0.47.0",
]
docs = [
"baybe[examples]", # docs cannot be built without running examples
"furo>=2023.09.10",
"jupyter>=1.1.1",
"jupytext>=1.16.4",
"myst-parser>=4.0.0",
"sphinx>=8.0.2",
"sphinx-autodoc-typehints>=2.4.4",
"sphinx-copybutton==0.5.2",
"sphinx-paramlinks==0.6.0",
"sphinx-design==0.6.1",
"sphinxcontrib-bibtex>=2.6.2",
"tqdm",
]
examples = [
"baybe[extras]",
"matplotlib>=3.7.3,!=3.9.1",
"openpyxl>=3.0.9",
"pillow>=10.0.1", # Necessary due to vulnerability
"plotly>=5.10.0",
"seaborn>=0.12.2",
"streamlit>=1.37.0", # Necessary due to vulnerability
"tornado>=6.3.3", # see AUDIT NOTE, required by streamlit
]
lint = [
"flake8==7.3.0", # see DEV TOOLS NOTE
"pre-commit==4.2.0", # see DEV TOOLS NOTE
"pydoclint==0.5.5", # see DEV TOOLS NOTE
"pyupgrade==3.21.2", # see DEV TOOLS NOTE
"ruff==0.15.9", # see DEV TOOLS NOTE
]
mypy = [
"mypy>=1.19.1",
"pandas-stubs>=2.2.2.240603",
"types-seaborn>=0.13.2.20240618",
"types-psutil>=7.0.0.20250801",
"types-tqdm"
]
polars = [
"polars[pyarrow]>=0.19.19,<2",
]
simulation = [
"xyzpy>=1.2.1",
]
benchmarking = [
"baybe[chem]",
"baybe[onnx]",
"baybe[simulation]",
"baybe[examples]", # Due to matplotlib
"boto3>=1.0.0,<2",
"GitPython>=3.0.6,<4", # Necessary since older versions rely on a specific version of GitDB: https://github.com/gitpython-developers/GitPython/issues/983
"psutil>=7.0.0",
"torch>=2.4.0", # Required for torch.get_device_module()
]
test = [
"hypothesis[pandas]>=6.88.4",
"tenacity>=8.5.0",
"pytest>=7.2.0",
"pytest-cov>=4.1.0",
]
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = 'post-release'
local_scheme = "dirty-tag"
fallback_version = "0.0+unknown"
[tool.setuptools]
packages = ["baybe"]
[tool.uv]
exclude-newer = "7 days"