Package: python3-fabric
Version: 2.5.0-0.3
Severity: serious
Justification: Policy 3.5
X-Debbugs-Cc: boleslaw.tokar...@gmail.com

Dear Maintainer,

This is a follow-up on bug 956320.

I installed python3-fabric, and created some simple code using the library. I 
got:

Traceback (most recent call last):
  File "script.py", line 2, in <module>
    from fabric import Connection
  File "/usr/lib/python3/dist-packages/fabric/__init__.py", line 3, in <module>
    from .connection import Config, Connection
  File "/usr/lib/python3/dist-packages/fabric/connection.py", line 10, in 
<module>
    from decorator import decorator
ModuleNotFoundError: No module named 'decorator'

I do not need the 'fabric' package to use python3-fabric as a library. The
dependency should not be in the fabric package, but in the python3-fabric
package. Actually, just like the bug description says, "python3-fabric:
Missing dependency on python3-decorator".

Installing python3-decorator solves the problem, thus it should be a
dependency of python3-fabric, and cleared from the 'fabric' package
dependencies, since it will get pulled with python3-fabric.

-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-10-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-fabric depends on:
ii  python3           3.9.2-3
ii  python3-invoke    1.4.1+ds-0.1
ii  python3-paramiko  2.7.2-1

python3-fabric recommends no packages.

python3-fabric suggests no packages.

-- no debconf information

Reply via email to