-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade poetry2.0 & apply pep621 (#545)
* chore: upgrade poetry2.0 & apply pep621 * fix: replace poetry action(not support 2.0) * fix: exclude one matrix * chore: split numpy deps * fix: numpy constraints * fix: install root * chore: use install-poetry
- Loading branch information
1 parent
dc6f251
commit 232f9d9
Showing
4 changed files
with
53 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,36 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "bayesian-optimization" | ||
version = "3.0.0b1" | ||
description = "Bayesian Optimization package" | ||
authors = ["Fernando Nogueira"] | ||
license = "MIT" | ||
authors = [{ name = "Fernando Nogueira", email = "[email protected]" }] | ||
license = { file = "LICENSE" } | ||
readme = "README.md" | ||
packages = [{include = "bayes_opt"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
scikit-learn = "^1.0.0" | ||
numpy = ">=1.25" | ||
scipy = [ | ||
{version = "^1.0.0", python = "<3.13"}, | ||
{version = "^1.14.1", python = ">=3.13"} | ||
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", | ||
] | ||
colorama = "^0.4.6" | ||
|
||
[tool.poetry] | ||
requires-poetry = ">=2.0" | ||
packages = [{ include = "bayes_opt" }] | ||
|
||
|
||
[tool.poetry.group.dev] # for testing/developing | ||
[tool.poetry.group.dev] # for testing/developing | ||
optional = true | ||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^8.0.0" | ||
|
@@ -28,7 +40,7 @@ ruff = "0.6.6" | |
pre-commit = "^3.7.1" | ||
|
||
|
||
[tool.poetry.group.nbtools] # for running/converting notebooks | ||
[tool.poetry.group.nbtools] # for running/converting notebooks | ||
optional = true | ||
[tool.poetry.group.nbtools.dependencies] | ||
nbformat = "^5.9.2" | ||
|
@@ -38,17 +50,17 @@ 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"} | ||
{ 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"} | ||
{ version = "^2.3.0", python = "<3.10" }, | ||
{ version = "^2.4.0", python = ">=3.10" }, | ||
] | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
requires = ["poetry-core>=2.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.coverage.report] | ||
|