build: remove unused nptyping dependency and pin numpy 2.1.3 (#91) - #92
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #92 +/- ##
=======================================
Coverage 89.37% 89.37%
=======================================
Files 62 62
Lines 5544 5544
Branches 680 680
=======================================
Hits 4955 4955
Misses 466 466
Partials 123 123
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Removes the
nptyping==2.5.0dependency and pinsnumpy==2.1.3in thelocal-devextras.Why
nptypingwas declared but never imported (the code already uses stdlibnumpy.typing), and it capped numpy at<2.0.0, blocking numpy 2.x. Removing it unblocks numpy 2.x compatibility (closes #91).numpy is pinned to
2.1.3to match Databricks Serverless environment version 4, which also ships the pandas 2.2.3, pyarrow 19.0.1, and scipy 1.15.1 versions already pinned inlocal-dev. This keeps local and CI testing aligned with the numpy the runtime actually ships.Changes
pyproject.toml: dropnptyping==2.5.0from base deps, addnumpy==2.1.3tolocal-devuv.lock: regenerated (numpy 1.26.4 to 2.1.3, nptyping removed)Test Plan
Checklist