chore(deps): add umap-learn and scikit-learn for the image map - #36
Open
lstein wants to merge 1 commit into
Open
chore(deps): add umap-learn and scikit-learn for the image map#36lstein wants to merge 1 commit into
lstein wants to merge 1 commit into
Conversation
lstein
marked this pull request as draft
August 2, 2026 22:23
lstein
force-pushed
the
feat/image-map-03-deps
branch
2 times, most recently
from
August 3, 2026 01:38
fdb7e82 to
b86155a
Compare
lstein
force-pushed
the
feat/image-map-02-indexer
branch
from
August 3, 2026 01:38
1bc499a to
c5cc29c
Compare
lstein
marked this pull request as ready for review
August 3, 2026 18:28
lstein
force-pushed
the
feat/image-map-02-indexer
branch
from
August 4, 2026 01:43
c5cc29c to
7ea889c
Compare
lstein
force-pushed
the
feat/image-map-03-deps
branch
from
August 4, 2026 01:43
b86155a to
3b0243b
Compare
lstein
force-pushed
the
feat/image-map-02-indexer
branch
from
August 4, 2026 05:37
7ea889c to
5ca27a0
Compare
lstein
force-pushed
the
feat/image-map-03-deps
branch
from
August 4, 2026 05:37
3b0243b to
99ff815
Compare
lstein
force-pushed
the
feat/image-map-02-indexer
branch
from
August 4, 2026 14:58
5ca27a0 to
4a7793d
Compare
lstein
force-pushed
the
feat/image-map-03-deps
branch
2 times, most recently
from
August 4, 2026 22:32
086926d to
178f253
Compare
lstein
force-pushed
the
feat/image-map-02-indexer
branch
from
August 4, 2026 22:32
4a7793d to
8412295
Compare
Adds the projection/clustering dependencies for the semantic image map: umap-learn (resolves 0.5.12, pulling pynndescent/llvmlite) and scikit-learn (resolves 1.9.0) for DBSCAN. numba is guarded to >=0.59,<0.62 because numba releases tighten numpy bounds and this project pins numpy<2.0 (currently 1.26.4; numba resolves 0.61.2). A smoke test fits a tiny UMAP + DBSCAN so CI fails loudly here — rather than in feature code — if the numba/llvmlite install matrix breaks. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
lstein
force-pushed
the
feat/image-map-02-indexer
branch
from
August 5, 2026 00:31
8412295 to
ad8d3f1
Compare
lstein
force-pushed
the
feat/image-map-03-deps
branch
from
August 5, 2026 00:31
178f253 to
41592b3
Compare
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.
Summary
Stacked on the indexer PR (PR 3 of the Image Map stack). Dependencies only:
umap-learn~=0.5.7(resolves 0.5.12; pulls pynndescent/llvmlite/numba)scikit-learn~=1.5(resolves 1.9.0) for DBSCANnumba>=0.59,<0.62guard (resolves 0.61.2) — numba releases tighten numpy bounds and this project pinsnumpy<2.0(locked 1.26.4)Isolated in its own PR because the numba/llvmlite install matrix is the most likely thing to break CI or downstream installs; reverting/adjusting stays trivial.
Testing
tests/app/services/image_index/test_umap_import.pyfits a tiny UMAP + DBSCAN so CI fails loudly here — rather than in feature code — if the JIT stack is broken (also surfaces the cold-cache JIT cost).🤖 Generated with Claude Code