@@ -1418,6 +1418,25 @@ def run_in_docker(args) -> bool:
14181418 if not has_qdrant_host :
14191419 filtered_args .extend (["--qdrant-host" , "host.docker.internal" ])
14201420
1421+ arcadedb_wheel_mount_path = None
1422+ if args .backend == "arcadedb" :
1423+ wheel_candidates = sorted (
1424+ (repo_root / "bindings/python/dist" ).glob ("*embed*.whl" )
1425+ )
1426+ if not wheel_candidates :
1427+ if os .environ .get ("GITHUB_ACTIONS" , "" ).lower () == "true" :
1428+ raise RuntimeError (
1429+ "ArcadeDB wheel not found in bindings/python/dist during GitHub Actions run"
1430+ )
1431+ print (
1432+ "[info] No local ArcadeDB wheel found in bindings/python/dist; "
1433+ "skipping Docker wrapper and running natively."
1434+ )
1435+ return False
1436+ arcadedb_wheel_mount_path = (
1437+ f"/workspace/bindings/python/dist/{ wheel_candidates [0 ].name } "
1438+ )
1439+
14211440 image = args .docker_image
14221441 if args .backend == "pgvector" and image == "python:3.12-slim" :
14231442 image = default_docker_image (args .backend )
@@ -1428,8 +1447,8 @@ def run_in_docker(args) -> bool:
14281447 "python -m venv /tmp/bench-venv" ,
14291448 ". /tmp/bench-venv/bin/activate" ,
14301449 "python -m pip install --no-cache-dir uv" ,
1431- "uv pip install "
1432- f"arcadedb-embedded== { args . arcadedb_version } numpy psutil" ,
1450+ "uv pip install numpy psutil" ,
1451+ f'uv pip install " { arcadedb_wheel_mount_path } "' ,
14331452 "echo 'Starting vector build benchmark...'" ,
14341453 f"python -u 11_vector_index_build.py { ' ' .join (filtered_args )} " ,
14351454 ]
0 commit comments