FS#64341 - [translate-toolkit] Add python-cheroot as optdepends

Attached to Project: Community Packages
Opened by Rafael Fontenelle (josephg) - Thursday, 31 October 2019, 12:25 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Saturday, 25 January 2020, 18:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

'tmserver' tool fails due to "ModuleNotFoundError: No module named 'cheroot'". Since 2.4.0, 'cheroot' is used for TM Server and is included in requirements/optional.txt.

See upstream commit that included it: https://github.com/translate/translate/commit/7ea553be5997877dd7682b64e3a11415f466faa9#diff-5bb25ba1841b252ae69bf160f205d820

Please include 'python-cheroot' in optdepends array.

Additional info:
* package version(s)
translate-toolkit 2.4.0-1
python-cheroot 8.2.1-1

* config and/or log files etc.
tmserver-error.log - traceback output

* link to upstream bug report, if any

Steps to reproduce:
$ tmserver
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Saturday, 25 January 2020, 18:48 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in translate-toolkit-2.5.0-2
Comment by Rafael Fontenelle (josephg) - Thursday, 31 October 2019, 13:04 GMT
FWIW, this unrelated but may come up: python-cheroot needs python-jacaro, which is not in its depends array. It has been reported in  FS#64342 .
Comment by dervish (dervish) - Thursday, 21 November 2019, 13:23 GMT
'python-cheroot' fails without 'python-jacaro'. This is not 'Optional Deps' - it's strict dependence!
Update. My comment is more relevant to this topic: https://bugs.archlinux.org/task/64181
Comment by Rafael Fontenelle (josephg) - Thursday, 21 November 2019, 13:42 GMT
dervish: right, but this bug is about translate-toolkit, not python-cheroot. For translate-toolkit, 'python-cheroot' must be added as optdepends because it is only required when using /usr/bin/tmserver. Even the upstream sets it as an optional dependency. Regarding python-jacaro, see also  FS#64342  (duplicated of  FS#64181 ).

Loading...