Skip to content

Commit fd4d49d

Browse files
larrysingleton007ntkathole
authored andcommitted
fix: Preinstall DuckDB delta extension for tests
Fixes #6743 Signed-off-by: Larry Singleton <166439969+larrysingleton007@users.noreply.github.com>
1 parent 310ab51 commit fd4d49d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ python = "~=3.10.0"
324324
feast = { path = ".", editable = true, extras = ["duckdb", "delta", "grpcio", "test"] }
325325

326326
[tool.pixi.feature.duckdb-tests.tasks]
327-
test = { cmd = "python -m pytest -n 8 --integration -m 'not ray_offline_stores_only' --ignore=sdk/python/tests/integration/offline_store/test_dqm_validation.py sdk/python/tests/integration/offline_store", env = { PYTHONPATH = ".", FULL_REPO_CONFIGS_MODULE = "sdk.python.tests.universal.feature_repos.duckdb_repo_configuration", FEAST_IS_LOCAL_TEST = "True" } }
327+
install-delta-extension = "python -c \"import duckdb; duckdb.connect().install_extension('delta')\""
328+
test = { depends-on = ["install-delta-extension"], cmd = "python -m pytest -n 8 --integration -m 'not ray_offline_stores_only' --ignore=sdk/python/tests/integration/offline_store/test_dqm_validation.py sdk/python/tests/integration/offline_store", env = { PYTHONPATH = ".", FULL_REPO_CONFIGS_MODULE = "sdk.python.tests.universal.feature_repos.duckdb_repo_configuration", FEAST_IS_LOCAL_TEST = "True" } }
328329

329330
[tool.pixi.feature.ray-tests.pypi-dependencies]
330331
feast = { path = ".", editable = true, extras = ["ray", "grpcio", "test"] }

0 commit comments

Comments
 (0)