quantopian / qgrid

An interactive grid for sorting, filtering, and editing DataFrames in Jupyter notebooks
Apache License 2.0
3.03k stars 424 forks source link

qgrid incompatible with ipywidgets==8.0.0a6 due to decorator usage #367

Closed shadiakiki1986 closed 2 years ago

shadiakiki1986 commented 2 years ago

Environment

qgrid: 1.3.1, ipywidgets 8.0.0a6

N/A

Description of Issue

import qgrid to work

import qgrid threw an error in qgrid/grid.py line 524

@widgets.register() <--- register() missing 1 required positional argument: 'widget'

Reproduction Steps

  1. pip3 install ipywidgets==8.0.0a6
  2. pip3 install qgrid
  3. import qgrid in python 3.9 ...

What steps have you taken to resolve this already?

None

Anything else?

No

shadiakiki1986 commented 2 years ago

Solved by #331