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

✨ Build JupyterLab image #4607

Open
6 tasks
Tracked by #1915
michaeljcollinsuk opened this issue Jul 1, 2024 · 11 comments
Open
6 tasks
Tracked by #1915

✨ Build JupyterLab image #4607

michaeljcollinsuk opened this issue Jul 1, 2024 · 11 comments

Comments

@michaeljcollinsuk
Copy link
Contributor

michaeljcollinsuk commented Jul 1, 2024

User Story

As an Analytical Platform engineer
I want to release one single image of JupyterLab that covers functionality from Jupyter's all-spark and datascience
So that users have one Jupyter to use and we have one Jupyter to support

Value / Purpose

We currently offer two variants of Jupyter Notebook (all-spark and datascience) with varying packages layered on top, we are also running v3.x release of these which EOL'd in May 24 (https://blog.jupyter.org/jupyterlab-3-end-of-maintenance-879778927db2)

We want to offer a minimal JupyterLab image, based on the Analytical Platform Cloud Development Environment Base Image, for users of the Analytical Platform.

Useful Contacts

@jacobwoffenden @Gary-H9

User Types

Analytical Platform engineering

Proposal

Build a JupyterLab offering from scratch like we do for Visual Studio Code, allowing us to understand and control the entire offering.

Subject to user research this image may need to combine the functionality of Jupyter's all-spark and datascience

Definition of Done

  • Build image that provides package/library parity with all-spark and datascience
  • Create a restricted release within prod environment for us to test
  • Private beta?
  • Make the release generally available
  • Create a deprecation plan for Jupyter Lab 3 images
  • Send comms to users about the upgrade
@julialawrence
Copy link
Contributor

#4165

@julialawrence
Copy link
Contributor

Jacob has a working prototype for this.

@tom-webber
Copy link
Contributor

tom-webber commented Jul 29, 2024

@YvanMOJdigital YvanMOJdigital moved this from 🚫 Blocked to 🚀 In Progress in Analytical Platform Aug 29, 2024
@Gary-H9
Copy link
Contributor

Gary-H9 commented Sep 4, 2024

The approach outlined in the ticket above is no longer the approach that will be taken in this work.

The new approach is (outlined in this ticket) to build a basic JupyterLab image which (pending user research) we add required packages to, or rely on users to setup their applications to install packages.

The new image relies on the AP Cloud Development Base Image which includes Python 3.12 and Conda.

I am going to investigate the datascience and all-spark notebooks to better understand what packages may be required from the users and if we can install them or if we can instruct them on how to install them.

@Gary-H9
Copy link
Contributor

Gary-H9 commented Sep 4, 2024

Updated the description of this issue to match the work underway.

Created a Miro board describing the layering of the images. This can be expanded upon / used to explain our desire for this move to the users (if needed). This can also be used in the RStudio work.

On the presumption that users will ask for this as part of the user research, I successfully managed to install the R kernel onto the existing jupyterlab build. I'll convert this to be done programmatically and create a branch.

🚧 Testing done in this branch. It seems that installing via conda is the cleanest method to have the R kernel appear in the JupyterLab launcher. Bizarelly this downgrades R from 4.4.1 to 4.4.0. As before, it depends on UR if this is needed or not, we can simply provide some instructions based on this to the users, if desired.

@Gary-H9 Gary-H9 moved this from 🚀 In Progress to 🚫 Blocked in Analytical Platform Sep 5, 2024
@Gary-H9
Copy link
Contributor

Gary-H9 commented Sep 16, 2024

Blocked by User Research.

@Gary-H9
Copy link
Contributor

Gary-H9 commented Nov 4, 2024

This was referenced Nov 4, 2024
@jacobwoffenden
Copy link
Member

Moving to blocked while we figure out a rollout plan

@Gary-H9
Copy link
Contributor

Gary-H9 commented Nov 6, 2024

Created this PR to be merged on agreement of our release schedule.

@Gary-H9
Copy link
Contributor

Gary-H9 commented Nov 11, 2024

nbstripout merged.

@jacobwoffenden jacobwoffenden changed the title ✨ Build JupyterLab Combined image ✨ Build JupyterLab image Nov 14, 2024
@jacobwoffenden
Copy link
Member

Moving to backlog, will be picked in 2025

@jacobwoffenden jacobwoffenden moved this from 🚫 Blocked to 👀 TODO in Analytical Platform Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 TODO
Development

No branches or pull requests

5 participants