From c23deaa7ca68e9ae8c5589489024244b37bf3bb9 Mon Sep 17 00:00:00 2001 From: Matt Green Date: Wed, 27 Nov 2024 17:27:05 -0800 Subject: [PATCH] update smoke test Signed-off-by: Matt Green --- .github/workflows/smoke_tests.yml | 7 +++++-- Makefile | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/smoke_tests.yml b/.github/workflows/smoke_tests.yml index 782f8b3f51..c3379d2735 100644 --- a/.github/workflows/smoke_tests.yml +++ b/.github/workflows/smoke_tests.yml @@ -33,6 +33,9 @@ jobs: path: ${{ steps.uv-cache.outputs.dir }} key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }} - name: Install dependencies - run: make install-python-dependencies-uv + run: | + PYTHON_VERSION = ${shell python --version | grep -Eo '[0-9]\.[0-9]+'} + uv pip sync --system sdk/python/requirements/py$(PYTHON_VERSION)-requirements.txt + uv pip install --system --no-deps . - name: Test Imports - run: python -c "from feast import cli" \ No newline at end of file + run: python -c "from feast import cli" diff --git a/Makefile b/Makefile index cd26ddd15b..b1284335ab 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ install-python-dependencies-dev: uv pip install --no-deps -e . # Python SDK - system -# the --system flag installs dependencies in the global python context +# the --system flag installs dependencies in the global python context # instead of a venv which is useful when working in a docker container or ci. # Used in github actions/ci