diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 149565ff..daa93443 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,8 @@ jobs: cargo run --example resource_limits cargo run --example text_processing cargo run --example git_workflow --features git - cargo run --example python_scripts --features python + # python_scripts requires monty git dep (not on crates.io) + # cargo run --example python_scripts --features python - name: Run LLM agent example env: diff --git a/crates/bashkit/Cargo.toml b/crates/bashkit/Cargo.toml index 81c4f921..01b63ce1 100644 --- a/crates/bashkit/Cargo.toml +++ b/crates/bashkit/Cargo.toml @@ -59,8 +59,6 @@ base64 = { workspace = true, optional = true } # Logging/tracing (optional) tracing = { workspace = true, optional = true } -# Embedded Python interpreter (pydantic/monty) - optional -monty = { git = "https://github.com/pydantic/monty", version = "0.0.4", optional = true } [features] default = [] http_client = ["reqwest", "base64"] @@ -76,8 +74,13 @@ logging = ["tracing"] # Usage: cargo build --features git git = [] # Enable python/python3 builtins via embedded Monty interpreter -# Usage: cargo build --features python -python = ["dep:monty"] +# Requires monty git dependency (not on crates.io) — feature unavailable from registry +# To use locally: uncomment and add monty dep +# python = ["dep:monty"] + +[lints.rust.unexpected_cfgs] +level = "warn" +check-cfg = ['cfg(feature, values("python"))'] [dev-dependencies] tokio-test = { workspace = true }