FS#65377 - [yq] Missing Python dependencies

Attached to Project: Community Packages
Opened by Caleb Maclennan (alerque) - Tuesday, 04 February 2020, 20:29 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 08 March 2020, 09:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Installing `yq` has been broken pretty much since it moved from AUR to [community]. When installing in a minimal system, running it gives something like this:

```
$ yq --help
Traceback (most recent call last):
File "/usr/sbin/yq", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
```

In my testing it looks like python-setuptools is missing from the run time dependencies.

The version in community is also out of date, but in setting up my own packaging with the newest version it looks like at least a dependency on python-argcomplete will also be missing.

Finally it seems python itself doesn't seem to be listed as dependency.
This task depends upon

Closed by  Felix Yan (felixonmars)
Sunday, 08 March 2020, 09:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.10.0-1
Comment by Samuel Gfrörer (EsGeh) - Tuesday, 18 February 2020, 11:25 GMT
I can confirm this error on a bare bone system.
Installing "python-setuptools" fixes it.
"python-setuptools" should probably be listed as dependency.
Comment by Caleb Maclennan (alerque) - Tuesday, 18 February 2020, 11:33 GMT
Just to comment, I am sure this probably _should not_ be this way and this is an upstream error, but until such a time as it is fixed upstream it would be nice if the Arch package wasn't broken.
Comment by Caleb Maclennan (alerque) - Sunday, 01 March 2020, 05:29 GMT
This was fixed when the package was update to 2.10.0. The issue can be closed.

Loading...