FS#66440 - [retext] python-docutils is a required dependency, not optional

Attached to Project: Community Packages
Opened by Evan McLean (ecognito) - Tuesday, 28 April 2020, 06:10 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 02 May 2023, 04:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The python-docutils package appears to be a required, mandatory dependency.

If you do not have it installed, when you try and launch retext you get the following back on the console:

Traceback (most recent call last):
File "/usr/bin/retext", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3259, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3242, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3271, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'docutils' distribution was not found and is required by ReText
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 02 May 2023, 04:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  retext 7.1.0-3

Loading...