-
Notifications
You must be signed in to change notification settings - Fork 25
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
Avoid pip install in every notebook in one project? #48
Comments
Maybe the simplest way for now would be to use the xeus python kernel? https://github.com/jupyterlite/xeus-python-kernel Defining dependencies in the xeus python kernel is more natural and familiar (via an |
Or we again consider #27, so that a deployer can choose which packages can be auto-installed on import on this kernel. |
I've tried to use the xeus kernel for ipyreact, but that throws an CI error:
|
It looks like ipyreact is not available on conda-forge, could be good to have it though ! @maartenbreddels friendly ping :D |
Ah looks like it's not packaged for conda. We should open a PR on https://github.com/conda-forge/staged-recipes to add it. |
I suffer from conda-forge packaging fatigue :) |
What is the reason conda-forge packages work, but pip packages don't? |
They will eventually be supported: jupyterlite/xeus-python-kernel#102 |
😅 if it's not a pure Python package, can you please make a PR to emscripten-forge as well? (kidding). |
Well often you can generate most of the recipe with |
Yes, but it still involves manual steps, especially when requirements/pinning changes. I've streamlined so much of the release process in all my projects, but also supporting conda-forge just sucks the energy out of me for letting me do things manually that feel unnecessary. I like conda/mamba and conda-forge a lot, but the duplicate work that is not automated (but could) just feels very unproductive. |
Veering more wildly off-topic, # /conda-forge.yml
bot:
automerge: true
inspection: update-all # update recipe using all methods
The grayksull+ stuff will not work with the more recent "give me a version now" supported by the But back to this issue about this kernel: some compelling reasons to continue to support this kernel, and adding more package management features that work seamlessly with the upstream
|
In order to run a notebook from the ipyreact JupyterLite demo at https://widgetti.github.io/ipyreact,
it requires the line
%pip install -q ipyreact
.This is currently needed in every notebook, and I think it would be great if this line would only be needed in one notebook, or even not at all.
Therefore, my question: Is there yet a way to avoid having this line in every notebook using the pyodide kernel?
The text was updated successfully, but these errors were encountered: