FS#66614 - [retext] Missing dependency on python-chardet

Attached to Project: Community Packages
Opened by Samuel Gilbert (Prozzaks) - Monday, 11 May 2020, 15:26 GMT
Last edited by Jiachen Yang (farseerfc) - Tuesday, 12 May 2020, 06:00 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


retext 7.1.0-3 needs python-chardet, but that dependency is missing from the PKGBUILD.

Steps to reproduce:
1. I tried to launch retext and got the following error message:

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
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 'chardet>=2.3' distribution was not found and is required by ReText

2. I launched the following command to install the missing dependency: sudo pacman -S python-chardet

3. I re-launched retext and it worked.
This task depends upon

Closed by  Jiachen Yang (farseerfc)
Tuesday, 12 May 2020, 06:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in retext 7.1.0-4 , thanks for reporting!