From: jirib <jirib@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] yq missing dependency on python3-argcomplete
Date: Wed, 26 Feb 2020 22:29:55 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19568@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2190 bytes --]
New issue by jirib on void-packages repository
https://github.com/void-linux/void-packages/issues/19568
Description:
`yq` misses dependency on `python3-argcomplete`
### system
* xuname:
``Void 5.4.18_1 x86_64 GenuineIntel uptodate rF``
* package:
``yq-2.10.0_1``
### Expected behavior
should work
### Actual behavior
```
$ yq config
Traceback (most recent call last):
File "/usr/bin/yq", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'argcomplete>=1.8.1' distribution was not found and is required by yq
```
### Steps to reproduce the behavior
ensure you don't have any python packages installed and just install `yq`
### diff
```
diff --git a/srcpkgs/yq/template b/srcpkgs/yq/template
index 24786a7cd0..0bb9e44064 100644
--- a/srcpkgs/yq/template
+++ b/srcpkgs/yq/template
@@ -6,7 +6,7 @@ archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-yaml"
-depends="python3-setuptools python3-xmltodict python3-yaml python3-toml"
+depends="python3-argcomplete python3-setuptools python3-xmltodict python3-yaml python3-toml"
checkdepends="jq python3-xmltodict python3-toml"
short_desc="Command-line YAML processor written in Python that wraps around jq"
maintainer="Orphaned <orphan@voidlinux.org>"
```
next reply other threads:[~2020-02-26 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-26 21:29 jirib [this message]
2020-02-27 18:29 ` [ISSUE] [CLOSED] " Hoshpak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19568@inbox.vuxu.org \
--to=jirib@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).