FS#12435 - Incorrect dependencies for python-scipy

Attached to Project: Community Packages
Opened by Joël Schaerer (lardon) - Saturday, 13 December 2008, 10:11 GMT
Last edited by Dan Griffiths (Ghost1227) - Sunday, 31 May 2009, 20:58 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The list of dependencies of python-scipy is incorrect: runtime dependencies are listed as makedepends. I can only confirm for lapack, as the following example shows:

joel@mouton Season 2$ ipython
/usr/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
from sets import Set
Python 2.6.1 (r261:67515, Dec 7 2008, 08:27:41)
Type "copyright", "credits" or "license" for more information.

IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import scipy

In [2]: import scipy.linalg
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

/home/shared/videos/Season 2/<ipython console> in <module>()

/usr/lib/python2.6/site-packages/scipy/linalg/__init__.py in <module>()
6 from linalg_version import linalg_version as __version__
7
----> 8 from basic import *
9 from decomp import *
10 from matfuncs import *

/usr/lib/python2.6/site-packages/scipy/linalg/basic.py in <module>()
15 #from blas import get_blas_funcs

16 from flinalg import get_flinalg_funcs
---> 17 from lapack import get_lapack_funcs
18 from numpy import asarray,zeros,sum,newaxis,greater_equal,subtract,arange,\
19 conjugate,ravel,r_,mgrid,take,ones,dot,transpose,sqrt,add,real

/usr/lib/python2.6/site-packages/scipy/linalg/lapack.py in <module>()
15 import numpy
16
---> 17 from scipy.linalg import flapack
18 from scipy.linalg import clapack
19 _use_force_clapack = 1

ImportError: liblapack.so: cannot open shared object file: No such file or directory

In [3]:
Do you really want to exit ([y]/n)?
joel@mouton Season 2$ sudo pacman -S lapack
resolving dependencies...
looking for inter-conflicts...

Targets (1): lapack-3.1.1-4

Total Download Size: 3.73 MB
Total Installed Size: 10.42 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
lapack-3.1.1-4-i686 3.7M 1149.4K/s 00:00:03 [#####################################################################################################################] 100%
checking package integrity...
(1/1) checking for file conflicts [#####################################################################################################################] 100%
(1/1) installing lapack [#####################################################################################################################] 100%
joel@mouton Season 2$ ipython
/usr/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
from sets import Set
Python 2.6.1 (r261:67515, Dec 7 2008, 08:27:41)
Type "copyright", "credits" or "license" for more information.

IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import scipy

In [2]: import scipy.linalg
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Sunday, 31 May 2009, 20:58 GMT
Reason for closing:  Fixed
Comment by JM (fijam) - Sunday, 22 March 2009, 09:38 GMT
Confirming, lapack and blas are runtime dependencies.

Loading...