NumPy 1.15.1 發行說明#

這是針對 1.15.0 版本發行後回報的錯誤與回歸問題的錯誤修復版本。

  • 惱人但無害的 RuntimeWarning「numpy.dtype size changed」已被抑制。長期存在的抑制在轉換到 pytest 時遺失了。

  • 更新到 Cython 0.28.3 暴露出 gcc 屬性的問題用法,該屬性用於在模組初始化中優先考慮程式碼大小而非速度,可能導致編譯後的程式碼不正確。這已在最新的 Cython 中修復,但為了安全起見,在此處已停用。

  • 已改進對 big-endian 和 ARMv8 架構的支援。

此版本支援的 Python 版本為 2.7、3.4-3.7。這些 wheels 與 OpenBLAS v0.3.0 連結,這應可修復 NumPy 1.14 回報的一些 linalg 問題。

相容性注意事項#

PyPI 上發行的 NumPy 1.15.x OS X wheels 不再包含 32 位元二進位檔案。未來版本也將如此。請參閱 #11625 以了解相關討論。需要 32 位元支援的使用者應在其他地方尋找或從原始碼建置。

貢獻者#

共有 7 人為此版本做出貢獻。名字旁有「+」號的人是第一次貢獻補丁。

  • Charles Harris

  • Chris Billington

  • Elliott Sales de Andrade +

  • Eric Wieser

  • Jeremy Manning +

  • Matti Picus

  • Ralf Gommers

合併的提取請求#

此版本總共合併了 24 個提取請求。

  • #11647: MAINT: Filter Cython warnings in __init__.py

  • #11648: BUG: Fix doc source links to unwrap decorators

  • #11657: BUG: Ensure singleton dimensions are not dropped when converting…

  • #11661: BUG: Warn on Nan in minimum,maximum for scalars

  • #11665: BUG: cython sometimes emits invalid gcc attribute

  • #11682: BUG: Fix regression in void_getitem

  • #11698: BUG: Make matrix_power again work for object arrays.

  • #11700: BUG: Add missing PyErr_NoMemory after failing malloc

  • #11719: BUG: Fix undefined functions on big-endian systems.

  • #11720: MAINT: Make einsum optimize default to False.

  • #11746: BUG: Fix regression in loadtxt for bz2 text files in Python 2.

  • #11757: BUG: Revert use of console_scripts.

  • #11758: BUG: Fix Fortran kind detection for aarch64 & s390x.

  • #11759: BUG: Fix printing of longdouble on ppc64le.

  • #11760: BUG: Fixes for unicode field names in Python 2

  • #11761: BUG: Increase required cython version on python 3.7

  • #11763: BUG: check return value of _buffer_format_string

  • #11775: MAINT: Make assert_array_compare more generic.

  • #11776: TST: Fix urlopen stubbing.

  • #11777: BUG: Fix regression in intersect1d.

  • #11779: BUG: Fix test sensitive to platform byte order.

  • #11781: BUG: Avoid signed overflow in histogram

  • #11785: BUG: Fix pickle and memoryview for datetime64, timedelta64 scalars

  • #11786: BUG: Deprecation triggers segfault