From 783ab9136cc9d46ffd6eabe44b45f4119005929d Mon Sep 17 00:00:00 2001 From: till-m <36440677+till-m@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:03:33 +0200 Subject: [PATCH] Prepare for release: bump version, tighten dependency constraints (#482) * bump version, tighten dependency constraints * fix error caused by matplotlib API change --- examples/visualization.ipynb | 2 +- pyproject.toml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/visualization.ipynb b/examples/visualization.ipynb index b64dc1d1a..7a16568c9 100644 --- a/examples/visualization.ipynb +++ b/examples/visualization.ipynb @@ -140,7 +140,7 @@ " steps = len(optimizer.space)\n", " fig.suptitle(\n", " 'Gaussian Process and Utility Function After {} Steps'.format(steps),\n", - " fontdict={'size':30}\n", + " fontsize=30\n", " )\n", " \n", " gs = gridspec.GridSpec(2, 1, height_ratios=[3, 1]) \n", diff --git a/pyproject.toml b/pyproject.toml index 7e2b38fa4..537a6ea5e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bayesian-optimization" -version = "1.4.3" +version = "1.5.0" description = "Bayesian Optimization package" authors = ["Fernando Nogueira"] license = "MIT" @@ -9,13 +9,12 @@ packages = [{include = "bayes_opt"}] [tool.poetry.dependencies] python = "^3.9" -scikit-learn = ">=1.0.0" -numpy = ">=1.9.0" -scipy = ">=1.0.0" +scikit-learn = "^1.0.0" +numpy = "^1.9.0" +scipy = "^1.0.0" colorama = "^0.4.6" - [tool.poetry.group.dev] # for testing/developing optional = true [tool.poetry.group.dev.dependencies]