-
Notifications
You must be signed in to change notification settings - Fork 4
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
Bump numpy from 1.26.4 to 2.1.0 #243
Conversation
WalkthroughThe primary change across the project involves an upgrade of the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- .ci_support/environment-mpich.yml (1 hunks)
- .ci_support/environment-openmpi.yml (1 hunks)
- binder/environment.yml (1 hunks)
- pyproject.toml (1 hunks)
Additional comments not posted (4)
binder/environment.yml (1)
5-5
: Verify compatibility and impacts ofnumpy
upgrade.The
numpy
version has been updated to2.1.0
. Ensure that this upgrade does not introduce compatibility issues with other dependencies or the existing codebase..ci_support/environment-mpich.yml (1)
7-7
: Verify compatibility and impacts ofnumpy
upgrade in CI environment.The
numpy
version has been updated to2.1.0
. Ensure that this upgrade does not introduce compatibility issues with the CI environment or the existing codebase..ci_support/environment-openmpi.yml (1)
7-7
: Verify compatibility and impacts ofnumpy
upgrade in CI environment.The
numpy
version has been updated to2.1.0
. Ensure that this upgrade does not introduce compatibility issues with the CI environment or the existing codebase.pyproject.toml (1)
29-29
: Verify compatibility and impacts ofnumpy
upgrade on project.The
numpy
version has been updated to2.1.0
. Ensure that this upgrade does not introduce compatibility issues with the project's requirements or affect its functionality.
Bumps [numpy](https://github.com/numpy/numpy) from 1.26.4 to 2.1.0. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v1.26.4...v2.1.0) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
7f09c92
to
18c9b01
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- .ci_support/environment-mpich.yml (1 hunks)
- .ci_support/environment-openmpi.yml (1 hunks)
- binder/environment.yml (1 hunks)
- pyproject.toml (1 hunks)
Additional comments not posted (4)
binder/environment.yml (1)
5-5
: Verify compatibility with the newnumpy
version.The upgrade to
numpy 2.1.0
might introduce breaking changes or new features. Ensure that the rest of the codebase is compatible with this new version.Run the following script to check for any deprecated or breaking changes in the codebase:
Verification successful
No immediate compatibility issues found with
numpy
2.1.0. The search for deprecated or breaking changes related to specificnumpy
functions (fix_imports
,bincount
,nonzero
) did not yield any results. However, consider reviewing the entire codebase for othernumpy
usages and cross-referencing with thenumpy
2.1.0 release notes for comprehensive verification.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check for deprecated or breaking changes due to numpy upgrade. # Test: Search for deprecated or breaking changes. Expect: No deprecated or breaking changes. rg --type python -A 5 'numpy\.' | grep -E 'fix_imports|bincount|nonzero'Length of output: 105
Script:
#!/bin/bash # Description: Check for deprecated or breaking changes due to numpy upgrade. # Corrected Test: Search for deprecated or breaking changes. Expect: No deprecated or breaking changes. rg -t py -A 5 'numpy\.' | grep -E 'fix_imports|bincount|nonzero'Length of output: 66
.ci_support/environment-mpich.yml (1)
7-7
: Verify compatibility with the newnumpy
version.The upgrade to
numpy 2.1.0
might introduce breaking changes or new features. Ensure that the rest of the codebase is compatible with this new version.Run the following script to check for any deprecated or breaking changes in the codebase:
Verification successful
No immediate compatibility issues found with the
numpy
upgrade.The search did not reveal any deprecated or breaking changes related to the specified patterns in the codebase. However, it is recommended to manually review numpy's release notes for version 2.1.0 to ensure full compatibility.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check for deprecated or breaking changes due to numpy upgrade. # Test: Search for deprecated or breaking changes. Expect: No deprecated or breaking changes. rg --type python -A 5 'numpy\.' | grep -E 'fix_imports|bincount|nonzero'Length of output: 105
Script:
#!/bin/bash # Description: Check for deprecated or breaking changes due to numpy upgrade. # Correct the file type and broaden the search for potential issues. rg --type py -A 5 'numpy\.' | grep -E 'fix_imports|bincount|nonzero|deprecated|removed|changed'Length of output: 97
.ci_support/environment-openmpi.yml (1)
7-7
: Verify compatibility with the newnumpy
version.The upgrade to
numpy 2.1.0
might introduce breaking changes or new features. Ensure that the rest of the codebase is compatible with this new version.Run the following script to check for any deprecated or breaking changes in the codebase:
pyproject.toml (1)
29-29
: Verify compatibility withnumpy
2.1.0.The update to
numpy
version2.1.0
introduces new features and potentially breaking changes. Ensure that the codebase is compatible with this new version and that any deprecated features are addressed.Run the following script to check for deprecated features and ensure compatibility:
Superseded by #250. |
Bumps numpy from 1.26.4 to 2.1.0.
Release notes
Sourced from numpy's releases.
... (truncated)
Commits
2f7fe64
Merge pull request #27236 from charris/prepare-2.1.0b6f434f
REL: Prepare for the NumPy 2.1.0 release [wheel build]3cf9394
Merge pull request #27234 from charris/backport-259847443dcc
Merge pull request #27233 from charris/backport-2722385b1cab
BUG: Allow fitting of degree zero polynomials with Polynomial.fit395a81d
DOC: reword discussion about shared arrays to hopefully be clearer5af2e96
Move NUMUSERTYPES thread safety discussion to legacy DType API docsd902c24
DOC: add docs on thread safety in NumPyc080180
Merge pull request #27229 from charris/backport-2722644ce7e8
BUG: FixPyArray_ZeroContiguousBuffer
(resize) with struct 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
.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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@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)Summary by CodeRabbit
New Features
numpy
library to version2.1.0
, introducing potential enhancements and optimizations.Bug Fixes
numpy
version, which may resolve issues present in the previous version.Documentation
numpy
across multiple environments.