From cdaaffdcdda0e8ae9b658b773817ef4d79e9d625 Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Tue, 21 Mar 2023 14:31:19 +0200 Subject: [PATCH 1/3] FIX(deps,#9) model unregistered with ipywidgets-8+ > as reported in https://github.com/JohnOmernik/qgrid/issues/9. --- README.md | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5c4d53..78ab8fb 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ At this point, it worked for me with: - Python 3.9 - JupyterLab 3.2.1 -- ipywidgets 7.6.5 +- ipywidgets 7.6.5 <8 Note: I did not require Node JS to get this working, just the commands above made it work as I prebuilt the extension. diff --git a/requirements.txt b/requirements.txt index c94ac90..10a2051 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ notebook>=4.0.0 pandas>=0.18.0 -ipywidgets>=7.0.0 +ipywidgets>=7,<8 From f22e99ad2d75fe621c6b7fc7008cdb18317c8002 Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Tue, 21 Mar 2023 15:11:48 +0200 Subject: [PATCH 2/3] fix(build) +pyproject.toml to pip install git+https --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..019b0d8 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +# Minimum requirements for the build system to execute. +requires = ["setuptools", "wheel"] # PEP 508 specifications. From c25e7eb5b3fd295618e23359b2dedd183ed5f06c Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Tue, 21 Mar 2023 14:47:37 +0200 Subject: [PATCH 3/3] doc(readme) install directly from github > where the project is hosted. --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78ab8fb..6d405e0 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,15 @@ Thanks! ## Install --------- -- ` git clone https://github.com/johnomernik/qgrid` +In one command: + +`pip install git+https://github.com/JohnOmernik/qgrid https://github.com/JohnOmernik/qgrid/raw/main/qgrid2-1.1.3-py3-none-any.whl` + +..or install from sources (in develop mode with `-e`): + +- `git clone https://github.com/johnomernik/qgrid --depth=1` - `cd qgrid` -- `python setup.py install` +- `pip install -e .` - `pip install qgrid2-1.1.3-py3-none-any.whl` - `cd ..`