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

layers/meta-opentrons: fix jupyter install in kirkstone #127

Merged
merged 12 commits into from
Jan 31, 2024
Merged

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Jan 26, 2024

For some reason, meta-jupyter on kirkstone has a weird package architecture that does not properly represent jupyter's dependencies. They seem to want you to install a packagegroup instead of the jupyter meta-package, since the meta-package now doesn't actually root a tree of all jupyter's deps. The problem is that (a) the package group wants pydot which needs graphviz from meta-openembedded which seems straight up broken and (b) even if you skip that it makes the image fail for reasons I don't fully understand.

Instead, we can just iterate on adding deps exclusively to our recipe that also depends on the jupyter metapackage until the thing can actually run notebooks, and fix up some other recipe and unit issues while we're at it.

This pr is successful if a build lets you run python commands in a notebook, and also pop a terminal and run terminal commands.

This hopefully should be the last step to getting everything working and
sane. We don't need the packagegroup (something was breaking everything
anyway) and we need to fix up a couple things in the install process so
the unit goes in the same place as everything else, actually runs
jupyter directly so journald logging tags it properly, and we get the
user package path.
@sfoster1 sfoster1 changed the title layers/meta-opentrons: jupyter has a packagegroup now layers/meta-opentrons: fix jupyter install in kirkstone Jan 31, 2024
@sfoster1 sfoster1 marked this pull request as ready for review January 31, 2024 17:55
@sfoster1 sfoster1 requested a review from a team January 31, 2024 17:55
Copy link
Contributor

@Laura-Danielle Laura-Danielle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exciting stuff

@sfoster1 sfoster1 merged commit d3b8da0 into main Jan 31, 2024
3 checks passed
@sfoster1 sfoster1 deleted the fix-jupyter branch January 31, 2024 20:24
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.

3 participants