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

Fix build on mybinder.org #147

Closed
wants to merge 8 commits into from
Closed

Conversation

yuvipanda
Copy link
Contributor

@yuvipanda yuvipanda commented Jan 30, 2025

After a bunch of debugging, there were two primary issues:

  1. xeus-cling and friends causing mamba to fail to solve
  2. The mybinder.org memory limit being too low for the mamba solve even with xeus-cling removed.

I fixed (2) in jupyterhub/mybinder.org-deploy#3211, and (1) by temporarily commenting out xeus-cling in this repo. This would allow mybinder.org builds to resume, which I think makes it worthwhile. We should investigate why and fix this eventually though.

I also moved this to be based off a jupyter docker stacks base image, as I think that does make maintenance easier.

Reported in https://jupyter.zulipchat.com/#narrow/channel/469744-jupyterhub/topic/try.20mybinder.20jupyterleab.20demo.20broken

Copy link
Contributor

Binder 👈 Launch a Binder on branch yuvipanda/jupyterlab-demo/patch-1

@manics
Copy link

manics commented Jan 30, 2025

Could we add a workflow with https://github.com/jupyterhub/repo2docker-action/?tab=readme-ov-file#optional-inputs and NO_PUSH (or equivalent) to check the config in .binder config builds, as a precursor to testing on mybinder?

#- xtensor
#- xtensor-blas
#- xwidgets
- xleaflet
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you need to lose xleaflet and xeus-python, too, not sure.

yuvipanda added a commit to yuvipanda/mybinder.org-deploy that referenced this pull request Feb 8, 2025
Follow-up to jupyterhub#3204,
which failed because it removed the limit, which caused it to be
lower than the request. All the reasons given in that PR still apply.

Here I bump up the limit enough until the super popular
https://github.com/jupyterlab/jupyterlab-demo is able to build.
It's not a functionally super complex environment.yml, and even with
simplifications in jupyterlab/jupyterlab-demo#147,
it fails to build without the memory increase limit. As mentioned in
the other PR, jupyterhub/repo2docker#1402 will
get rid of this kind of limit anyway, so it's ok to raise this.
@yuvipanda yuvipanda changed the title Try to fix mybinder build Fix build on mybinder.org Feb 8, 2025
@yuvipanda
Copy link
Contributor Author

Closing in favor of the simpler #148

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