-
-
Notifications
You must be signed in to change notification settings - Fork 558
Bump numpy to 2.3.0 #2633
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 to 2.3.0 #2633
Conversation
Summary by CodeRabbit
WalkthroughThe changes update the numpy version requirements in the test dependencies to be specific to the Python version in use. Additionally, the numpy import in a test file is moved from within a function to the top of the file, making it available throughout the module. Changes
✨ Finishing Touches
🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2633 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 232 232
Lines 14739 14739
Branches 2057 2057
=========================================
Hits 14739 14739 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
LGTM 🛠️
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: 1
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (2)
requirements/tests.txt
(1 hunks)tests/third_party/test_numpy.py
(1 hunks)
🧰 Additional context used
🪛 Pylint (3.3.7)
tests/third_party/test_numpy.py
[error] 15-15: Unable to import 'numpy'
(E0401)
⏰ Context from checks skipped due to timeout of 300000ms (1)
- GitHub Check: Test Python 3.13 on windows-latest
🔇 Additional comments (1)
requirements/tests.txt (1)
6-7
: Specify numpy versions per Python version.
Splitting intonumpy==2.2.6
for Python 3.10 andnumpy==2.3.0
for Python 3.11+ ensures compatibility with the respective interpreters and replaces the previous blanket version.
Proposed change
Bump numpy to 2.3.0 (for Python 3.11+).
Type of change
holidays
functionality in general)Checklist
make check
, all checks and tests are green