Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REL: Prepare for 1.21.0 release #19283

Merged
merged 3 commits into from Jun 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 0 additions & 7 deletions changelog/13578.deprecation.rst

This file was deleted.

19 changes: 15 additions & 4 deletions doc/changelog/1.21.0-changelog.rst
Expand Up @@ -2,7 +2,7 @@
Contributors
============

A total of 173 people contributed to this release. People with a "+" by their
A total of 175 people contributed to this release. People with a "+" by their
names contributed a patch for the first time.

* @8bitmp3 +
Expand Down Expand Up @@ -95,6 +95,7 @@ names contributed a patch for the first time.
* Kamil Choudhury +
* Kasia Leszek +
* Keller Meier +
* Kenichi Maehashi
* Kevin Sheppard
* Kulin Seth +
* Kumud Lakara +
Expand Down Expand Up @@ -144,6 +145,7 @@ names contributed a patch for the first time.
* Panos Mavrogiorgos +
* Patrick T. Komiske III +
* Pearu Peterson
* Peter Hawkins +
* Raghuveer Devulapalli
* Ralf Gommers
* Raúl Montón Pinillos +
Expand Down Expand Up @@ -182,7 +184,7 @@ names contributed a patch for the first time.
Pull requests merged
====================

A total of 571 pull requests were merged for this release.
A total of 581 pull requests were merged for this release.

* `#13578 <https://github.com/numpy/numpy/pull/13578>`__: DEP: Deprecate `data_type.dtype` if attribute is not already...
* `#15269 <https://github.com/numpy/numpy/pull/15269>`__: ENH: Implement faster keyword argument parsing capable of ``METH_FASTCALL``
Expand Down Expand Up @@ -754,5 +756,14 @@ A total of 571 pull requests were merged for this release.
* `#19180 <https://github.com/numpy/numpy/pull/19180>`__: BUG: Add -std=c99 to intel icc compiler flags on linux
* `#19193 <https://github.com/numpy/numpy/pull/19193>`__: NEP: Accept NEP 35 as final
* `#19194 <https://github.com/numpy/numpy/pull/19194>`__: MAINT, BUG: Adapt `castingimpl.casting` to denote a minimal level
* `#19197 <https://github.com/numpy/numpy/pull/19197>`__: DOC: Prepare for NumPy 1.20.0rc2 release.

* `#19197 <https://github.com/numpy/numpy/pull/19197>`__: REL: Prepare for NumPy 1.20.0rc2 release.
* `#19213 <https://github.com/numpy/numpy/pull/19213>`__: MAINT: Add annotations for the missing `period` parameter to...
* `#19219 <https://github.com/numpy/numpy/pull/19219>`__: MAINT: Add `complex` as allowed type for the `np.complexfloating`...
* `#19233 <https://github.com/numpy/numpy/pull/19233>`__: TST: Ignore exp FP exceptions test for glibc ver < 2.17
* `#19238 <https://github.com/numpy/numpy/pull/19238>`__: MAINT: replace imgmath with mathjax for docs
* `#19239 <https://github.com/numpy/numpy/pull/19239>`__: BUG: Fix out-of-bounds access in convert_datetime_divisor_to_multiple
* `#19240 <https://github.com/numpy/numpy/pull/19240>`__: ENH: Support major version larger than 9 in NumpyVersion
* `#19268 <https://github.com/numpy/numpy/pull/19268>`__: DOC: fix duplicate navbar in development documentation index
* `#19269 <https://github.com/numpy/numpy/pull/19269>`__: BUG: Invalid dtypes comparison should not raise TypeError
* `#19280 <https://github.com/numpy/numpy/pull/19280>`__: BUG: Add missing DECREF in new path
* `#19283 <https://github.com/numpy/numpy/pull/19283>`__: REL: Prepare for 1.21.0 release
20 changes: 20 additions & 0 deletions doc/source/release/1.21.0-notes.rst
Expand Up @@ -17,6 +17,16 @@ In addition there are the usual large number of bug fixes and other improvements
The Python versions supported for this release are 3.7-3.9. Official support
for Python 3.10 will be added when it is released.

.. warning::
There are unresolved problems compiling NumPy 1.20.0 with gcc-11.1.

* Optimization level `-O3` results in many incorrect warnings when
running the tests.
* On some hardware NumPY will hang in an infinite loop.





New functions
=============
Expand Down Expand Up @@ -75,6 +85,16 @@ Expired deprecations
Deprecations
============

The ``.dtype`` attribute must return a ``dtype``
------------------------------------------------

A ``DeprecationWarning`` is now given if the ``.dtype`` attribute
of an object passed into ``np.dtype`` or as a ``dtype=obj`` argument
is not a dtype. NumPy will stop attempting to recursively coerce the
result of ``.dtype``.

(`gh-13578 <https://github.com/numpy/numpy/pull/13578>`__)

Inexact matches for ``numpy.convolve`` and ``numpy.correlate`` are deprecated
-----------------------------------------------------------------------------

Expand Down