You are not logged in.
One of the python packages which I'm maintaining has the dependency on python-argparse which is actually from the stdlib, see this link.
I was wondering if it really should be added as the depndencies? Shouldn't it be installed along with the python pacakge?
Offline
but the module is included in the python packages. see
$ python2
Python 2.7.12 (default, Jun 28 2016, 08:31:05)
[GCC 6.1.1 20160602] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import argparse
>>>
$ python
Python 3.5.2 (default, Jun 28 2016, 08:46:01)
[GCC 6.1.1 20160602] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import argparse
>>>
$ pacman -Qs argparse
$
and I don't have python-argparse installed. maybe I misunderstood something...
Offline
Well, that's exactly my point.
Should I include it in depends array or not?
And why the package exists anyway?
Offline
The package you linked to is not an official package, but an AUR package for implementing argparse in older versions of Python. If you had checked the upstream URL for the package you linked to, then you would have seen that it is specifically for Python versions less than 2.7 and 3.2. So unless your package is only meant to work with older versions of Python, it does not depend on that package and you should not include it in your depends array.
Offline
Well, that's exactly my point.
Should I include it in depends array or not?
And why the package exists anyway?
Sorry I misunderstood, I thought you thought it wasn't included in the python package. As Daerandin pointed out, just remove it from the dependencies array.
Offline
The package you linked to is not an official package, but an AUR package for implementing argparse in older versions of Python.
I don't understand why it was added to the AUR though? Argparse was added to python 3.2 and 2.7 in Feb 2011 yet that AUR package was created in Aug 2014. I don't see how any Arch user would have ever needed it?
Last edited by bulletmark (2016-10-28 23:17:00)
Offline
Upstream choices .
example : dyndnsc requires argparse,if you check dyndnsc code on github they suppport running it on python 2.6 .
Maybe building dyndnsc fails when python-argparse / python2-argparse are not present ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline