Skip to content

fix: make numba optional for base installs - #4410

Open
AkhilTrivediX wants to merge 1 commit into
Unstructured-IO:mainfrom
AkhilTrivediX:codex/make-numba-optional
Open

fix: make numba optional for base installs#4410
AkhilTrivediX wants to merge 1 commit into
Unstructured-IO:mainfrom
AkhilTrivediX:codex/make-numba-optional

Conversation

@AkhilTrivediX

@AkhilTrivediX AkhilTrivediX commented Jul 17, 2026

Copy link
Copy Markdown

Closes #4390

Summary

Moves numba out of the base dependency set and into the image/PDF dependency path. A plain installation no longer resolves llvmlite, while the partitioners that use XY-cut continue to receive numba through their existing extras.

Validation

  • uv lock --locked
  • Installed the project into a new base virtual environment and confirmed numba is absent
  • Ran unstructured --help and partition_text in that clean base environment
  • Confirmed uv export --locked omits numba, while uv export --locked --extra image includes it

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Shadow auto-approve: would auto-approve. Moves numba from base to image/PDF extras, reducing unnecessary dependencies for plain installs.

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vanilla unstructured via uvx fails with Failed to build llvmlite

1 participant