Skip to content

Bump numpy from 1.19.4 to 1.20.0

WKDV Bot requested to merge dependabot/pip/numpy-1.20.0 into develop

Bumps numpy from 1.19.4 to 1.20.0.

Release notes

Sourced from numpy's releases.

v1.20.0

NumPy 1.20.0 Release Notes

This NumPy release is the largest so made to date, some 684 PRs contributed by 184 people have been merged. See the list of highlights below for more details. The Python versions supported for this release are 3.7-3.9, support for Python 3.6 has been dropped. Highlights are

  • Annotations for NumPy functions. This work is ongoing and improvements can be expected pending feedback from users.
  • Wider use of SIMD to increase execution speed of ufuncs. Much work has been done in introducing universal functions that will ease use of modern features across different hardware platforms. This work is ongoing.
  • Preliminary work in changing the dtype and casting implementations in order to provide an easier path to extending dtypes. This work is ongoing but enough has been done to allow experimentation and feedback.
  • Extensive documentation improvements comprising some 185 PR merges. This work is ongoing and part of the larger project to improve NumPy's online presence and usefulness to new users.
  • Further cleanups related to removing Python 2.7. This improves code readability and removes technical debt.
  • Preliminary support for the upcoming Cython 3.0.

New functions

The random.Generator class has a new permuted function.

The new function differs from shuffle and permutation in that the subarrays indexed by an axis are permuted rather than the axis being treated as a separate 1-D array for every combination of the other indexes. For example, it is now possible to permute the rows or columns of a 2-D array.

(gh-15121)

sliding_window_view provides a sliding window view for numpy arrays

numpy.lib.stride\_tricks.sliding\_window\_view constructs views on numpy arrays that offer a sliding or moving window access to the array. This allows for the simple implementation of certain algorithms, such as running means.

(gh-17394)

[numpy.broadcast_shapes]{.title-ref} is a new user-facing function

... (truncated)
Commits
  • fb215c7 REL: NumPy 1.20.0 release with fix.
  • 6c3cabd TST: Don't fail check_large_zip on signal 9
  • 40a1d54 REL: NumPy 1.20.0 release.
  • a22f3df Merge pull request #18259 from charris/prepare-for-1.20.0-release
  • ccd7337 DOC: Prepare for the NumPy 1.20.0 release.
  • 32d3696 Merge pull request #18257 from charris/backport-18150
  • 91d18dd Merge pull request #18258 from charris/backport-18255
  • 96b0452 add an 'apt update'
  • f3070c5 Update numpy/core/src/multiarray/mapping.c
  • 436aec5 BUG: Ensure too many advanced indices raises an exception
  • Additional commits viewable in compare view

Merge request reports

Loading