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

Integrate with napari/pins #60

Open
jaimergp opened this issue Jun 18, 2024 · 2 comments
Open

Integrate with napari/pins #60

jaimergp opened this issue Jun 18, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jaimergp
Copy link
Contributor

jaimergp commented Jun 18, 2024

napari/pins will provide a subset of conda-forge curated for a painless experience with the napari plugin ecosystem. When that's ready, we need to integrate it with the plugin-manager / installer creation.

This should also cover the constraints files we would end up serving in napari.org/pins for PyPI.

@jaimergp
Copy link
Contributor Author

jaimergp commented Jun 20, 2024

Current status:

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

If this is ever implemented in the napari-plugin-manager, please take a look at #62. The idea is that we don't hardcode the pins in the code of the plugin manager, but that each napari version series has its own conda subchannel in napari/pins. The solver constraints are hence applied to the subchannel, which builds a subset of conda-forge with only packages that satisfy such constraints. The plugin manager would pick the relevant subchannel according to the host napari version, and solve plugins using only that.

That's effectively like a "server-side" constraint set. This has the advantage of not tying constraints to plugin manager releases, and can be controlled independently for all users, whether they update or not.

We didn't have time to finish the feature but the infrastructure is there and relatively straightforward to maintain.

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

Successfully merging a pull request may close this issue.

2 participants