Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320135 - Please apply changeset 5790 to sci-libs/scipy-0.7.x
Summary: Please apply changeset 5790 to sci-libs/scipy-0.7.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL: http://projects.scipy.org/scipy/chang...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 10:31 UTC by François Bissey
Modified: 2010-05-18 17:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to apply the given changeset. (scipy-0.7-optimize.patch,1.83 KB, patch)
2010-05-18 09:43 UTC, François Bissey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!