Skip to content

Commit

Permalink
Add both latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschulz-COL committed Mar 4, 2025
1 parent 308ae82 commit 0e6794c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-vizro-whl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion tools/pycafe/pycafe_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0e6794c

Please sign in to comment.