Allow for multiple, different dependencies per repository
See original GitHub issueHi,
Maybe this is already resolved but I can see it.
Simple use case: I have a repo with 2 notebooks, the first one with a very simple dependency and a second with a lot of heavy dependencies. I would like to define a specific environment for each notebook without having to create independent repositories.
For example, the following repo:
.
├── binder
│ ├── requirements_abc.txt
│ └── Dockerfile_def
├── notebooks
│ ├── abc.ipynb
│ └── def.ipynb
└── readme.txt
The actual url is:
https://mybinder.org/v2/<provider-name>/<org-name>/<repo-name>/<branch|commit|tag>?filepath=<path/to/notebook.ipynb>
And I (from a user perspective) would like something like:
https://mybinder.org/v2/<provider-name>/<org-name>/<repo-name>/<branch|commit|tag>?filepath=<path/to/notebook.ipynb>&dependencies=<binder/dependencies_file>
Maybe this could be achieved using tags and/or commits but this will require to overwrite the dependencies file on each new notebook commit.
Another workaround could be to use separate gists (#306) for each notebook and dependency file.
I don’t know if this make sense.
Thanks in advance.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Allow for multiple, different dependencies per repository
I think your best bet is to try and install a list of dependencies you'll conceivably need for most posts. Binder will turn...
Read more >How does git work with multiple projects/dependencies?
Elegant way: Create a repository for each project and then put all repositories into a master repository. Save this answer.
Read more >Guide to using Multiple Repositories - Apache Maven
The first way is to specify in a POM which repositories you want to use. That is supported both inside and outside of...
Read more >Multiple repositories with dependencies : r/git - Reddit
Submodules are the go-to way in Git of having one repo include code from another. A common setup is to have a "parent"...
Read more >Using multiple Git repositories instead of a single one ...
Thus, if you want to import a CVS repository with several modules in git, you better create a repository per module, especially if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @rbavery, would you mind posting this on the Discourse forum instead? https://discourse.jupyter.org/
There’s a wider potential audience who may be interested in the pros and cons. All Jupyter projects are community projects, and if enough of the community are interested the decision here may change, or we might find an alternative way to achieve what you want.
Yesterday, before reading your answer, I was thinking this could be a practical hack for our use case. Thanks for confirming it 😄
Thanks for the constructive feedback.