chore(deps): upgrade numpy, unstructured, unstructured-client#7369
Merged
chore(deps): upgrade numpy, unstructured, unstructured-client#7369
numpy, unstructured, unstructured-client#7369Conversation
Contributor
Greptile OverviewGreptile SummaryThis PR upgrades three major dependencies to support Python 3.13 compatibility: Dependency Changes:
Key Findings:
Potential Risks:
Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant PR as PR #7369
participant Deps as Dependency Update
participant Numpy as numpy 1.26.4→2.4.1
participant Unstructured as unstructured 0.15.1→0.18.27
participant UnstructuredClient as unstructured-client 0.25.4→0.42.6
participant Code as Codebase
participant Tests as Existing Tests
PR->>Deps: Upgrade dependencies
Deps->>Numpy: Major version bump (1.x→2.x)
Deps->>Unstructured: Version bump (3 minor releases)
Deps->>UnstructuredClient: Version bump (17 minor releases)
Note over Numpy: Breaking changes in 2.0+<br/>- Deprecated dtypes removed<br/>- API changes
Note over Unstructured: API compatibility maintained<br/>dict_to_elements still available
Note over UnstructuredClient: PartitionRequest API intact
Numpy->>Code: Used in KG clustering/embeddings
Unstructured->>Code: Used in file processing
UnstructuredClient->>Code: Used in unstructured.py
Code->>Tests: Validation via existing tests
Tests-->>PR: Test coverage validates changes
|
4898630 to
72e53d7
Compare
18d8eeb to
8e0caa8
Compare
yuhongsun96
approved these changes
Jan 12, 2026
jessicasingh7
pushed a commit
that referenced
this pull request
Jan 12, 2026
jessicasingh7
pushed a commit
that referenced
this pull request
Jan 21, 2026
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.
Description
These version upgrades are required to support later versions of python, chore(deps): remove requires-python < 3.13.
numpy:
1.26.4->2.4.1unstructured:
0.15.1->0.18.27unstructured-client:
0.25.4->0.42.6How Has This Been Tested?
Captured by existing
Additional Options
Summary by cubic
Upgrade numpy to 2.4.1 and bump unstructured and unstructured-client to support Python 3.13. Updated the Unstructured client call to the new API and made element parsing safe when the response has no elements.
Dependencies
Refactors
Written for commit 8e0caa8. Summary will update on new commits.