-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathpyproject.toml
70 lines (62 loc) · 1.82 KB
/
pyproject.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
[project]
name = "bayesian-optimization"
version = "3.0.0b1"
description = "Bayesian Optimization package"
authors = [{ name = "Fernando Nogueira", email = "[email protected]" }]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.9,<4.0"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"scikit-learn>=1.0.0,<2.0.0",
"numpy>=1.25; python_version<'3.13'",
"numpy>=2.1.3; python_version>='3.13'",
"scipy>=1.0.0,<2.0.0; python_version<'3.13'",
"scipy>=1.14.1,<2.0.0; python_version>='3.13'",
"colorama>=0.4.6,<1.0.0",
]
[tool.poetry]
requires-poetry = ">=2.0"
packages = [{ include = "bayes_opt" }]
[tool.poetry.group.dev] # for testing/developing
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
coverage = "^7.4.1"
ruff = "0.6.6"
pre-commit = "^3.7.1"
[tool.poetry.group.nbtools] # for running/converting notebooks
optional = true
[tool.poetry.group.nbtools.dependencies]
nbformat = "^5.9.2"
nbconvert = "^7.14.2"
jupyter = "^1.0.0"
matplotlib = "^3.0"
nbsphinx = "^0.9.4"
sphinx-immaterial = "^0.12.0"
sphinx = [
{ version = "^7.0.0", python = "<3.10" },
{ version = "^8.0.0", python = ">=3.10" },
]
sphinx-autodoc-typehints = [
{ version = "^2.3.0", python = "<3.10" },
{ version = "^2.4.0", python = ">=3.10" },
]
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]