Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/embedding-clustering-rapidfuzz.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@platforma-open/milaboratories.runenv-python-3.12.10-embedding-clustering': minor
'@platforma-open/milaboratories.runenv-python-3': minor
---

Add `rapidfuzz` 3.14.6 to the Embedding Clustering run environment, for string distances such as normalized Levenshtein. It has no required dependencies and is installed with `noDeps`, like the rest of the pinned set.
2 changes: 1 addition & 1 deletion python-3.12.10-embedding-clustering/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Python 3.12.10 run environment for the Embedding Clustering block (`embedding-clustering`): `fast_hdbscan` and `pynndescent` on `numba`, plus `scikit-learn` (PCA, medoid distances), `polars` and `pyarrow` (Parquet loading and output) and `pandas`.
Python 3.12.10 run environment for the Embedding Clustering block (`embedding-clustering`): `fast_hdbscan` and `pynndescent` on `numba`, plus `scikit-learn` (PCA, medoid distances), `polars` and `pyarrow` (Parquet loading and output), `pandas` and `rapidfuzz` (string distances such as normalized Levenshtein).

The set is pinned flat and matches the block's `requirements.txt`. The block installs it with `pip --no-index --find-links <runenv packages>`, so each pin in the block must exist here as a wheel. Change the pins here and in the block together.

Expand Down
6 changes: 4 additions & 2 deletions python-3.12.10-embedding-clustering/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"polars-lts-cpu==1.33.1",
"pyarrow==24.0.0",
"pynndescent==0.6.0",
"fast_hdbscan==0.3.2"
"fast_hdbscan==0.3.2",
"rapidfuzz==3.14.6"
],
"noDeps": [
"numpy",
Expand All @@ -32,7 +33,8 @@
"numba",
"llvmlite",
"pynndescent",
"fast_hdbscan"
"fast_hdbscan",
"rapidfuzz"
],
"skip": {},
"overrides": {},
Expand Down
Loading