[Debian-pan-maintainers] Debian: napari package: launcher brings error 'A distribution name is required'

Roland Mas roland.mas at gnurandal.com
Tue Aug 29 16:01:13 BST 2023


Le 18/08/2023 à 09:37, Emmanuel FARHI a écrit :
>
> Hi Roland,
>
Hi,
>
> I've just tested the recent napari packages that have been prepared by 
> yourself.
>
> The installation goes as it should with packages:
>
>     python3-app-model_0.2.0-2_all.deb python3-in-n-out_0.1.8-2_all.deb
>     python3-napari-plugin-engine_0.2.0-3_all.deb
>     python3-cachey_0.2.1-3_all.deb python3-magicgui_0.7.2-3_all.deb
>     python3-npe2_0.7.2-2_all.deb
>     python3-docstring-parser_0.15-2_all.deb
>     python3-napari_0.5.0~a1-3_all.deb python3-psygnal_0.9.1-2_all.deb
>
> obtained from tracker.debian.org
>
> Then I have created a small launcher script for the GUI itself:
>
>     #!/usr/bin/python3
>
>     # -*- coding: utf-8 -*-
>     import re
>     import sys
>     from napari.__main__ import main
>     if __name__ == '__main__':
>         sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
>         sys.exit(main())
>
You shouldn't need to create that script, as it's already present in 
/usr/bin/napari :-)

> In principle, the main GUI should be displayed (at least it does from 
> a pip3 installation in a venv).
>
> The execution in a vanilla Bookworm with Cinnamon brings an error:
>
> […]
>
> I do not exactly know what is the issue. Any idea ?
>
I think it's related to python-vispy. I prepared and uploaded a package 
for a new upstream version of python-vispy (0.13.0-1) and tightened the 
dependency and build-dependency of napari on it, and now it does launch 
a GUI. The new napari (0.5.0~a1-4) is uploaded to unstable too.

Roland.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20230829/cb044ed7/attachment.htm>


More information about the Debian-pan-maintainers mailing list