Public bug reported:

[Impact] numpy has recently released a bugfix release fixing several bugs that 
are severe or hard to workaround.
Full changelog:

* gh-4836: partition produces wrong results for multiple selections in equal 
ranges
* gh-4656: Make fftpack._raw_fft threadsafe
* gh-4628: incorrect argument order to _copyto in in np.nanmax, np.nanmin
* gh-4642: Hold GIL for converting dtypes types with fields
* gh-4733: fix np.linalg.svd(b, compute_uv=False)
* gh-4853: avoid unaligned simd load on reductions on i386
* gh-4722: Fix seg fault converting empty string to object
* gh-4613: Fix lack of NULL check in array_richcompare
* gh-4774: avoid unaligned access for strided byteswap
* gh-650: Prevent division by zero when creating arrays from some buffers
* gh-4602: ifort has issues with optimization flag O2, use O1


[Test case]
the partition issue is the most severe:

python
d = np.array([0, 1, 2, 3, 4, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,7, 7, 7, 7, 7, 
9])
kth = [0, 3, 19, 20]
np.partition(d, kth)[kth]

output:
array([7, 3, 7, 7])

expected:
(0, 3, 7, 7)

[Regression potential]
low, the fixes where intentionally kept simple to avoid regressions.
the test coverage of numpy is good and most of its dependencies (scipy, pandas, 
pytables, ..) have tested the release via their own extensive testsuites.

** Affects: python-numpy (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [Impact] numpy has recently released a bugfix release fixing several bugs 
that are severe or hard to workaround.
  Full changelog:
+ 
+ * gh-4836: partition produces wrong results for multiple selections in equal 
ranges
+ * gh-4656: Make fftpack._raw_fft threadsafe
+ * gh-4628: incorrect argument order to _copyto in in np.nanmax, np.nanmin
+ * gh-4642: Hold GIL for converting dtypes types with fields
+ * gh-4733: fix np.linalg.svd(b, compute_uv=False)
+ * gh-4853: avoid unaligned simd load on reductions on i386
+ * gh-4722: Fix seg fault converting empty string to object
+ * gh-4613: Fix lack of NULL check in array_richcompare
+ * gh-4774: avoid unaligned access for strided byteswap
+ * gh-650: Prevent division by zero when creating arrays from some buffers
+ * gh-4602: ifort has issues with optimization flag O2, use O1
+ 
  
  [Test case]
  the partition issue is the most severe:
  
  python
  d = np.array([0, 1, 2, 3, 4, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,7, 7, 7, 7, 
7, 9])
  kth = [0, 3, 19, 20]
  np.partition(d, kth)[kth]
  
  output:
  array([7, 3, 7, 7])
  
  expected:
  (0, 3, 7, 7)
  
  [Regression potential]
  low, the fixes where intentionally kept simple to avoid regressions.
  the test coverage of numpy is good and most of its dependencies (scipy, 
pandas, pytables, ..) have tested the release via their own extensive 
testsuites.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1358870

Title:
  update numpy to 1.8.2 in trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-numpy/+bug/1358870/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to