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

Modify explore-notebooks-and-manage-dependencies.md to make it specific to tutorial [meteor] #218

Closed
2 tasks
oindrillac opened this issue Aug 4, 2021 · 13 comments
Assignees

Comments

@oindrillac
Copy link
Contributor

In the Explore-notebook document
users are asked to leave the project to learn about a tool. There should be instructions for this tutorial specific for dependency and overlays use. The instructions are not clear about how to run the notebooks.

Acceptance Criteria:

  • Make dependency management instructions specific to tutorial
  • Add instructions on how to run notebooks eg: any env variables that need to be configured
@oindrillac
Copy link
Contributor Author

/assign @oindrillac

@pacospace
Copy link

pacospace commented Aug 6, 2021

In the Explore-notebook document
users are asked to leave the project to learn about a tool. There should be instructions for this tutorial specific for dependency and overlays use. The instructions are not clear about how to run the notebooks.

Acceptance Criteria:

  • Make dependency management instructions specific to tutorial
  • Add instructions on how to run notebooks eg: any env variables that need to be configured

The new release v0.10.0 of jupyterlab-requirements will have jupyter magic commands: %horus, no need to use UI for dependency management, everything will be possible from cells: https://github.com/thoth-station/jupyterlab-requirements#horus-magic-command, should we modify the notebook with this in mind?

We could have one cell %horus check to show all things related to dependencies are there, %horus show that can show the dependencies present in notebook metadata, and %horus lock to set the kernel with the dependencies. All done from the cells.

wdyt?

I will create a demo of v0.10.0 after the release. We already introduced a CLI for automatic creation of kernels from notebook dependencies for Meteor: https://www.youtube.com/watch?v=fW0YKugL26g (AICoE/meteor#35)

@oindrillac
Copy link
Contributor Author

that is great @pacospace! we should definitely modify the tutorial to use horus. Is this already available on operate first JupyterHub? I'm unable to test it on JH due to the ongoing networking issues.

@pacospace
Copy link

pacospace commented Aug 9, 2021

that is great @pacospace! we should definitely modify the tutorial to use horus. Is this already available on operate first JupyterHub?

We will make it available soon! Waiting for the release of kebechet to succeed, then we will update all base images :)

I'm unable to test it on JH due to the ongoing networking issues.

@pacospace
Copy link

Magic commands released :D and recoridng available: https://www.youtube.com/watch?v=FjVxNTXO70I&t=149s

@oindrillac oindrillac changed the title Modify explore-notebooks-and-manage-dependencies.md to make it specific to tutorial Modify explore-notebooks-and-manage-dependencies.md to make it specific to tutorial [meteor] Aug 11, 2021
@pacospace
Copy link

new image is available in JH on Operate First.

@pacospace
Copy link

Depends-On: thoth-station/jupyterlab-requirements#385

@oindrillac
Copy link
Contributor Author

Thanks @pacospace! So it seems like currently, the availability of horus magic commands on jupyterhub is blocked by this msm1089/ipynbname#8?
In the mean time, shall we update the instructions to use the horus command line to manage dependencies?

@pacospace
Copy link

Thanks @pacospace! So it seems like currently, the availability of horus magic commands on jupyterhub is blocked by this msm1089/ipynbname#8?
In the mean time, shall we update the instructions to use the horus command line to manage dependencies?

We could but give some some days to find a solution first that works on jupyterhub, not sure when that package will be updated to be honest :/

@pacospace
Copy link

horus problem was solved and jupyterlab-requirements v0.10.8 has all fixes.

Currently waiting for the base image to be released: thoth-station/s2i-minimal-notebook#89

@pacospace
Copy link

pacospace commented Sep 2, 2021

available in https://quay.io/repository/thoth-station/s2i-elyra-custom-notebook?tab=tags v0.3.3. Tested with Meteor.

Screenshot from 2021-09-02 10-04-25

The image is already updated in the tutorial:

base-image: "quay.io/thoth-station/s2i-elyra-custom-notebook:v0.3.3"
so when spawning the image on Operate First, dependencies can be managed with horus.

Is the new description in https://github.com/AICoE/elyra-aidevsecops-tutorial/blob/master/docs/source/explore-notebooks-and-manage-dependencies.md enough to close this issue?

@pacospace
Copy link

@oindrillac what do we miss for this issue?

@oindrillac
Copy link
Contributor Author

thanks @pacospace. we can close this issue

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

No branches or pull requests

2 participants