Created by: dependabot[bot]
Bumps numpy from 1.16.4 to 1.21.0.
Release notes
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: 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)
Commits
-
b235f9eMerge pull request #19283 from charris/prepare-1.21.0-release -
34aebc2MAINT: Update 1.21.0-notes.rst -
493b64bMAINT: Update 1.21.0-changelog.rst -
07d7e72MAINT: Remove accidentally created directory. -
032fca5Merge pull request #19280 from charris/backport-19277 -
7d25b81BUG: Fix refcount leak in ResultType -
fa5754eBUG: Add missing DECREF in new path -
61127bbMerge pull request #19268 from charris/backport-19264 -
143d45fMerge pull request #19269 from charris/backport-19228 -
d80e473BUG: Removed typing for == and != in dtypes - Additional commits viewable in compare view
Dependabot 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.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.