Skip to content

Use a different tool to convert .py to .ipynb - #30697

Merged
lesteve merged 1 commit into
scikit-learn:mainfrom
yuvipanda:patch-1
Jan 22, 2025
Merged

lesteve merged 1 commit into
scikit-learn:mainfrom
yuvipanda:patch-1

Conversation

@yuvipanda

Copy link
Copy Markdown
Contributor

Following PyFstat/PyFstat#554 to see if this fixes the binder build

Following PyFstat/PyFstat#554 to see if this fixes the binder build
@github-actions

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 4b53310. Link to the linter CI: here

@yuvipanda

Copy link
Copy Markdown
Contributor Author

It did solve the issue on binder!

@lesteve

lesteve commented Jan 22, 2025

Copy link
Copy Markdown
Member

Nice thanks!

I think I saw it at one point and forgot about this. I guess not that many people are clicking on the Binder button and/or maybe they don't know where to complain 😓.

While you are here @yuvipanda, what is your quick take on the current Binder status? My personal feeling (not being a regular user), is that it less reliable compared to when Google was giving free credits. I mean don't get me wrong, it's great that Binder exists of course, and I have been very grateful in the past when I was using it as backup for scikit-learn tutorials and courses 🙏 ...

I have seen a few times some errors (especially on OVH, GESIS seemed more reliable, but not 100% sure) so you need to click a few times until you actually get a working JupyterLab environment 1, even when the image is already cached (Container image already present on machine).

Full disclosure: I have been putting some effort in using JupyterLite/Pyodide which is nice in some ways (no need for a cloud setup) and very surprising in other ways (it looks like normal Jupyter environment but when it breaks it's not easy to figure out what is going on).

Footnotes

  1. for example, someone recorded itself while following the scikit-learn MOOC and had to click a few times until the Binder actually works https://yout.be/3XMeS0aEFjw?feature=shared&t=1331 ↩

@lesteve
lesteve merged commit 8f2c1ca into scikit-learn:main Jan 22, 2025
@yuvipanda

Copy link
Copy Markdown
Contributor Author

@lesteve the short version is that I'm putting a lot of my personal time back into mybinder as of a few months ago, which I hope helps with some of these. We recently added a new bigger node with a very different methodology, sponsored by 2i2c: https://2i2c.org/blog/2025/binder-singlenode/. OVH is no longer here, but their loss has been more than offset by 2i2c. I'm also working with some other institutions to add more capacity.

So yes, I do think it has been unstable for a few years now. But I think and hope it will change radically from now! We have rebuilt the entire frontend now (a modern react app), upgraded the builder to use buildkit (jupyterhub/repo2docker#1402), and a host of other changes are coming. Apologies for all the issues in the past, and hopefully we'll get better now.

If you run into issues, please report them on jupyter.zulipchat.com. I monitor things there!

I also love jupyterlite, and have a 'binderlite' project somewhere in the back of my head...

@lesteve

lesteve commented Feb 17, 2025

Copy link
Copy Markdown
Member

@yuvipanda thanks a lot for the details and all the work you are doing for the ecosystem! Great to hear that Binder should be more stable in the future!

I also love jupyterlite, and have a 'binderlite' project somewhere in the back of my head...

Interesting, I would be curious to know more, don't hesitate to ping me in case you find the time to make progress on this!

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.

2 participants