Hi, I'm pleased to announce the availability of the first release candidate of NumPy 1.7.0rc1. Sources and binary installers can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.7.0rc1/ We have fixed all issues known to us since the 1.7.0b2 release. The only remaining issue is a documentation improvement: https://github.com/numpy/numpy/issues/561 Please test this release and report any issues on the numpy-discussion mailing list. If there are no more problems, we'll release the final version soon. I'll wait at least a week and please write me an email if you need more time for testing. I would like to thank Sebastian Berg, Ralf Gommers, Han Genuit, Nathaniel J. Smith, Jay Bourque, Gael Varoquaux, Mark Wiebe, Matthew Brett, Skipper Seabold, Peter Cock, Charles Harris, Frederic, Gabriel, Luis Pedro Coelho, Pauli Virtanen, Travis E. Oliphant and cgohlke for sending patches and fixes for this release since 1.7.0b2. Cheers, Ondrej P.S. Source code is uploaded to sourceforge, and I'll upload the rest of the Windows and Mac binaries in a few hours as they finish building.
Fantastic job everyone! Hats of to you Ondrej! -Travis On Dec 28, 2012, at 6:02 PM, Ondřej Čertík wrote:
Hi,
I'm pleased to announce the availability of the first release candidate of NumPy 1.7.0rc1.
Sources and binary installers can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.7.0rc1/
We have fixed all issues known to us since the 1.7.0b2 release. The only remaining issue is a documentation improvement:
https://github.com/numpy/numpy/issues/561
Please test this release and report any issues on the numpy-discussion mailing list. If there are no more problems, we'll release the final version soon. I'll wait at least a week and please write me an email if you need more time for testing.
I would like to thank Sebastian Berg, Ralf Gommers, Han Genuit, Nathaniel J. Smith, Jay Bourque, Gael Varoquaux, Mark Wiebe, Matthew Brett, Skipper Seabold, Peter Cock, Charles Harris, Frederic, Gabriel, Luis Pedro Coelho, Pauli Virtanen, Travis E. Oliphant and cgohlke for sending patches and fixes for this release since 1.7.0b2.
Cheers, Ondrej
P.S. Source code is uploaded to sourceforge, and I'll upload the rest of the Windows and Mac binaries in a few hours as they finish building. _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
On 12/28/2012 4:02 PM, Ondřej Čertík wrote:
Hi,
I'm pleased to announce the availability of the first release candidate of NumPy 1.7.0rc1.
Sources and binary installers can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.7.0rc1/
We have fixed all issues known to us since the 1.7.0b2 release. The only remaining issue is a documentation improvement:
https://github.com/numpy/numpy/issues/561
Please test this release and report any issues on the numpy-discussion mailing list. If there are no more problems, we'll release the final version soon. I'll wait at least a week and please write me an email if you need more time for testing.
I would like to thank Sebastian Berg, Ralf Gommers, Han Genuit, Nathaniel J. Smith, Jay Bourque, Gael Varoquaux, Mark Wiebe, Matthew Brett, Skipper Seabold, Peter Cock, Charles Harris, Frederic, Gabriel, Luis Pedro Coelho, Pauli Virtanen, Travis E. Oliphant and cgohlke for sending patches and fixes for this release since 1.7.0b2.
Cheers, Ondrej
P.S. Source code is uploaded to sourceforge, and I'll upload the rest of the Windows and Mac binaries in a few hours as they finish building.
Looks good so far. I tested numpy-MKL-1.7.0rc1.win-amd64-py2.7 with some packages that were compiled with numpy 1.6.x http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20121228-win-amd64-py2.7-num.... There are a few additional test failures in bottleneck and Cython, but they don't look serious. The rc works well on Python 3.3 too http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20121229-win-amd64-py3.3/. Christoph
Hi Christoph,
On Sat, Dec 29, 2012 at 5:46 AM, Christoph Gohlke
Looks good so far.
I tested numpy-MKL-1.7.0rc1.win-amd64-py2.7 with some packages that were compiled with numpy 1.6.x http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20121228-win-amd64-py2.7-num.... There are a few additional test failures in bottleneck and Cython, but they don't look serious.
The rc works well on Python 3.3 too http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20121229-win-amd64-py3.3/.
Thanks! I created an issue for it here: https://github.com/numpy/numpy/issues/2870 Ondrej P.S. Would you mind adding your name to your github profile (https://github.com/cgohlke) please? I was trying to figure out your full name so that I could thank you in the release email, but I could only find your handle "cgohlke" both at github and in the commit history. My apologies for that. Now I'll remember to google it in my gmail. :) But if you could also update it at github, that'd be the easiest. I can see that in master we have an updated .mailmap which fixes precisely this issue. I should have used it -- I was running it on the release branch which does not have it yet.
Hi Neal,
On Sat, Dec 29, 2012 at 9:35 AM, Neal Becker
Are release notes available?
Yes. There are here: http://sourceforge.net/projects/numpy/files/NumPy/1.7.0rc1/ if you slide the page down a little bit (sf.net just shows the file README.txt). I am posting them here as well for reference (I forgot to do it in my release email). Ondrej ------------------- ========================= NumPy 1.7.0 Release Notes ========================= This release includes several new features as well as numerous bug fixes and refactorings. It supports Python 2.4 - 2.7 and 3.1 - 3.3 and is the last release that supports Python 2.4 - 2.5. Highlights ========== * ``where=`` parameter to ufuncs (allows the use of boolean arrays to choose where a computation should be done) * ``vectorize`` improvements (added 'excluded' and 'cache' keyword, general cleanup and bug fixes) * ``numpy.random.choice`` (random sample generating function) Compatibility notes =================== In a future version of numpy, the functions np.diag, np.diagonal, and the diagonal method of ndarrays will return a view onto the original array, instead of producing a copy as they do now. This makes a difference if you write to the array returned by any of these functions. To facilitate this transition, numpy 1.7 produces a FutureWarning if it detects that you may be attempting to write to such an array. See the documentation for np.diagonal for details. Similar to np.diagonal above, in a future version of numpy, indexing a record array by a list of field names will return a view onto the original array, instead of producing a copy as they do now. As with np.diagonal, numpy 1.7 produces a FutureWarning if it detects that you may be attempting to write to such an array. See the documentation for array indexing for details. In a future version of numpy, the default casting rule for UFunc out= parameters will be changed from 'unsafe' to 'same_kind'. (This also applies to in-place operations like a += b, which is equivalent to np.add(a, b, out=a).) Most usages which violate the 'same_kind' rule are likely bugs, so this change may expose previously undetected errors in projects that depend on NumPy. In this version of numpy, such usages will continue to succeed, but will raise a DeprecationWarning. Full-array boolean indexing has been optimized to use a different, optimized code path. This code path should produce the same results, but any feedback about changes to your code would be appreciated. Attempting to write to a read-only array (one with ``arr.flags.writeable`` set to ``False``) used to raise either a RuntimeError, ValueError, or TypeError inconsistently, depending on which code path was taken. It now consistently raises a ValueError. The <ufunc>.reduce functions evaluate some reductions in a different order than in previous versions of NumPy, generally providing higher performance. Because of the nature of floating-point arithmetic, this may subtly change some results, just as linking NumPy to a different BLAS implementations such as MKL can. If upgrading from 1.5, then generally in 1.6 and 1.7 there have been substantial code added and some code paths altered, particularly in the areas of type resolution and buffered iteration over universal functions. This might have an impact on your code particularly if you relied on accidental behavior in the past. New features ============ Reduction UFuncs Generalize axis= Parameter ------------------------------------------- Any ufunc.reduce function call, as well as other reductions like sum, prod, any, all, max and min support the ability to choose a subset of the axes to reduce over. Previously, one could say axis=None to mean all the axes or axis=# to pick a single axis. Now, one can also say axis=(#,#) to pick a list of axes for reduction. Reduction UFuncs New keepdims= Parameter ---------------------------------------- There is a new keepdims= parameter, which if set to True, doesn't throw away the reduction axes but instead sets them to have size one. When this option is set, the reduction result will broadcast correctly to the original operand which was reduced. Datetime support ---------------- .. note:: The datetime API is *experimental* in 1.7.0, and may undergo changes in future versions of NumPy. There have been a lot of fixes and enhancements to datetime64 compared to NumPy 1.6: * the parser is quite strict about only accepting ISO 8601 dates, with a few convenience extensions * converts between units correctly * datetime arithmetic works correctly * business day functionality (allows the datetime to be used in contexts where only certain days of the week are valid) The notes in `doc/source/reference/arrays.datetime.rst https://github.com/numpy/numpy/blob/maintenance/1.7.x/doc/source/reference/a...`_ (also available in the online docs at `arrays.datetime.html http://docs.scipy.org/doc/numpy/reference/arrays.datetime.html`_) should be consulted for more details. Custom formatter for printing arrays ------------------------------------ See the new ``formatter`` parameter of the ``numpy.set_printoptions`` function. New function numpy.random.choice --------------------------------- A generic sampling function has been added which will generate samples from a given array-like. The samples can be with or without replacement, and with uniform or given non-uniform probabilities. New function isclose -------------------- Returns a boolean array where two arrays are element-wise equal within a tolerance. Both relative and absolute tolerance can be specified. Preliminary multi-dimensional support in the polynomial package --------------------------------------------------------------- Axis keywords have been added to the integration and differentiation functions and a tensor keyword was added to the evaluation functions. These additions allow multi-dimensional coefficient arrays to be used in those functions. New functions for evaluating 2-D and 3-D coefficient arrays on grids or sets of points were added together with 2-D and 3-D pseudo-Vandermonde matrices that can be used for fitting. Ability to pad rank-n arrays ---------------------------- A pad module containing functions for padding n-dimensional arrays has been added. The various private padding functions are exposed as options to a public 'pad' function. Example:: pad(a, 5, mode='mean') Current modes are ``constant``, ``edge``, ``linear_ramp``, ``maximum``, ``mean``, ``median``, ``minimum``, ``reflect``, ``symmetric``, ``wrap``, and ``<function>``. New argument to searchsorted ---------------------------- The function searchsorted now accepts a 'sorter' argument that is a permutation array that sorts the array to search. C API ----- New function ``PyArray_RequireWriteable`` provides a consistent interface for checking array writeability -- any C code which works with arrays whose WRITEABLE flag is not known to be True a priori, should make sure to call this function before writing. NumPy C Style Guide added (``doc/C_STYLE_GUIDE.rst.txt``). Changes ======= General ------- The function np.concatenate tries to match the layout of its input arrays. Previously, the layout did not follow any particular reason, and depended in an undesirable way on the particular axis chosen for concatenation. A bug was also fixed which silently allowed out of bounds axis arguments. The ufuncs logical_or, logical_and, and logical_not now follow Python's behavior with object arrays, instead of trying to call methods on the objects. For example the expression (3 and 'test') produces the string 'test', and now np.logical_and(np.array(3, 'O'), np.array('test', 'O')) produces 'test' as well. The ``.base`` attribute on ndarrays, which is used on views to ensure that the underlying array owning the memory is not deallocated prematurely, now collapses out references when you have a view-of-a-view. For example:: a = np.arange(10) b = a[1:] c = b[1:] In numpy 1.6, ``c.base`` is ``b``, and ``c.base.base`` is ``a``. In numpy 1.7, ``c.base`` is ``a``. To increase backwards compatibility for software which relies on the old behaviour of ``.base``, we only 'skip over' objects which have exactly the same type as the newly created view. This makes a difference if you use ``ndarray`` subclasses. For example, if we have a mix of ``ndarray`` and ``matrix`` objects which are all views on the same original ``ndarray``:: a = np.arange(10) b = np.asmatrix(a) c = b[0, 1:] d = c[0, 1:] then ``d.base`` will be ``b``. This is because ``d`` is a ``matrix`` object, and so the collapsing process only continues so long as it encounters other ``matrix`` objects. It considers ``c``, ``b``, and ``a`` in that order, and ``b`` is the last entry in that list which is a ``matrix`` object. Deprecations ============ General ------- Specifying a custom string formatter with a `_format` array attribute is deprecated. The new `formatter` keyword in ``numpy.set_printoptions`` or ``numpy.array2string`` can be used instead. The deprecated imports in the polynomial package have been removed. ``concatenate`` now raises DepractionWarning for 1D arrays if ``axis != 0``. Versions of numpy < 1.7.0 ignored axis argument value for 1D arrays. We allow this for now, but in due course we will raise an error. C-API ----- Direct access to the fields of PyArrayObject* has been deprecated. Direct access has been recommended against for many releases. Expect similar deprecations for PyArray_Descr* and other core objects in the future as preparation for NumPy 2.0. The macros in old_defines.h are deprecated and will be removed in the next major release (>= 2.0). The sed script tools/replace_old_macros.sed can be used to replace these macros with the newer versions. You can test your code against the deprecated C API by #defining NPY_NO_DEPRECATED_API to the target version number, for example NPY_1_7_API_VERSION, before including any NumPy headers. The ``NPY_CHAR`` member of the ``NPY_TYPES`` enum is deprecated and will be removed in NumPy 1.8. See the discussion at `gh-2801 https://github.com/numpy/numpy/issues/2801`_ for more details. Checksums ========= 0abe9356c7fc5e2dc3ff3a1f7292db23 release/installers/numpy-1.7.0rc1.zip ea4268cb12cc759a33861b8c04535f3b release/installers/numpy-1.7.0rc1-win32-superpack-python3.3.exe b5ba5ae858b8d1b4d50742aefe20e151 release/installers/numpy-1.7.0rc1-win32-superpack-python2.6.exe 6cc692e53df87e7c2a9c5dd742fa3556 release/installers/numpy-1.7.0rc1-win32-superpack-python2.5.exe e164beae6c43d514f1ebba5a34aa4162 release/installers/numpy-1.7.0rc1-win32-superpack-python3.1.exe a4719f5a1853bc0f8892a5956d5c4229 release/installers/numpy-1.7.0rc1.tar.gz ca0151c50c79c5843083c3f8817e5c20 release/installers/numpy-1.7.0rc1-win32-superpack-python3.2.exe 329c3e1560332248e2fb6efdd150e421 release/installers/numpy-1.7.0rc1-win32-superpack-python2.7.exe
Hi Ondrej & al,
On Sat, Dec 29, 2012 at 1:02 AM, Ondřej Čertík
I'm pleased to announce the availability of the first release candidate of NumPy 1.7.0rc1.
Congrats on this RC release! I've uploaded this version to Debian and updated some of the issues related to it. There are also a couple of minor PR you might want to consider for 1.7: 2872 and 2873. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
Hi,
Congratulation for the release and a big thanks for the hard work.
I tested it with our software and all work fine.
thanks!
Frédéric
On Sun, Dec 30, 2012 at 7:17 PM, Sandro Tosi
Hi Ondrej & al,
On Sat, Dec 29, 2012 at 1:02 AM, Ondřej Čertík
wrote: I'm pleased to announce the availability of the first release candidate of NumPy 1.7.0rc1.
Congrats on this RC release!
I've uploaded this version to Debian and updated some of the issues related to it. There are also a couple of minor PR you might want to consider for 1.7: 2872 and 2873.
Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (6)
-
Christoph Gohlke
-
Frédéric Bastien
-
Neal Becker
-
Ondřej Čertík
-
Sandro Tosi
-
Travis Oliphant