You are not logged in.
Looking at the dependencies for python2-numpy it seems to depend on a bunch of stuff that's for version 3 of python:
https://www.archlinux.org/packages/extr … on2-numpy/
In particular python-nose is an optional dependency but python-nose is a python3 package. The python2 version is, as should be, in python2-nose. It could be a bug, but I figured I'd ask if anyone can think of a good reason for this before reporting.
Last edited by vlsd (2013-10-22 19:38:49)
Offline
pacman -Si python2-numpy
Depends On : lapack python2python2-numpy only depends on lapack and python2 at runtime. The package is built using a split PKGBUILD that also builds python(3)-numpy. The makedeps reported on the webpage are common to both packages. Note the numerous "(make)" tags. The python-nose optdep may be a relic from incomplete parsing of the split PKGBUILD, a limitation of split PKGBUILDs due to the inability to nest optdeps, or maybe it is invoked externally from python2-numpy (I have no idea).
There are many different ways a package can depend on another.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Ok, so the fact that the build for python2-numpy depends on python-nose instead of python2-nose is likely a bug and I should report it, but everything else is normal. Thanks!
Last edited by vlsd (2013-10-22 15:56:56)
Offline
Ok, so the fact that the build for python2-numpy depends on python-nose instead of python2-nose is likely a bug and I should report it, but everything else is normal. Thanks!
No, I think you completely misunderstood. First thing to note is that python2-numpy does NOT depend on python-nose. There is an optdepend on it, but it's just that, optional. Do you know for sure that the python2-numpy testsuite doesn't require python3?
Offline
Do you know for sure that the python2-numpy testsuite doesn't require python3?
Well, given that the test suite is part of numpy and is called from inside python2 I would be *very* surprised if it depended on python3. It would require importing python3-nose with a python2 interpreter, something that is, to the extent of my knowledge, not possible.
I also just tested this on my system and numpy in python2 doesn't run the tests if python-nose is installed but python2-nose is not, which makes me 100% confident the dependency is wrong.
Offline