napari / packaging

4 stars 7 forks source link

Napari Bundled App [Mac ARM build] interface bug #145

Open zain-sohail opened 1 month ago

zain-sohail commented 1 month ago

🐛 Bug Report

I used the latest available build [0.4.19]. The Install by name/url field is missing in the build, whereas if I install with python it is showing.

image

But the main reason I was looking for that field was due to not being able to install napari-skimage.

image

This problem only exists in the app.

💡 Steps to Reproduce

Reproducible by opening the Install/Uninstall plugins window.

💡 Expected Behavior

No response

🌎 Environment

image

💡 Additional Context

No response

psobolewskiPhD commented 1 month ago

Could you clarify that you are referring to the bundle app: https://napari.org/stable/tutorials/fundamentals/installation.html#install-as-a-bundled-app

If so, the lack of napari-skimage is likely due to the fact that the bundled app installs from conda-forge and not pypi. So until that plugin is on conda-forge it will not be installable in the bundled app via the GUI.

I am puzzled why the path option is gone, this could be also related to the use of conda for installing. I will transfer this issue to the bundled app repo.

psobolewskiPhD commented 1 month ago

@jaimergp is the lack of the by name/url field a bug or is it a workaround related to the conda installer? Edit: and will this become moot with the new plugin manager: https://github.com/napari/napari-plugin-manager

zain-sohail commented 1 month ago

Could you clarify that you are referring to the bundle app: https://napari.org/stable/tutorials/fundamentals/installation.html#install-as-a-bundled-app

Yes indeed that's what I refer to.

If so, the lack of napari-skimage is likely due to the fact that the bundled app installs from conda-forge and not pypi. So until that plugin is on conda-forge it will not be installable in the bundled app via the GUI.

Is there no way to install from Pypi with the bundled app?

I am puzzled why the path option is gone, this could be also related to the use of conda for installing. I will transfer this issue to the bundled app repo.

Thanks!

psobolewskiPhD commented 1 month ago

Is there no way to install from Pypi with the bundled app?

There is no supported way. I can think of a way of doing it, but it risks breaking the environment, which would likely require re-installing.

zain-sohail commented 1 month ago

There is no supported way. I can think of a way of doing it, but it risks breaking the environment, which would likely require re-installing.

I am just using the python version now. But if the plugins can't be installed in bundled version, I find it really restricts the use case of that.

Czaki commented 1 month ago

But if the plugins can't be installed in bundled version

All plugins that have version on conda forge could be installed in bundled version.

jaimergp commented 1 month ago

There is no supported way.

I'm hoping that with conda-pypi things get better.

@jaimergp is the lack of the by name/url field a bug or is it a workaround related to the conda installer? Edit: and will this become moot with the new plugin manager: https://github.com/napari/napari-plugin-manager

Let me ping @goanpeca for this, because I'm not sure. 0.4.19 didn't use napari-plugin-manager as a separate dep so whatever you are seeing there in that bundle is "quite old".

Let me take a look at the nightly pipelines so we can test the artifacts. osx-64 has been failing for a few weeks, apparently.

jaimergp commented 1 month ago

Ah wait, it's here https://github.com/napari/napari/releases/tag/latest

jaimergp commented 1 month ago

New artifacts as of today in https://github.com/napari/napari/actions/runs/9409516454