From 4805ed627ab169d76d5444f3ed6fd0e1eb8067da Mon Sep 17 00:00:00 2001 From: Larry Singleton <166439969+larrysingleton007@users.noreply.github.com> Date: Sun, 16 Aug 2026 07:55:14 -0500 Subject: [PATCH] fix: Preinstall DuckDB delta extension for tests Fixes #6743 Signed-off-by: Larry Singleton <166439969+larrysingleton007@users.noreply.github.com> --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4c668a89847..c10ea8d5fd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -324,7 +324,8 @@ python = "~=3.10.0" feast = { path = ".", editable = true, extras = ["duckdb", "delta", "grpcio", "test"] } [tool.pixi.feature.duckdb-tests.tasks] -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" } } +install-delta-extension = "python -c \"import duckdb; duckdb.connect().install_extension('delta')\"" +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" } } [tool.pixi.feature.ray-tests.pypi-dependencies] feast = { path = ".", editable = true, extras = ["ray", "grpcio", "test"] }