Bug#1014822: inkscape-textext: Missing dependency on python3-cssselect

2022-07-13 Thread Kumar Appaiah
Dear Antonio,

On Wed, Jul 13, 2022 at 07:52:50AM -0600, Antonio Russo wrote:
> 
> Hello Kumar,
> 
> Could you please elaborate what exactly fails without
> python3-cssselect installed?
> 
> I just confirmed here on stable that, installed or
> not, python3-cssselect did not have any immediate
> effect on the behavior of inkscape-textex.
> 
> My original guess was the python3-cssselect might
> be pulling in another dependency I missed, but this
> package does not pull in any dependencies (besides
> python itself).
> 
> Moreover, the string cssselect does not even appear
> in the textext repository, so this is not a direct
> dependency..
> 
> Is it possible that something else was upgraded
> or installed at the same time cssselect was installed?

Here is the inkscape traceback I get without python3-cssselect:

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/textext/__main__.py", line 1, in 
from textext.base import *
  File "/usr/share/inkscape/extensions/textext/base.py", line 100, in 
import inkex
  File "/usr/share/inkscape/extensions/inkex/__init__.py", line 11, in 
from .extensions import *
  File "/usr/share/inkscape/extensions/inkex/extensions.py", line 34, in 

from .elements import (
  File "/usr/share/inkscape/extensions/inkex/elements/__init__.py", line 10, in 

from ._base import ShapeElement, BaseElement
  File "/usr/share/inkscape/extensions/inkex/elements/_base.py", line 38, in 

from ..styles import Style, Classes
  File "/usr/share/inkscape/extensions/inkex/styles.py", line 33, in 
from .css import ConditionalRule
  File "/usr/share/inkscape/extensions/inkex/css.py", line 27, in 
import cssselect
ModuleNotFoundError: No module named 'cssselect'

This is in Inkscape's file, so you are possibly correct in that this
is not a bug with inkscape-textext. However, it triggered only with
inkscape-textext.

> P.S.: I notice that you are running a system with
> stable, testing, and unstable packages installed.
> This might contribute to weird dependency issues.
> 
> I'd recommend removing the stable repository
> and possibly purging obsolete packages afterwards,
> though I doubt this has anything to do with
> this bug.

I would like to believe that this isn't the case, but if you are
certain that there is something in my system causing this, please do
close the bug, or suggest if this can be reassigned to inkscape.

Thank you.

Kumar



Bug#1014822: inkscape-textext: Missing dependency on python3-cssselect

2022-07-12 Thread Kumar Appaiah
Package: inkscape-textext
Version: 1.3.0-2
Severity: important

Dear Maintainer,

Please add python3-cssselect to the dependencies.

Thanks.

Kumar


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages inkscape-textext depends on:
ii  gir1.2-gtk-3.03.24.34-1
ii  gir1.2-gtksource-3.0  3.24.11-2+b1
ii  inkscape  1.2-1
ii  python3   3.9.2-3
ii  python3-gi3.38.0-2
ii  python3-gi-cairo  3.38.0-2
ii  python3-lxml  4.8.0-1
ii  python3-tk3.9.2-1
ii  texlive-latex-base2022.20220405-2

Versions of packages inkscape-textext recommends:
ii  gir1.2-gtk-3.03.24.34-1
ii  gir1.2-gtksource-3.0  3.24.11-2+b1
ii  python3-gi3.38.0-2
ii  python3-gi-cairo  3.38.0-2

Versions of packages inkscape-textext suggests:
ii  texlive-luatex  2022.20220405-2
ii  texlive-xetex   2022.20220405-2

-- no debconf information