|
2 | 2 | NumPy 1.14.1 Release Notes |
3 | 3 | ========================== |
4 | 4 |
|
5 | | -This is a bugfix release for some problems found since 1.14.0. The most |
6 | | -important fixes are the reversion of the multifield index "view" behavior (see |
7 | | -compatibility notes), and fixes to the spacing in the str and repr of complex |
8 | | -values. |
| 5 | +This is a bugfix release for some problems reported following the 1.14.0 release. The major |
| 6 | +problems fixed are the following. |
9 | 7 |
|
10 | | -The Python versions supported are 2.7 and 3.4 - 3.6. The Python 3.6 wheels |
11 | | -available from PIP are built with Python 3.6.2 and should be compatible with |
12 | | -all previous versions of Python 3.6. It was cythonized with Cython 0.26.1, |
13 | | -which should be free of the bugs found in 0.27 while also being compatible with |
14 | | -Python 3.7-dev. |
15 | | - |
16 | | - |
17 | | -Compatibility notes |
18 | | -=================== |
19 | | - |
20 | | -Multifield Indexing of Structured Arrays will still return a copy |
21 | | ------------------------------------------------------------------ |
22 | | -We have reverted the change in 1.14.0 that multi-field indexing of structured |
23 | | -arrays returns a view instead of a copy, and pushed it back to 1.15. This will |
24 | | -give us time to implement additional related bugfixes to ease the transition. |
25 | | -Affected users should read the the 1.14.1 Numpy User Guide for advice on how to |
26 | | -manage this transition, under "basics/structured arrays/accessing multiple |
27 | | -fields". A new method `numpy.lib.recfunctions.repack_fields` has been |
28 | | -introduced to help with this. All other changes to structured arrays described |
29 | | -in the 1.14.0 release notes still hold in 1.14.1, and have not been reverted. |
| 8 | +* Problems with the new array printing, particularly the printing of complex |
| 9 | + values, Please report any additional problems that may turn up. |
| 10 | +* Problems with ``np.einsum`` due to the new ``optimized=True`` default. Some |
| 11 | + fixes for optimization have been applied and ``optimize=False`` is now the |
| 12 | + default. |
| 13 | +* The sort order in ``np.unique`` when ``axis=<some-number>`` will now always |
| 14 | + be lexicographic in the subarray elements. In previous NumPy versions there |
| 15 | + was an optimization that could result in sorting the subarrays as unsigned |
| 16 | + byte strings. |
| 17 | +* The change in 1.14.0 that multi-field indexing of structured arrays returns a |
| 18 | + view instead of a copy has been reverted but remains on track for NumPy 1.15. |
| 19 | + Affected users should read the 1.14.1 Numpy User Guide section |
| 20 | + "basics/structured arrays/accessing multiple fields" for advice on how to |
| 21 | + manage this transition. |
30 | 22 |
|
| 23 | +The Python versions supported in this release are 2.7 and 3.4 - 3.6. The Python |
| 24 | +3.6 wheels available from PIP are built with Python 3.6.2 and should be |
| 25 | +compatible with all previous versions of Python 3.6. The source releases were |
| 26 | +cythonized with Cython 0.26.1, which is known to **not** support the upcoming |
| 27 | +Python 3.7 release. People who wish to run Python 3.7 should check out the |
| 28 | +NumPy repo and try building with the, as yet, unreleased master branch of |
| 29 | +Cython. |
31 | 30 |
|
32 | 31 | Contributors |
33 | 32 | ============ |
34 | 33 |
|
35 | | -A total ofxx people contributed to this release. People with a "+" by their |
| 34 | +A total of14 people contributed to this release. People with a "+" by their |
36 | 35 | names contributed a patch for the first time. |
37 | 36 |
|
| 37 | +* Allan Haldane |
| 38 | +* Charles Harris |
| 39 | +* Daniel Smith |
| 40 | +* Dennis Weyland + |
| 41 | +* Eric Larson |
| 42 | +* Eric Wieser |
| 43 | +* Jarrod Millman |
| 44 | +* Kenichi Maehashi + |
| 45 | +* Marten van Kerkwijk |
| 46 | +* Mathieu Lamarre |
| 47 | +* Sebastian Berg |
| 48 | +* Simon Conseil |
| 49 | +* Simon Gibbons |
| 50 | +* xoviat |
| 51 | + |
38 | 52 | Pull requests merged |
39 | 53 | ==================== |
| 54 | + |
| 55 | +A total of 36 pull requests were merged for this release. |
| 56 | + |
| 57 | +* `#10339<https://github.com/numpy/numpy/pull/10339>`__: BUG: restrict the __config__ modifications to win32 |
| 58 | +* `#10368<https://github.com/numpy/numpy/pull/10368>`__: MAINT: Adjust type promotion in linalg.norm |
| 59 | +* `#10375<https://github.com/numpy/numpy/pull/10375>`__: BUG: add missing paren and remove quotes from repr of fieldless... |
| 60 | +* `#10395<https://github.com/numpy/numpy/pull/10395>`__: MAINT: Update download URL in setup.py. |
| 61 | +* `#10396<https://github.com/numpy/numpy/pull/10396>`__: BUG: fix einsum issue with unicode input and py2 |
| 62 | +* `#10397<https://github.com/numpy/numpy/pull/10397>`__: BUG: fix error message not formatted in einsum |
| 63 | +* `#10398<https://github.com/numpy/numpy/pull/10398>`__: DOC: add documentation about how to handle new array printing |
| 64 | +* `#10403<https://github.com/numpy/numpy/pull/10403>`__: BUG: Set einsum optimize parameter default to `False`. |
| 65 | +* `#10424<https://github.com/numpy/numpy/pull/10424>`__: ENH: Fix repr of np.record objects to match np.void types #10412 |
| 66 | +* `#10425<https://github.com/numpy/numpy/pull/10425>`__: MAINT: Update zesty to artful for i386 testing |
| 67 | +* `#10431<https://github.com/numpy/numpy/pull/10431>`__: REL: Add 1.14.1 release notes template |
| 68 | +* `#10435<https://github.com/numpy/numpy/pull/10435>`__: MAINT: Use ValueError for duplicate field names in lookup (backport) |
| 69 | +* `#10534<https://github.com/numpy/numpy/pull/10534>`__: BUG: Provide a better error message for out-of-order fields |
| 70 | +* `#10536<https://github.com/numpy/numpy/pull/10536>`__: BUG: Resizebytes_ columns in genfromtxt (backport of #10401) |
| 71 | +* `#10537<https://github.com/numpy/numpy/pull/10537>`__: BUG: multifield-indexing adds padding bytes: revert for 1.14.1 |
| 72 | +* `#10539<https://github.com/numpy/numpy/pull/10539>`__: BUG: fix np.save issue with python 2.7.5 |
| 73 | +* `#10540<https://github.com/numpy/numpy/pull/10540>`__: BUG: Add missing DECREF in Py2 int() cast |
| 74 | +* `#10541<https://github.com/numpy/numpy/pull/10541>`__: TST: Add circleci document testing to maintenance/1.14.x |
| 75 | +* `#10542<https://github.com/numpy/numpy/pull/10542>`__: BUG: complex repr has extra spaces, missing + (1.14 backport) |
| 76 | +* `#10550<https://github.com/numpy/numpy/pull/10550>`__: BUG: Set missing exception after malloc |
| 77 | +* `#10557<https://github.com/numpy/numpy/pull/10557>`__: BUG: In numpy.i, clear CARRAY flag if wrapped buffer is not C_CONTIGUOUS. |
| 78 | +* `#10558<https://github.com/numpy/numpy/pull/10558>`__: DEP: Issue FutureWarning when malformed records detected. |
| 79 | +* `#10559<https://github.com/numpy/numpy/pull/10559>`__: BUG: Fix einsum optimize logic for singleton dimensions |
| 80 | +* `#10560<https://github.com/numpy/numpy/pull/10560>`__: BUG: Fix calling ufuncs with a positional output argument. |
| 81 | +* `#10561<https://github.com/numpy/numpy/pull/10561>`__: BUG: Fix various Big-Endian test failures (ppc64) |
| 82 | +* `#10562<https://github.com/numpy/numpy/pull/10562>`__: BUG: Make dtype.descr error for out-of-order fields. |
| 83 | +* `#10563<https://github.com/numpy/numpy/pull/10563>`__: BUG: arrays not being flattened in `union1d` |
| 84 | +* `#10607<https://github.com/numpy/numpy/pull/10607>`__: MAINT: Update sphinxext submodule hash. |
| 85 | +* `#10608<https://github.com/numpy/numpy/pull/10608>`__: BUG: Revert sort optimization in np.unique. |
| 86 | +* `#10609<https://github.com/numpy/numpy/pull/10609>`__: BUG: infinite recursion in str of 0d subclasses |
| 87 | +* `#10610<https://github.com/numpy/numpy/pull/10610>`__: BUG: Align type definition with generated lapack |
| 88 | +* `#10612<https://github.com/numpy/numpy/pull/10612>`__: BUG/ENH: Improve output for structured non-void types |
| 89 | +* `#10622<https://github.com/numpy/numpy/pull/10622>`__: BUG: deallocate recursive closure in arrayprint.py (1.14 backport) |
| 90 | +* `#10624<https://github.com/numpy/numpy/pull/10624>`__: BUG: Correctly identify comma seperated dtype strings |
| 91 | +* `#10629<https://github.com/numpy/numpy/pull/10629>`__: BUG: deallocate recursive closure in arrayprint.py (backport... |
| 92 | +* `#10630<https://github.com/numpy/numpy/pull/10630>`__: REL: Prepare for 1.14.1 release. |