Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] yq missing dependency on python3-argcomplete
@ 2020-02-26 21:29 jirib
  2020-02-27 18:29 ` [ISSUE] [CLOSED] " Hoshpak
  0 siblings, 1 reply; 2+ messages in thread
From: jirib @ 2020-02-26 21:29 UTC (permalink / raw)
  To: ml

[-- 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>"
```

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] yq missing dependency on python3-argcomplete
  2020-02-26 21:29 [ISSUE] yq missing dependency on python3-argcomplete jirib
@ 2020-02-27 18:29 ` Hoshpak
  0 siblings, 0 replies; 2+ messages in thread
From: Hoshpak @ 2020-02-27 18:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2193 bytes --]

Closed 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>"
```

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-27 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 21:29 [ISSUE] yq missing dependency on python3-argcomplete jirib
2020-02-27 18:29 ` [ISSUE] [CLOSED] " Hoshpak

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).