Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] Candidate Kepler-Jupyter v0.3.4 alpha3 #2588

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

lixun910
Copy link
Collaborator

Please help to test the release candidate: kepler-jupyter v0.3.4 alpha3. Thanks!

Screenshot 2024-07-17 at 2 26 43 PM

Copy link

netlify bot commented Jul 17, 2024

Deploy Preview for keplergl2 ready!

Name Link
🔨 Latest commit cfe4b8a
🔍 Latest deploy log https://app.netlify.com/sites/keplergl2/deploys/672c2e5559d3f800088fbb70
😎 Deploy Preview https://deploy-preview-2588--keplergl2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@lixun910
Copy link
Collaborator Author

Thanks, Ib!

@ilyabo Hi Ilya, can you help to test kepler-jupyter 0.3.4a3? I've noticed there are some conflicts of dependencies which can be ignored on my side (Mac and Ubuntu in dockers). However, I want to make sure it is working on others as well :) Thank you in advance!

@kopp
Copy link

kopp commented Oct 24, 2024

Hi @lixun910 , I wanted to take a peek into this pre-release and did on Ubuntu 20.04 with python3.10

uv pip install keplergl==v0.3.4a3

but after trying to display KeplerGl in jupyterlab I only ended up with

Error displaying widget: model not found

i.e. #2687 .

Can you share the packages you have installed so that it is working?

@lixun910
Copy link
Collaborator Author

@kopp Hi, I was using python 3.10 on my Macbook. I remember two things might cause the issues:

first is the jupyter and jupyter kernel: if you have many different versions of jupyter, the which jupyter will always point to the same jupyter even you are in different virtual environment. So I need to make sure I am running the jupyter with right kernel. You can use jupyter kernelspec list to check your kernel, and python -m ipykernel install --user --name=myenv to add your virtual env to jupyter kernel.

second is the notebook version, we set the notebook==6.0.1 for kepler.gl-jupyter. However, if you have a newer notebook version installed somewhere, the notebook==6.0.1 will not be installed even in a virtual environment. So I remember I have to downgrade it pip install --upgrade notebook==6.0.1.

I also tested on Google colabs with the default python setup, and it works as shown in the screenshot.

Let me know if this helps. Thanks!

(.venv) xun@xuns-mbp kepler.gl-test % jupyter --version
Selected Jupyter core packages...
IPython : 8.23.0
ipykernel : 6.29.4
ipywidgets : 7.8.1
jupyter_client : 8.6.1
jupyter_core : 5.7.2
jupyter_server : 2.14.0
jupyterlab : 4.1.6
nbclient : 0.10.0
nbconvert : 7.16.3
nbformat : 5.10.4
notebook : 6.0.1
qtconsole : 5.5.1
traitlets : 5.14.3

@zxweed
Copy link

zxweed commented Nov 2, 2024

Hi @lixun910, I see (by pipdeptree) that stable keplergl package requires the >=4.2.0 version of jupyterlab. I understood correctly that you forcibly installed jupyterlab version 4.1.6 and no "model not found" error occurs with it?

@lixun910
Copy link
Collaborator Author

lixun910 commented Nov 4, 2024

@zxweed Thanks for pointing this out! I didn't notice the version of jupyterlab is 4.1.6. I just did a quick test upgrading jupyterlab to 4.2.0, and it works as well. So, I think it is just the version of notebook requires to be 6.0.1

I will try to work on it to support notebook > 6.0.1 in another pr, which I think will be a better solution...

 % jupyter --version
Selected Jupyter core packages...
IPython          : 8.23.0
ipykernel        : 6.29.4
ipywidgets       : 7.8.1
jupyter_client   : 8.6.1
jupyter_core     : 5.7.2
jupyter_server   : 2.14.0
jupyterlab       : 4.2.0
nbclient         : 0.10.0
nbconvert        : 7.16.3
nbformat         : 5.10.4
notebook         : 6.0.1
qtconsole        : 5.5.1
traitlets        : 5.14.3

@lixun910
Copy link
Collaborator Author

lixun910 commented Nov 6, 2024

ref #1993 (comment)
ref #2545

@lixun910
Copy link
Collaborator Author

lixun910 commented Nov 7, 2024

kepler-jupyter v0.3.4 alpha4 (will be published soon)

  • Support ipywidgets > 8 and notebook > 6
  • Add Dockerfile under bindings/kepler.gl-jupyter to have a clean test environment
/kepler.gl# .venv/bin/jupyter --version
Selected Jupyter core packages...
IPython          : 8.29.0
ipykernel        : 6.29.5
ipywidgets       : 8.1.5
jupyter_client   : 8.6.3
jupyter_core     : 5.7.2
jupyter_server   : 2.14.2
jupyterlab       : 4.2.5
nbclient         : 0.10.0
nbconvert        : 7.16.4
nbformat         : 5.10.4
notebook         : 7.2.2
qtconsole        : not installed
traitlets        : 5.14.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants