From 03c832e6abf7ae017f4d3eef542658681e3cfa0a Mon Sep 17 00:00:00 2001 From: Michael Aaron Date: Tue, 26 Nov 2024 09:30:45 -0700 Subject: [PATCH] Upgrade Ipywidgets to 8.1.5 (#1440) I think this will break qgrid fwiw, unsure how often that is used. --------- Co-authored-by: Johnny Chavez <64660690+calderjo@users.noreply.github.com> Co-authored-by: Jonathan Calderon Chavez --- Dockerfile.tmpl | 4 +--- tests/test_qgrid.py | 16 ---------------- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 tests/test_qgrid.py diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index ad6842ea..f3193876 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -374,8 +374,7 @@ RUN pip install bleach \ ipykernel \ ipython \ ipython-genutils \ - # Fix qgrid by pinning ipywidgets https://github.com/quantopian/qgrid/issues/376 - ipywidgets==7.7.1 \ + ipywidgets==8.1.5 \ isoweek \ jedi \ jsonschema \ @@ -464,7 +463,6 @@ RUN pip install wandb \ rm -rf /opt/conda/lib/python3.10/site-packages/numpy* && \ pip install "numpy==1.26.4" && \ pip install pytorch-ignite \ - qgrid \ bqplot \ earthengine-api \ transformers \ diff --git a/tests/test_qgrid.py b/tests/test_qgrid.py deleted file mode 100644 index e97ef2a1..00000000 --- a/tests/test_qgrid.py +++ /dev/null @@ -1,16 +0,0 @@ -import unittest - -import numpy as np -import pandas as pd - -from qgrid import QgridWidget - - -class TestQgrid(unittest.TestCase): - def test_nans(self): - df = pd.DataFrame([(pd.Timestamp('2017-02-02'), np.nan), - (4, 2), - ('foo', 'bar')]) - view = QgridWidget(df=df) - - self.assertIsNotNone(view.get_changed_df())