Skip to content

Cannot use xeus-octave Binder environment to load notebooks in other GitHub reposΒ #116

@acp29

Description

@acp29
  • xeus-octave version: main
  • Operating System: MacOS Sonoma 14.3.1 (23D60)

Description

I would like to use nbgitpuller link generator to build the environment (or load the image if it already exists) directly from your xeus-octave Binder and load jupyter notebooks on one of my own GitHub repositories
The problem is that I can't do this because you don't have nbgitpuller extension installed in your environment. I can tell because when I open a new notebook with a python 3 kernel and enter the following commands...

import os
os.system('jupyter serverextension list')

...nbgitpuller enabled is not listed under config dir: /srv/conda/envs/notebook/etc/jupyter.

A simple solution (I think, well it worked for me with my own binder) would be to add nbgitpuller to your dependencies in the xeus-octave binder environment (xeus-octave/.binder/environment.yml ?)

dependencies:
  - nbgitpuller

Doing this would be a win-win because the more users that access their Jupyter notebooks through Binder using your repo's environment will help to maintain any existing images for faster loading of the xeus-octave Binder.

I'm happy to fork your github repo and create a pull request to get this done but thought I'd raise it as an issue since I have not contributed to xeus-octave (although I maintain and develop some packages for GNU Octave)

I should add though that I'm fairly new to this Binder business so if I'm totally wrong about all this then please educate me 😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions