diff --git a/.github/workflows/build-vizro-whl.yml b/.github/workflows/build-vizro-whl.yml index e40a0d5dd..0a583187a 100644 --- a/.github/workflows/build-vizro-whl.yml +++ b/.github/workflows/build-vizro-whl.yml @@ -53,7 +53,7 @@ jobs: run: | hatch run pip install playwright hatch run playwright install --with-deps chromium - - name: Install vizro-ai # This makes vizro-ai present in repo + - name: Install vizro-ai in editable mode # This makes vizro-ai present in env to get the version run: | hatch run pip install -e ../vizro-ai - name: Print PR Number diff --git a/tools/pycafe/pycafe_utils.py b/tools/pycafe/pycafe_utils.py index 5ee108639..6a661ea40 100644 --- a/tools/pycafe/pycafe_utils.py +++ b/tools/pycafe/pycafe_utils.py @@ -94,8 +94,12 @@ def generate_link( # Requirements - either use latest release or commit's wheel file requirements = [] if directory_path.startswith("vizro-ai/"): - requirements.extend([_get_vizro_ai_requirement(config, use_latest_release)]) + # An example in this folder may require the latest vizro-ai and vizro-core releases + requirements.extend( + [_get_vizro_ai_requirement(config, use_latest_release), _get_vizro_requirement(config, use_latest_release)] + ) else: + # All other examples do not require vizro-ai, but still the latest vizro-core release requirements.extend([_get_vizro_requirement(config, use_latest_release)]) if extra_requirements: