Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yq missing dependency on python3-argcomplete #19568

Closed
jirib opened this issue Feb 26, 2020 · 0 comments · Fixed by #19570
Closed

yq missing dependency on python3-argcomplete #19568

jirib opened this issue Feb 26, 2020 · 0 comments · Fixed by #19570

Comments

@jirib
Copy link
Contributor

jirib commented Feb 26, 2020

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>"
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant