13 buildPythonPackage rec {
19 inherit pname version;
20 hash = "sha256-/or1tQgzCE3AtqJlzRrHuDfAPA+FIRUBY1YNzneNcRw=";
24 # Fixes compatibility of qgrid with ipywidgets >= 8.0.0
25 # See https://github.com/quantopian/qgrid/pull/331
27 url = "https://github.com/quantopian/qgrid/pull/331/commits/8cc50d5117d4208a9dd672418021c59898e2d1b2.patch";
28 hash = "sha256-+NLz4yBUGUXKyukPVE4PehenPzjnfljR5RAX7CEtpV4=";
33 substituteInPlace qgrid/grid.py \
34 --replace-fail "from distutils.version import LooseVersion" "from looseversion import LooseVersion"
44 nativeCheckInputs = [ pytestCheckHook ];
46 # Those tests are also failing upstream
49 "test_edit_multi_index_df"
51 "test_period_object_column"
52 # probably incompatible with pandas>=2.1
56 pythonImportsCheck = [ "qgrid" ];
59 description = "Interactive grid for sorting, filtering, and editing DataFrames in Jupyter notebooks";
60 homepage = "https://github.com/quantopian/qgrid";
61 license = lib.licenses.asl20;
62 maintainers = with lib.maintainers; [ GaetanLepage ];