Repository navigation
[FEAT] Adding Python 3.15 - #1479
henrydingliu wants to merge 25 commits into
Conversation
Pyright Type CompletenessView the full Project (full
Other symbols referenced but not exported by
Symbols without documentation:
Patch (exported symbols added or changed by this PR): no exported symbol type-completeness changes detected. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 00a7053. Configure here.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1479 +/- ##
==========================================
+ Coverage 94.15% 94.19% +0.03%
==========================================
Files 96 96
Lines 5852 5852
Branches 739 739
==========================================
+ Hits 5510 5512 +2
+ Misses 221 220 -1
+ Partials 121 120 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

Summary of Changes
adding python 3.15 to supported version
adding python 3.15 dependencies
addressing a numpy 2.5 deprecation warning
Related GitHub Issue(s)
#1478
AI/LLM Usage
used AI to locate the numpy deprecation warning
Additional Context for Reviewers
Submitter's Checklist
[FIX],[FEAT],[DOCS],[TST],[CHORE], or[BRK]).Reviewer's Checklist
Note
Medium Risk
Core triangle valuation date computation changed for NumPy compatibility, and 3.15 pulls in major dependency upgrades (pandas 3, newer numpy) that could affect behavior across installs.
Overview
Adds Python 3.15 to CI (pytest workflow matrix) and project classifiers, and splits dependency pins in
pyproject.tomlso 3.15+ gets newer stacks (e.g. pandas ≥3.0.6, numpy ≥2.5.2, scikit-learn ≥1.9.1, matplotlib/contourpy/numba, plus bumped optional deps like lxml, pyarrow, scipy, rpds-py).Updates
valuationdate math inchainladder/core/base.pyto use explicittimedelta64[M]offsets instead of adding integers todatetime64[M], addressing a NumPy 2.5 deprecation while keeping the same valuation index behavior.Reviewed by Cursor Bugbot for commit 1f6823c. Bugbot is set up for automated code reviews on this repo. Configure here.