Skip to content
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

Allow customization of conda channels in use #78

Open
jaimergp opened this issue Jul 19, 2024 · 8 comments
Open

Allow customization of conda channels in use #78

jaimergp opened this issue Jul 19, 2024 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@jaimergp
Copy link
Contributor

jaimergp commented Jul 19, 2024

One request I would like to add.

  • The developer defines the channels (other than conda-forge ) proposed for the plugin, and the GUI allows the user to activate those channels with a single click when they install it.

This is very useful for plugins that rely on very important but released libraries in their own channel, such as pytorch, for example.

Originally posted by @hiroalchem in #14 (comment)

@jaimergp jaimergp added the enhancement New feature or request label Jul 19, 2024
@jaimergp
Copy link
Contributor Author

@hiroalchem question, is your request gear towards the lineedit in the bottom of the dialog where you can type any package or drag and drop a tarball from the filesystem?

Do you mean to add extra channel besides conda-forge, is the case for plugins in the napari plugin ecosystem that they need extra channels besides conda forge?

Thanks!

Originally posted by @goanpeca in #14 (comment)

@jaimergp jaimergp mentioned this issue Jul 19, 2024
12 tasks
@goanpeca
Copy link
Contributor

Haven't heard from @hiroalchem, so I am not sure I follow. Is this about adding extra channels that will be added globally to any conda install, or locally (per package item) when installing something?

Thoughts @jaimergp ?

@goanpeca goanpeca self-assigned this Jul 19, 2024
@jaimergp
Copy link
Contributor Author

I think they'd like to obtain plugins for non-conda-forge channels? We currently feed it from the npe2api, so I guess they'll need to supply additional endpoints with the same JSON payloads. This is not urgent or even required, but I created the issue so it wouldn't get lost when closing the other meta issue.

@goanpeca
Copy link
Contributor

goanpeca commented Jul 19, 2024

We currently feed it from the npe2api, so I guess they'll need to supply additional endpoints with the same JSON payloads.

Indeed, since that is a static site, I don't see this happening soonish :-|

@psobolewskiPhD
Copy link
Member

psobolewskiPhD commented Jul 20, 2024

I don't think it would be plugins in other channels, but rather plugins with dependencies in other channels? like -c nvidia or something?
(bad example, i know they've moved into conda-forge)

@jaimergp
Copy link
Contributor Author

I feel that's only for very specific packages (e.g. pytorch on Windows, etc), and not a widespread need. As in, this is likely going to cause more issues that it solves. I would be ok with a very specific setting like "Obtain PyTorch from -c pytorch on Windows". That said, I think this particular example will be soon gone thanks to conda-forge/pytorch-cpu-feedstock#231

@hiroalchem
Copy link

My original post was mainly about PyTorch, particularly how to make it easier for users to install it when they want to use a GPU.

@jaimergp
Copy link
Contributor Author

If it's about pytorch, then I have good news, conda-forge might have it for Windows soon. Track this PR: conda-forge/pytorch-cpu-feedstock#231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants