Bug 464864

Summary: Package scipy.stsci non functional
Product: [Fedora] Fedora Reporter: Sergio Pascual <sergio.pasra>
Component: scipyAssignee: Jef Spaleta <jspaleta>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: jspaleta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-30 12:51:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sergio Pascual 2008-09-30 21:56:07 UTC
The subpackage scipy.stsci misses the directories convolve and image. Instead the distutils file setup.py is installed.

Comment 1 Jef Spaleta 2008-10-02 16:43:15 UTC
i take a look at it today.

-jef

Comment 2 Jef Spaleta 2008-10-02 17:02:15 UTC
Okay this is a bit odd, taking the scipy 0.6.0 tarball and doing a fresh build from source and the stsci tree doesn't build as expected.  Can you try to confirm that locally?  It seems like an upstream bug in the 0.6.0 release.

If I pull from scipy svn and build locally it works.  I'll try to track down the necessary patch and get it applied.

-jef

Comment 3 Sergio Pascual 2008-10-02 17:08:57 UTC
I have built the srpm (scipy-0.6.0-5.fc9.src.rpm) in mock and it's as you say, the stsci part doesn't build.

Comment 4 Jef Spaleta 2008-10-02 17:13:54 UTC
Found it... the image and convolve directories as shipped in scipy 0.6.0 were
missing the setupy.py files.  As soon as they are added things appear to build.
I'll get this fixed in our package and ping upstream and see if they'll roll
out a point release tarball to fix this.

-jef

Comment 5 Jef Spaleta 2008-10-02 19:35:12 UTC
Hey can you do a quick test using this package:
http://people.fedoraproject.org/~jspaleta/scipy-0.6.0-6.fc9.i386.rpm

If that works for you I'll stick it in the build system as an update.

-jef

Comment 6 Sergio Pascual 2008-10-03 13:14:54 UTC
Something is wrong, the files are still missing

$ rpm -q scipy
scipy-0.6.0-6.fc9.i386

$ rpm -ql scipy |grep stsci
/usr/lib/python2.5/site-packages/scipy/stsci
/usr/lib/python2.5/site-packages/scipy/stsci/__init__.py
/usr/lib/python2.5/site-packages/scipy/stsci/__init__.pyc
/usr/lib/python2.5/site-packages/scipy/stsci/__init__.pyo
/usr/lib/python2.5/site-packages/scipy/stsci/setup.py
/usr/lib/python2.5/site-packages/scipy/stsci/setup.pyc
/usr/lib/python2.5/site-packages/scipy/stsci/setup.pyo

Comment 7 Jef Spaleta 2008-10-03 19:04:59 UTC
I'm an idiot.. made a mistake in copying in the files.

I've confirmed that the files do actually get built in development tree.

I'll fire off some builds today for rawhide and then for F9 updates-testing.

Bodhi should ping this bug ticket when they land in updates-testing. 

-jef

Comment 8 Fedora Update System 2008-10-03 21:43:52 UTC
scipy-0.6.0-7.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/scipy-0.6.0-7.fc9

Comment 9 Sergio Pascual 2008-10-04 21:52:17 UTC
This is rather minor, but I think setup.py shouldn't be installed. (It is in site-packages/scipy/stsci)

Comment 10 Fedora Update System 2008-10-07 09:50:27 UTC
scipy-0.6.0-7.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update scipy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-8667

Comment 11 Fedora Update System 2008-10-30 12:51:46 UTC
scipy-0.6.0-7.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.