Skip to content

Commit d8ac119

Browse files
committed
Update pyproject.toml to use PEP-621 dependency specification
1 parent d60b99d commit d8ac119

File tree

3 files changed

+171
-30
lines changed

3 files changed

+171
-30
lines changed

pyproject.toml

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,39 +25,30 @@ dependencies = [
2525
"colorama>=0.4.6,<1.0.0",
2626
]
2727

28-
[tool.poetry]
29-
requires-poetry = ">=2.0"
30-
packages = [{ include = "bayes_opt" }]
31-
32-
33-
[tool.poetry.group.dev] # for testing/developing
34-
optional = true
35-
[tool.poetry.group.dev.dependencies]
36-
pytest = "^8.0.0"
37-
pytest-cov = "^4.1.0"
38-
coverage = "^7.4.1"
39-
ruff = "0.6.6"
40-
pre-commit = "^3.7.1"
41-
42-
43-
[tool.poetry.group.nbtools] # for running/converting notebooks
44-
optional = true
45-
[tool.poetry.group.nbtools.dependencies]
46-
nbformat = "^5.9.2"
47-
nbconvert = "^7.14.2"
48-
jupyter = "^1.0.0"
49-
matplotlib = "^3.0"
50-
nbsphinx = "^0.9.4"
51-
sphinx-immaterial = "^0.12.0"
52-
sphinx = [
53-
{ version = "^7.0.0", python = "<3.10" },
54-
{ version = "^8.0.0", python = ">=3.10" },
28+
[project.optional-dependencies]
29+
dev = [
30+
"pytest>=8.0.0,<9.0",
31+
"pytest-cov>=4.1.0,<5.0",
32+
"coverage>=7.4.1,<8.0",
33+
"ruff==0.6.6",
34+
"pre-commit>=3.7.1,<4.0",
5535
]
56-
sphinx-autodoc-typehints = [
57-
{ version = "^2.3.0", python = "<3.10" },
58-
{ version = "^2.4.0", python = ">=3.10" },
36+
nbtools = [
37+
"nbformat>=5.9.2,<6.0",
38+
"nbconvert>=7.14.2,<8.0",
39+
"jupyter>=1.0.0,<2.0",
40+
"matplotlib>=3.0,<4.0",
41+
"nbsphinx>=0.9.4,<1.0",
42+
"sphinx-immaterial>=0.12.0,<1.0",
43+
"sphinx>=7.0.0,<8.0; python_version<'3.10'",
44+
"sphinx>=8.0.0,<9.0; python_version>='3.10'",
45+
"sphinx-autodoc-typehints>=2.3.0,<3.0; python_version<'3.10'",
46+
"sphinx-autodoc-typehints>=2.4.0,<3.0; python_version>='3.10'",
5947
]
6048

49+
[tool.poetry]
50+
requires-poetry = ">=2.0"
51+
packages = [{ include = "bayes_opt" }]
6152

6253
[build-system]
6354
requires = ["poetry-core>=2.0"]

requirements-dev.txt

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
alabaster==1.0.0
2+
annotated-types==0.7.0
3+
anyio==4.9.0
4+
appdirs==1.4.4
5+
appnope==0.1.4
6+
argon2-cffi==25.1.0
7+
argon2-cffi-bindings==21.2.0
8+
arrow==1.3.0
9+
asttokens==3.0.0
10+
async-lru==2.0.5
11+
attrs==25.3.0
12+
babel==2.17.0
13+
beautifulsoup4==4.13.4
14+
bleach==6.2.0
15+
certifi==2025.7.9
16+
cffi==1.17.1
17+
cfgv==3.4.0
18+
charset-normalizer==3.4.2
19+
colorama==0.4.6
20+
comm==0.2.2
21+
contourpy==1.3.2
22+
coverage==7.9.2
23+
cycler==0.12.1
24+
debugpy==1.8.14
25+
decorator==5.2.1
26+
defusedxml==0.7.1
27+
distlib==0.3.9
28+
docutils==0.21.2
29+
executing==2.2.0
30+
fastjsonschema==2.21.1
31+
filelock==3.18.0
32+
fonttools==4.58.5
33+
fqdn==1.5.1
34+
h11==0.16.0
35+
httpcore==1.0.9
36+
httpx==0.28.1
37+
identify==2.6.12
38+
idna==3.10
39+
imagesize==1.4.1
40+
iniconfig==2.1.0
41+
ipykernel==6.29.5
42+
ipython==9.4.0
43+
ipython_pygments_lexers==1.1.1
44+
ipywidgets==8.1.7
45+
isoduration==20.11.0
46+
jedi==0.19.2
47+
Jinja2==3.1.6
48+
joblib==1.5.1
49+
json5==0.12.0
50+
jsonpointer==3.0.0
51+
jsonschema==4.24.0
52+
jsonschema-specifications==2025.4.1
53+
jupyter==1.1.1
54+
jupyter-console==6.6.3
55+
jupyter-events==0.12.0
56+
jupyter-lsp==2.2.5
57+
jupyter_client==8.6.3
58+
jupyter_core==5.8.1
59+
jupyter_server==2.16.0
60+
jupyter_server_terminals==0.5.3
61+
jupyterlab==4.4.4
62+
jupyterlab_pygments==0.3.0
63+
jupyterlab_server==2.27.3
64+
jupyterlab_widgets==3.0.15
65+
kiwisolver==1.4.8
66+
MarkupSafe==3.0.2
67+
matplotlib==3.10.3
68+
matplotlib-inline==0.1.7
69+
mistune==3.1.3
70+
nbclient==0.10.2
71+
nbconvert==7.16.6
72+
nbformat==5.10.4
73+
nbsphinx==0.9.7
74+
nest-asyncio==1.6.0
75+
nodeenv==1.9.1
76+
notebook==7.4.4
77+
notebook_shim==0.2.4
78+
numpy==2.3.1
79+
overrides==7.7.0
80+
packaging==25.0
81+
pandocfilters==1.5.1
82+
parso==0.8.4
83+
pexpect==4.9.0
84+
pillow==11.3.0
85+
platformdirs==4.3.8
86+
pluggy==1.6.0
87+
pre-commit==3.8.0
88+
prometheus_client==0.22.1
89+
prompt_toolkit==3.0.51
90+
psutil==7.0.0
91+
ptyprocess==0.7.0
92+
pure_eval==0.2.3
93+
pycparser==2.22
94+
pydantic==2.11.7
95+
pydantic-extra-types==2.10.5
96+
pydantic_core==2.33.2
97+
Pygments==2.19.2
98+
pyparsing==3.2.3
99+
pytest==8.4.1
100+
pytest-cov==4.1.0
101+
python-dateutil==2.9.0.post0
102+
python-json-logger==3.3.0
103+
PyYAML==6.0.2
104+
pyzmq==27.0.0
105+
referencing==0.36.2
106+
requests==2.32.4
107+
rfc3339-validator==0.1.4
108+
rfc3986-validator==0.1.1
109+
rpds-py==0.26.0
110+
ruff==0.6.6
111+
scikit-learn==1.7.0
112+
scipy==1.16.0
113+
Send2Trash==1.8.3
114+
setuptools==80.9.0
115+
six==1.17.0
116+
sniffio==1.3.1
117+
snowballstemmer==3.0.1
118+
soupsieve==2.7
119+
Sphinx==8.1.3
120+
sphinx-autodoc-typehints==2.5.0
121+
sphinx_immaterial==0.13.5
122+
sphinxcontrib-applehelp==2.0.0
123+
sphinxcontrib-devhelp==2.0.0
124+
sphinxcontrib-htmlhelp==2.1.0
125+
sphinxcontrib-jsmath==1.0.1
126+
sphinxcontrib-qthelp==2.0.0
127+
sphinxcontrib-serializinghtml==2.0.0
128+
stack-data==0.6.3
129+
terminado==0.18.1
130+
threadpoolctl==3.6.0
131+
tinycss2==1.4.0
132+
tornado==6.5.1
133+
traitlets==5.14.3
134+
types-python-dateutil==2.9.0.20250708
135+
typing-inspection==0.4.1
136+
typing_extensions==4.14.1
137+
uri-template==1.3.0
138+
urllib3==2.5.0
139+
virtualenv==20.31.2
140+
wcwidth==0.2.13
141+
webcolors==24.11.1
142+
webencodings==0.5.1
143+
websocket-client==1.8.0
144+
widgetsnbextension==4.0.14

requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
colorama==0.4.6
2+
joblib==1.5.1
3+
numpy==2.3.1
4+
scikit-learn==1.7.0
5+
scipy==1.16.0
6+
threadpoolctl==3.6.0

0 commit comments

Comments
 (0)