Hi All, On behalf of the NumPy team, I am pleased to announce NumPy 1.14.0. Numpy 1.14.0 is the result of seven months of work and contains a large number of bug fixes and new features, along with several changes with potential compatibility issues. The major change that users will notice are the stylistic changes in the way numpy arrays and scalars are printed, a change that will affect doctests. See the release notes for details on how to preserve the old style printing when needed. A major decision affecting future development concerns the schedule for dropping Python 2.7 support in the runup to 2020. The decision has been made to support 2.7 for all releases made in 2018, with the last release being designated a long term release with support for bug fixes extending through the end of 2019. Starting from January, 2019 support for 2.7 will be dropped in all new releases. More details can be found in the relevant NEP https://github.com/numpy/numpy/blob/master/doc/neps/dropping-python2.7-propo... . This release supports Python 2.7 and 3.4 - 3.6. Wheels for the release are available on PyPI. Source tarballs, zipfiles, release notes, and the changelog are available on github https://github.com/numpy/numpy/releases/tag/v1.14.0. *Highlights* - The ``np.einsum`` function uses BLAS when possible - ``genfromtxt``, ``loadtxt``, ``fromregex`` and ``savetxt`` can now handle files with arbitrary Python supported encoding. - Major improvements to printing of NumPy arrays and scalars. *New functions* - ``parametrize``: decorator added to numpy.testing - ``chebinterpolate``: Interpolate function at Chebyshev points. - ``format_float_positional`` and ``format_float_scientific`` : format floating-point scalars unambiguously with control of rounding and padding. - ``PyArray_ResolveWritebackIfCopy`` and ``PyArray_SetWritebackIfCopyBase``, new C-API functions useful in achieving PyPy compatibity. *Contributors* A total of 100 people contributed to this release. People with a "+" by their names contributed a patch for the first time. * Alexey Brodkin + * Allan Haldane * Andras Deak + * Andrew Lawson + * Anna Chiara + * Antoine Pitrou * Bernhard M. Wiedemann + * Bob Eldering + * Brandon Carter * CJ Carey * Charles Harris * Chris Lamb * Christoph Boeddeker + * Christoph Gohlke * Daniel Hrisca + * Daniel Smith * Danny Hermes * David Freese * David Hagen * David Linke + * David Schaefer + * Dillon Niederhut + * Egor Panfilov + * Emilien Kofman * Eric Wieser * Erik Bray + * Erik Quaeghebeur + * Garry Polley + * Gunjan + * Han Shen + * Henke Adolfsson + * Hidehiro NAGAOKA + * Hemil Desai + * Hong Xu + * Iryna Shcherbina + * Jaime Fernandez * James Bourbeau + * Jamie Townsend + * Jarrod Millman * Jean Helie + * Jeroen Demeyer + * John Goetz + * John Kirkham * John Zwinck * Jonathan Helmus * Joseph Fox-Rabinovitz * Joseph Paul Cohen + * Joshua Leahy + * Julian Taylor * Jörg Döpfert + * Keno Goertz + * Kevin Sheppard + * Kexuan Sun + * Konrad Kapp + * Kristofor Maynard + * Licht Takeuchi + * Loïc Estève * Lukas Mericle + * Marten van Kerkwijk * Matheus Portela + * Matthew Brett * Matti Picus * Michael Lamparski + * Michael Odintsov + * Michael Schnaitter + * Michael Seifert * Mike Nolta * Nathaniel J. Smith * Nelle Varoquaux + * Nicholas Del Grosso + * Nico Schlömer + * Oleg Zabluda + * Oleksandr Pavlyk * Pauli Virtanen * Pim de Haan + * Ralf Gommers * Robert T. McGibbon + * Roland Kaufmann * Sebastian Berg * Serhiy Storchaka + * Shitian Ni + * Spencer Hill + * Srinivas Reddy Thatiparthy + * Stefan Winkler + * Stephan Hoyer * Steven Maude + * SuperBo + * Thomas Köppe + * Toon Verstraelen * Vedant Misra + * Warren Weckesser * Wirawan Purwanto + * Yang Li + * Ziyan Zhou + * chaoyu3 + * orbit-stabilizer + * solarjoe * wufangjie + * xoviat + * Élie Gouzien + Cheers, Charles Harris
On 01/07/2018 12:37 PM, Ralf Gommers wrote:
On Sun, Jan 7, 2018 at 2:00 PM, Charles R Harris
mailto:charlesr.harris@gmail.com> wrote: Hi All,
On behalf of the NumPy team, I am pleased to announce NumPy 1.14.0.
Thanks for doing the heavy lifting to get this release out the door Chuck!
Ralf
Yes, I am always very impressed and appreciative of all the work Chuck does for Numpy. Thank you very much! Allan
On Sun, Jan 7, 2018 at 12:59 PM, Allan Haldane
On 01/07/2018 12:37 PM, Ralf Gommers wrote:
On Sun, Jan 7, 2018 at 2:00 PM, Charles R Harris
mailto:charlesr.harris@gmail.com> wrote: Hi All,
On behalf of the NumPy team, I am pleased to announce NumPy 1.14.0.
Thanks for doing the heavy lifting to get this release out the door Chuck!
Ralf
Yes, I am always very impressed and appreciative of all the work Chuck does for Numpy. Thank you very much!
+1 -- Nathaniel J. Smith -- https://vorpus.org
statsmodels does not work with numpy 1.4.0 Besides the missing WarningsManager there seems to be 22 errors or failures from changes in numpy behavior, mainly from recarrays again. Josef
I assume you mean 1.14.0, rather than 1.4.0?
Did recarrays change? I didn't see anything in the release notes.
On Sat, Jan 13, 2018 at 4:25 PM,
statsmodels does not work with numpy 1.4.0
Besides the missing WarningsManager there seems to be 22 errors or failures from changes in numpy behavior, mainly from recarrays again.
Josef _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
On Sat, Jan 13, 2018 at 4:49 PM, Benjamin Root
I assume you mean 1.14.0, rather than 1.4.0?
Yes, typo
Did recarrays change? I didn't see anything in the release notes.
I didn't look at the details. thequackdaddy is doing the hunting. maybe it's the loadtxt interaction one problem is with converters https://github.com/statsmodels/statsmodels/pull/4205/files (statsmodels has too much "legacy" code from pre-pandas days.) Josef
On Sat, Jan 13, 2018 at 4:25 PM,
wrote: statsmodels does not work with numpy 1.4.0
Besides the missing WarningsManager there seems to be 22 errors or failures from changes in numpy behavior, mainly from recarrays again.
Josef _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
Did recarrays change? I didn’t see anything in the release notes.
Not directly, but structured arrays did
https://github.com/numpy/numpy/blob/master/doc/release/1.14.0-notes.rst#mult...,
for which recarrays are really just a thin and somewhat buggy wrapper.
On Sat, 13 Jan 2018 at 14:19
On Sat, Jan 13, 2018 at 4:49 PM, Benjamin Root
wrote: I assume you mean 1.14.0, rather than 1.4.0?
Yes, typo
Did recarrays change? I didn't see anything in the release notes.
I didn't look at the details. thequackdaddy is doing the hunting. maybe it's the loadtxt interaction one problem is with converters https://github.com/statsmodels/statsmodels/pull/4205/files
(statsmodels has too much "legacy" code from pre-pandas days.)
Josef
On Sat, Jan 13, 2018 at 4:25 PM,
wrote: statsmodels does not work with numpy 1.4.0
Besides the missing WarningsManager there seems to be 22 errors or failures from changes in numpy behavior, mainly from recarrays again.
Josef _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
Hi,
On Sun, Jan 14, 2018 at 3:35 AM, Eric Wieser
Did recarrays change? I didn’t see anything in the release notes.
Not directly, but structured arrays did, for which recarrays are really just a thin and somewhat buggy wrapper.
Oh dear oh dear - for some reason I had completely missed these changes, and the justification for them. They do exactly the kind of thing that Konrad Hinsen was complaining about before, with justification, which is to change the behavior of previous code, without an intervening (long) period of raising an error. In this case, the benefits of these changes seem small, compared to the inevitable breakage and silently changed results they will cause. Is there any chance of reversing them? Cheers, Matthew
On Sun, 2018-01-14 at 11:35 +0000, Matthew Brett wrote:
Hi,
On Sun, Jan 14, 2018 at 3:35 AM, Eric Wieser
wrote: Did recarrays change? I didn’t see anything in the release notes.
Not directly, but structured arrays did, for which recarrays are really just a thin and somewhat buggy wrapper.
Oh dear oh dear - for some reason I had completely missed these changes, and the justification for them.
They do exactly the kind of thing that Konrad Hinsen was complaining about before, with justification, which is to change the behavior of previous code, without an intervening (long) period of raising an error. In this case, the benefits of these changes seem small, compared to the inevitable breakage and silently changed results they will cause.
Is there any chance of reversing them?
Without knowing the change, there is always a chance of (temporary) reversal and for unexpected complications its probably the safest default if there is no agreement anyway. - Sebastian
Cheers,
Matthew _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
On Sun, Jan 14, 2018 at 4:35 AM, Matthew Brett
Hi,
On Sun, Jan 14, 2018 at 3:35 AM, Eric Wieser
wrote: Did recarrays change? I didn’t see anything in the release notes.
Not directly, but structured arrays did, for which recarrays are really just a thin and somewhat buggy wrapper.
Oh dear oh dear - for some reason I had completely missed these changes, and the justification for them.
See https://github.com/numpy/numpy/pull/6053. It actually goes back a couple of years.
They do exactly the kind of thing that Konrad Hinsen was complaining about before, with justification, which is to change the behavior of previous code, without an intervening (long) period of raising an error. In this case, the benefits of these changes seem small, compared to the inevitable breakage and silently changed results they will cause.
Is there any chance of reversing them?
Maybe, we'll see how things go. Chuck
On 01/14/2018 11:30 AM, Charles R Harris wrote:
On Sun, Jan 14, 2018 at 4:35 AM, Matthew Brett
mailto:matthew.brett@gmail.com> wrote: Hi,
On Sun, Jan 14, 2018 at 3:35 AM, Eric Wieser
mailto:wieser.eric%2Bnumpy@gmail.com> wrote: > Did recarrays change? I didn’t see anything in the release notes. > > Not directly, but structured arrays did, for which recarrays are really just > a thin and somewhat buggy wrapper. Oh dear oh dear - for some reason I had completely missed these changes, and the justification for them.
See https://github.com/numpy/numpy/pull/6053. It actually goes back a couple of years.
They do exactly the kind of thing that Konrad Hinsen was complaining about before, with justification, which is to change the behavior of previous code, without an intervening (long) period of raising an error. In this case, the benefits of these changes seem small, compared to the inevitable breakage and silently changed results they will cause.
Is there any chance of reversing them?
Of course the goal was to make things backwards-compatible; If some part of the changes is breaking a lot of code we will revert, or find a way to stop breaking code. It's not yet clear to me which exact changes are causing the problem. The statsmodel failures may be related to what we are working on in one of these different issues: https://github.com/numpy/numpy/issues/10344 https://github.com/numpy/numpy/issues/10387 https://github.com/numpy/numpy/issues/10394 I will be checking the statsmodel unit tests as we fix things, to make sure they pass in the end. Allan
On Sun, Jan 14, 2018 at 9:30 AM, Charles R Harris wrote: On Sun, Jan 14, 2018 at 4:35 AM, Matthew Brett Hi, On Sun, Jan 14, 2018 at 3:35 AM, Eric Wieser
Did recarrays change? I didn’t see anything in the release notes. Not directly, but structured arrays did, for which recarrays are really
just
a thin and somewhat buggy wrapper. Oh dear oh dear - for some reason I had completely missed these
changes, and the justification for them. See https://github.com/numpy/numpy/pull/6053. It actually goes back a
couple of years. And I wonder how many of these are related to
https://github.com/numpy/numpy/issues/10344, which came
about because there was previously an attempt to fix up malformed inputs.
<snip>
Chuck
participants (9)
-
Allan Haldane
-
Benjamin Root
-
Charles R Harris
-
Eric Wieser
-
josef.pktd@gmail.com
-
Matthew Brett
-
Nathaniel Smith
-
Ralf Gommers
-
Sebastian Berg