Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add VizroAI charts UI #852

Merged
merged 18 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/build-vizro-whl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,19 @@ jobs:
name: pip
path: vizro-core/dist/*.whl
retention-days: 14
# The below can be commented out in order to dry run the test creation of the PyCafe links
# Once satisfied, comment them again, because the actual links will be created by the pycafe-dashboards.yml workflow
# which is run from the main branch
############### Start of PyCafe links creation ###############
# - name: Print PR Number
# run: |
# echo "Pull Request Number: ${{ github.event.workflow_run.pull_requests[0].number }}"
# - name: Create PyCafe links
# run: |
# PR_NUMBER=${{ github.event.workflow_run.pull_requests[0].number || '' }}
# if [ -n "$PR_NUMBER" ]; then
# hatch run python ../tools/pycafe/create_pycafe_links.py --github-token ${{ github.token }} --repo-name ${{ github.repository }} --pr-number $PR_NUMBER --run-id ${{ github.run_id }} --commit-sha ${{ github.sha }}
# else
# hatch run python ../tools/pycafe/create_pycafe_links.py --github-token ${{ github.token }} --repo-name ${{ github.repository }} --run-id ${{ github.run_id }} --commit-sha ${{ github.sha }}
# fi
############### End of PyCafe links creation ###############
11 changes: 11 additions & 0 deletions tools/pycafe/create_pycafe_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,17 @@ def post_comment(urls: dict[str, str]):
"isort==5.13.2",
"plotly==5.24.1",
],
"vizro-ai/examples/dashboard_ui/": [
"vizro-ai>=0.3.0",
"black",
"openpyxl",
"langchain_anthropic",
"langchain_mistralai",
"greenlet # mock",
"tiktoken @ https://py.cafe/files/maartenbreddels/tiktoken-demo/tiktoken-0.7.0-cp312-cp312-pyodide_2024_0_wasm32.whl",
"https://py.cafe/files/maartenbreddels/jiter-demo/jiter-0.6.1-cp312-cp312-pyodide_2024_0_wasm32.whl",
"https://py.cafe/files/maartenbreddels/tokenizers-demo/tokenizers-0.20.2.dev0-cp312-cp312-pyodide_2024_0_wasm32.whl",
],
}
urls = {
directory: generate_link(directory, extra_requirements)
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/examples/scratch_dev/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


page = vm.Page(
title="Test New ZZZZZZZ",
title="Charts UI",
components=[
vm.Graph(
figure=px.bar(
Expand Down