Originally created by: dependabot[bot]
Bumps numpy from 1.18.2 to 1.21.0.
Sourced from numpy's releases.
v1.21.0
NumPy 1.21.0 Release Notes
The NumPy 1.21.0 release highlights are
- continued SIMD work covering more functions and platforms,
- initial work on the new dtype infrastructure and casting,
- universal2 wheels for Python 3.8 and Python 3.9 on Mac,
- improved documentation,
- improved annotations,
- new
PCG64DXSMbitgenerator for random numbers.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: Warning: there are unresolved problems compiling NumPy 1.21.0 with gcc-11.1 .
- Optimization level
-O3results in many wrong warnings when running the tests.- On some hardware NumPy will hang in an infinite loop.
New functions
Add PCG64DXSM BitGenerator
Uses of the PCG64 BitGenerator in a massively-parallel context have been shown to have statistical weaknesses that were not apparent at the first release in numpy 1.17. Most users will never observe this weakness and are safe to continue to use PCG64. We have introduced a new PCG64DXSM BitGenerator that will eventually become the new default BitGenerator implementation used by
default_rngin future releases. PCG64DXSM solves the statistical weakness while preserving the performance and the features of PCG64.See
upgrading-pcg64for more details.(gh-18906)
Expired deprecations
- The
shapeargumentnumpy.unravel_indexcannot be passed asdimskeyword argument anymore. (Was deprecated in NumPy 1.16.)
... (truncated)
b235f9e Merge pull request #19283](https://github.com/href="https://github-redirect.dependabot.com/numpy/numpy/issues/19283">/issues/19283) from charris/prepare-1.21.0-release34aebc2 MAINT: Update 1.21.0-notes.rst493b64b MAINT: Update 1.21.0-changelog.rst07d7e72 MAINT: Remove accidentally created directory.032fca5 Merge pull request #19280](https://github.com/href="https://github-redirect.dependabot.com/numpy/numpy/issues/19280">/issues/19280) from charris/backport-192777d25b81 BUG: Fix refcount leak in ResultTypefa5754e BUG: Add missing DECREF in new path61127bb Merge pull request #19268](https://github.com/href="https://github-redirect.dependabot.com/numpy/numpy/issues/19268">/issues/19268) from charris/backport-19264143d45f Merge pull request #19269](https://github.com/href="https://github-redirect.dependabot.com/numpy/numpy/issues/19269">/issues/19269) from charris/backport-19228d80e473 BUG: Removed typing for == and != in dtypesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Originally posted by: dependabot[bot]
Superseded by [#3].
Related
Tickets: #3
Ticket changed by: dependabot[bot]