Skip to content

Commit a5a8c93

Browse files
committed
chore(bindings): drop stale kv-indexer feature flags
Signed-off-by: PeaBrane <yanrpei@gmail.com>
1 parent 2c7a8b8 commit a5a8c93

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

container/templates/wheel_builder.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,9 @@ RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
439439
uv build --wheel --out-dir /opt/dynamo/dist && \
440440
cd /opt/dynamo/lib/bindings/python && \
441441
if [ "$ENABLE_MEDIA_FFMPEG" = "true" ]; then \
442-
maturin build --release --features "media-ffmpeg,kv-indexer" --out /opt/dynamo/dist; \
442+
maturin build --release --features "media-ffmpeg" --out /opt/dynamo/dist; \
443443
else \
444-
maturin build --release --features "kv-indexer" --out /opt/dynamo/dist; \
444+
maturin build --release --out /opt/dynamo/dist; \
445445
fi && \
446446
/tmp/use-sccache.sh show-stats "Dynamo Runtime"
447447

lib/bindings/python/Cargo.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ crate-type = ["cdylib", "rlib"]
2424
[features]
2525
default = []
2626
media-ffmpeg = ["dynamo-llm/media-ffmpeg"]
27-
kv-indexer = ["dep:dynamo-kv-router", "dep:clap", "dep:tracing-subscriber"]
28-
kv-indexer-runtime = ["kv-indexer", "dynamo-kv-router/indexer-runtime"]
29-
kv-indexer-metrics = ["kv-indexer", "dynamo-kv-router/metrics"]
3027

3128
[dependencies]
3229
dynamo-runtime = { path = "../../runtime" }
@@ -46,11 +43,6 @@ tokio-stream = { version = "0" }
4643
tokio-util = { version = "0.7", features = ["rt"] }
4744
tracing = { version = "0" }
4845

49-
# kv-indexer (optional)
50-
dynamo-kv-router = { path = "../../kv-router", features = ["standalone-indexer"], optional = true }
51-
clap = { version = "4.5", features = ["derive"], optional = true }
52-
tracing-subscriber = { version = "0.3", features = ["env-filter"], optional = true }
53-
5446
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
5547
# "abi3-py310" tells pyo3 (and maturin) to build using the stable ABI with minimum Python version 3.10, which is the minimum version in pyproject.toml
5648
pyo3 = { version = "0.23.4", default-features = false, features = [

0 commit comments

Comments
 (0)