Skip to content

Fix gallery binder setup - #8016

Open
lesteve wants to merge 3 commits into
scikit-image:mainfrom
lesteve:fix-binder
Open

lesteve wants to merge 3 commits into
scikit-image:mainfrom
lesteve:fix-binder

Conversation

@lesteve

@lesteve lesteve commented Jan 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

Close #7975.

Late Christmas present 🎁, which you should definitely feel free to refuse if you don't think this is worth it 😉.

You can test that Binder works on my branch with the following link. I have added plotly and pooch in .binder/requirements.txt to fix this particular example but you may need more dependencies for other examples.

Binder has actually enjoyed some renaissance since beginning of 2025, see message from yuvipanda from February 2025. For a long time before, it not working very well, see my old comment for more details.

This is the equivalent of what was done in scikit-learn some time ago: scikit-learn/scikit-learn#30697 and scikit-learn/scikit-learn#30835.

If you are wondering how I bumped into this: I was curious about the JupyterLite setup #7644 and saw the linked issue about Binder being broken, and voila here I am 😉.

Checklist

Release note

For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.

Fix gallery binder setup

@agriyakhetarpal

Copy link
Copy Markdown
Contributor

Great to see Binder working again! 🥳

@github-actions

Copy link
Copy Markdown

Hello scikit-image core devs! There hasn't been any activity on this PR for more than 180 days. I have marked it as "dormant" to make it easy to find.

To our contributors, thank you for your contribution and apologies if this contribution fell through the cracks! Hopefully this ping will help bring some fresh attention to the review. If you need help, you can always reach out on our forum

If you think that this PR is no longer relevant, you may close it, or we may do it at some point (either way, it will be done manually). If you think the PR is valuable but you no longer have the bandwidth to update it, please let us know, so that someone can take it over. 🙏

@github-actions github-actions Bot added the 😴 Dormant No recent activity label Jul 12, 2026
@lesteve

lesteve commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

@lagru @stefanv is there a good reason this hasn't been reviewed (let alone merged 😅).

This seems like a straightforward fix that is used in scikit-learn to fix the Binder setup. I just double-checked and the example still works, see this Binder link. This is the output to give you some idea
image

This branch has not been deployed

No deployments
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.

Remove Binder from gallery?

2 participants