Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 320135

Summary: Please apply changeset 5790 to sci-libs/scipy-0.7.x
Product: Gentoo Linux Reporter: François Bissey <frp.bissey>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://projects.scipy.org/scipy/changeset/5790
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to apply the given changeset.

Description François Bissey 2010-05-17 10:31:41 UTC
Changeset 5790 has been added to scipy's trunk in May last year
and will probably go in for scipy-0.8.
The issue is with the fminbound function in the optimize.py component.
fminbound accept scalar or length 1 array and should return the same,
without this patch a length 1 array is usually returned.
This leads to test breakage in sage.
A patched version of scipy-0.7.1 is currently in the sage-on-gentoo
overlay.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-05-17 12:10:42 UTC
Couöld you please provide a link to the overlay.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-05-17 12:18:31 UTC
What about scipy 0.7.2?
Comment 3 François Bissey 2010-05-17 19:57:49 UTC
(In reply to comment #2)
> What about scipy 0.7.2?
> 
It should apply cleanly on it as well, but because there was a change
of API we are sticking to 0.7.1 for now.
the overlay is at:
http://github.com/cschwan/sage-on-gentoo
I was planning to put a patch closer to the changeset in the science
overlay later on. The patch in sage-on-gentoo doesn't include the 
change to the tests.
Comment 4 François Bissey 2010-05-18 09:43:32 UTC
Created attachment 231905 [details, diff]
patch to apply the given changeset.
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2010-05-18 17:25:52 UTC
In CVS. Thanks!