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
PCG64DXSM
bitgenerator 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
-O3
results 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_rng
in future releases. PCG64DXSM solves the statistical weakness while preserving the performance and the features of PCG64.See
upgrading-pcg64
for more details.(gh-18906)
Expired deprecations
- The
shape
argumentnumpy.unravel_index
cannot be passed asdims
keyword argument anymore. (Was deprecated in NumPy 1.16.)
... (truncated)
Commits
-
b235f9e
Merge pull request #19283 from charris/prepare-1.21.0-release -
34aebc2
MAINT: Update 1.21.0-notes.rst -
493b64b
MAINT: Update 1.21.0-changelog.rst -
07d7e72
MAINT: Remove accidentally created directory. -
032fca5
Merge pull request #19280 from charris/backport-19277 -
7d25b81
BUG: Fix refcount leak in ResultType -
fa5754e
BUG: Add missing DECREF in new path -
61127bb
Merge pull request #19268 from charris/backport-19264 -
143d45f
Merge pull request #19269 from charris/backport-19228 -
d80e473
BUG: 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will 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 labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will 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.