From 6f2c5422eef6e9502a11b97ffc77719a15716e65 Mon Sep 17 00:00:00 2001 From: Marco Favorito Date: Mon, 27 Mar 2023 18:46:33 +0200 Subject: [PATCH] chore: upgrade ipywidgets version from 8.0.4 to 8.0.5 This change is required by the upgrade of ipywidgets. https://github.com/jupyter-widgets/ipywidgets/pull/3533 One of the changes in this new version is the removal of the dependency ipykernel, which we require to add it as explicit dependency. --- poetry.lock | 39 +++++++++++++++++++-------------------- pyproject.toml | 2 +- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/poetry.lock b/poetry.lock index 3c723d1b..d8b6d303 100644 --- a/poetry.lock +++ b/poetry.lock @@ -400,7 +400,7 @@ files = [ name = "cffi" version = "1.15.1" description = "Foreign Function Interface for Python calling C code." -category = "main" +category = "dev" optional = false python-versions = "*" files = [ @@ -617,7 +617,7 @@ files = [ name = "comm" version = "0.1.2" description = "Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc." -category = "main" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -918,7 +918,7 @@ files = [ name = "debugpy" version = "1.6.6" description = "An implementation of the Debug Adapter Protocol for Python" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1446,7 +1446,7 @@ test-musl = ["networkx (>=2.5)", "pytest (>=7.0.1)", "pytest-timeout (>=2.1.0)"] name = "importlib-metadata" version = "6.0.0" description = "Read metadata from Python packages" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1497,7 +1497,7 @@ files = [ name = "ipykernel" version = "6.21.3" description = "IPython Kernel for Jupyter" -category = "main" +category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1580,25 +1580,24 @@ files = [ [[package]] name = "ipywidgets" -version = "8.0.4" +version = "8.0.5" description = "Jupyter interactive widgets" category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "ipywidgets-8.0.4-py3-none-any.whl", hash = "sha256:ebb195e743b16c3947fe8827190fb87b4d00979c0fbf685afe4d2c4927059fa1"}, - {file = "ipywidgets-8.0.4.tar.gz", hash = "sha256:c0005a77a47d77889cafed892b58e33b4a2a96712154404c6548ec22272811ea"}, + {file = "ipywidgets-8.0.5-py3-none-any.whl", hash = "sha256:a6e5c0392f86207fae304688a670afb26b2fd819592cfc0812777c2fdf22dbad"}, + {file = "ipywidgets-8.0.5.tar.gz", hash = "sha256:89a1930b9ef255838571a2415cc4a15e824e4316b8f067805d1d03b98b6a8c5f"}, ] [package.dependencies] -ipykernel = ">=4.5.1" ipython = ">=6.1.0" jupyterlab-widgets = ">=3.0,<4.0" traitlets = ">=4.3.1" widgetsnbextension = ">=4.0,<5.0" [package.extras] -test = ["jsonschema", "pytest (>=3.6.0)", "pytest-cov", "pytz"] +test = ["ipykernel", "jsonschema", "pytest (>=3.6.0)", "pytest-cov", "pytz"] [[package]] name = "isoduration" @@ -1801,7 +1800,7 @@ qtconsole = "*" name = "jupyter-client" version = "8.0.3" description = "Jupyter protocol implementation and client libraries" -category = "main" +category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1850,7 +1849,7 @@ test = ["flaky", "pexpect", "pytest"] name = "jupyter-core" version = "5.3.0" description = "Jupyter core package. A base package on which Jupyter projects rely." -category = "main" +category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -2853,7 +2852,7 @@ scipy = "*" name = "nest-asyncio" version = "1.5.6" description = "Patch asyncio to allow nested event loops" -category = "main" +category = "dev" optional = false python-versions = ">=3.5" files = [ @@ -3332,7 +3331,7 @@ files = [ name = "platformdirs" version = "3.1.1" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "main" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -3394,7 +3393,7 @@ wcwidth = "*" name = "psutil" version = "5.9.4" description = "Cross-platform lib for process and system monitoring in Python." -category = "main" +category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ @@ -3472,7 +3471,7 @@ files = [ name = "pycparser" version = "2.21" description = "C parser in Python" -category = "main" +category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ @@ -3851,7 +3850,7 @@ files = [ name = "pywin32" version = "305" description = "Python for Window Extensions" -category = "main" +category = "dev" optional = false python-versions = "*" files = [ @@ -3968,7 +3967,7 @@ pyyaml = "*" name = "pyzmq" version = "25.0.1" description = "Python bindings for 0MQ" -category = "main" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -4962,7 +4961,7 @@ files = [ name = "tornado" version = "6.2" description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed." -category = "main" +category = "dev" optional = false python-versions = ">= 3.7" files = [ @@ -5412,4 +5411,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.11" -content-hash = "f93afe542963751c007963960fdda77db21bedca2c49ee5c7ff22054f679f186" +content-hash = "652ac4225f24836e675d2ca0d9a0d8163cb97a660b12591aad4dad7baf5f57b5" diff --git a/pyproject.toml b/pyproject.toml index e8a32d80..26c79aa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ classifiers = [ [tool.poetry.dependencies] python = ">=3.8,<3.11" GPy = {git = "https://github.com/SheffieldML/GPy.git", rev = "f63ed48"} -ipywidgets = "^8.0.4" +ipywidgets = "^8.0.5" matplotlib = "^3.7.1" numpy = ">=1.23.3,<1.24.0" pandas = "^1.5.3"