Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76888 - [fabric] missing dependency: python-decorator
Attached to Project:
Community Packages
Opened by Thomas Jost (Schnouki) - Tuesday, 20 December 2022, 15:02 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 21 December 2022, 11:25 GMT
Opened by Thomas Jost (Schnouki) - Tuesday, 20 December 2022, 15:02 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 21 December 2022, 11:25 GMT
|
DetailsDescription:
With the latest available version of the fabric package, the fab command fails immediately because of a missing dependency on the decorator module: -------------------------------- ❯ fab Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/fabric/connection.py", line 5, in <module> from invoke.vendor.six import StringIO ModuleNotFoundError: No module named 'invoke.vendor' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/fab", line 5, in <module> from fabric.main import program File "/usr/lib/python3.10/site-packages/fabric/__init__.py", line 3, in <module> from .connection import Config, Connection File "/usr/lib/python3.10/site-packages/fabric/connection.py", line 10, in <module> from decorator import decorator ModuleNotFoundError: No module named 'decorator' -------------------------------- Installing python-decorator fixes this. This is most likely caused by the python-invoke "devendoring" Invoke dependencies: https://github.com/archlinux/svntogit-community/blob/08d8907ddf487ba25dd59b44c7c2b5e9b35cc1c2/trunk/PKGBUILD#L20. So, not sure exactly where the bug is (fabric or python-invoke). Additional info: * fabric 2.7.1-1 * python-invoke 1.7.3-1 * python-decorator 5.1.1-2 Steps to reproduce: * install fabric * try to run `fab`: it fails * install python-decorator * retry to run `fab`: it works |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Wednesday, 21 December 2022, 11:25 GMT
Reason for closing: Fixed
Additional comments about closing: fabric-2.7.1-2
Wednesday, 21 December 2022, 11:25 GMT
Reason for closing: Fixed
Additional comments about closing: fabric-2.7.1-2
FS#71918