Opened 9 years ago
Last modified 7 years ago
#11334 closed task
Update numpy to 1.6 — at Version 5
Reported by: | jason | Owned by: | tbd |
---|---|---|---|
Priority: | major | Milestone: | sage-5.10 |
Component: | packages: standard | Keywords: | sd40.5 |
Cc: | fbissey, kini, Snark | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | Fixed upstream, in a later stable release. | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Numpy 1.6 was released today.
New spkg: http://spkg-upload.googlecode.com/files/numpy-1.6.0.spkg
Change History (5)
comment:1 Changed 9 years ago by
- Cc fbissey added
comment:2 Changed 9 years ago by
Thx. it looks like numpy has been bumped to 1.6 in Gentoo so I can do some quick compatibility tests. It looks like a flag for gfortran has been added in the ebuild to help with the compiler autodetection madness it may be worth having it sage side too.
Do you know if a scipy release is to follow, if not it would be best to revbump scipy to make sure it is rebuilt after numpy.
Other matter there has been noise about lapack in numpy do we want to disable it, make it optional or keep the status quo?
comment:3 Changed 9 years ago by
I don't remember seeing anything on the scipy lists about an imminent scipy release.
comment:4 Changed 9 years ago by
just in:
sage -t -long -force_lib "devel/sage/doc/en/numerical_sage/numpy.rst" ********************************************************************** File "/usr/share/sage/devel/sage/doc/en/numerical_sage/numpy.rst", line 97: sage: 2.5*l Expected: array([ 0. , 2.5, 5. , 7.5, 10. , 12.5, 15. , 17.5, 20. , 22.5]) Got: array([0.000000000000000, 2.50000000000000, 5.00000000000000, 7.50000000000000, 10.0000000000000, 12.5000000000000, 15.0000000000000, 17.5000000000000, 20.0000000000000, 22.5000000000000], dtype=object) ********************************************************************** File "/usr/share/sage/devel/sage/doc/en/numerical_sage/numpy.rst", line 289: sage: xx Expected: array([[ 0. , 0.25, 0.5 , 0.75, 1. ], [ 0. , 0.25, 0.5 , 0.75, 1. ], [ 0. , 0.25, 0.5 , 0.75, 1. ], [ 0. , 0.25, 0.5 , 0.75, 1. ], [ 0. , 0.25, 0.5 , 0.75, 1. ]]) Got: array([[0.000000000000000, 0.250000000000000, 0.500000000000000, 0.750000000000000, 1.00000000000000], [0.000000000000000, 0.250000000000000, 0.500000000000000, 0.750000000000000, 1.00000000000000], [0.000000000000000, 0.250000000000000, 0.500000000000000, 0.750000000000000, 1.00000000000000], [0.000000000000000, 0.250000000000000, 0.500000000000000, 0.750000000000000, 1.00000000000000], [0.000000000000000, 0.250000000000000, 0.500000000000000, 0.750000000000000, 1.00000000000000]], dtype=object) ********************************************************************** File "/usr/share/sage/devel/sage/doc/en/numerical_sage/numpy.rst", line 295: sage: yy Expected: array([[ 0. , 0. , 0. , 0. , 0. ], [ 0.25, 0.25, 0.25, 0.25, 0.25], [ 0.5 , 0.5 , 0.5 , 0.5 , 0.5 ], [ 0.75, 0.75, 0.75, 0.75, 0.75], [ 1. , 1. , 1. , 1. , 1. ]]) Got: array([[0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000], [0.250000000000000, 0.250000000000000, 0.250000000000000, 0.250000000000000, 0.250000000000000], [0.500000000000000, 0.500000000000000, 0.500000000000000, 0.500000000000000, 0.500000000000000], [0.750000000000000, 0.750000000000000, 0.750000000000000, 0.750000000000000, 0.750000000000000], [1.00000000000000, 1.00000000000000, 1.00000000000000, 1.00000000000000, 1.00000000000000]], dtype=object) ********************************************************************** File "/usr/share/sage/devel/sage/doc/en/numerical_sage/numpy.rst", line 301: sage: f(xx,yy) Expected: array([[ 0. , 0.0625, 0.25 , 0.5625, 1. ], [ 0.0625, 0.125 , 0.3125, 0.625 , 1.0625], [ 0.25 , 0.3125, 0.5 , 0.8125, 1.25 ], [ 0.5625, 0.625 , 0.8125, 1.125 , 1.5625], [ 1. , 1.0625, 1.25 , 1.5625, 2. ]]) Got: array([[0.000000000000000, 0.0625000000000000, 0.250000000000000, 0.562500000000000, 1.00000000000000], [0.0625000000000000, 0.125000000000000, 0.312500000000000, 0.625000000000000, 1.06250000000000], [0.250000000000000, 0.312500000000000, 0.500000000000000, 0.812500000000000, 1.25000000000000], [0.562500000000000, 0.625000000000000, 0.812500000000000, 1.12500000000000, 1.56250000000000], [1.00000000000000, 1.06250000000000, 1.25000000000000, 1.56250000000000, 2.00000000000000]], dtype=object) ********************************************************************** 2 items had failures: 1 of 55 in __main__.example_0 3 of 13 in __main__.example_1 ***Test Failed*** 4 failures.
there may be more
comment:5 Changed 9 years ago by
- Description modified (diff)
I have cut a new spkg for 1.6.0, I decided to go for plain update for now.
CCing fbissey since he's been extremely helpful in previous numpy upgrades.