Skip to content

Commit db82fd4

Browse files
committed
ci: dynamically retrieve Pyodide version in CI configuration
1 parent e744eb8 commit db82fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ env:
3636
SDK_PYTHON: "${{ github.workspace }}/sdk/python"
3737
SCRIPTS: "${{ github.workspace }}/.github/scripts"
3838
UV_PYTHON: "3.12"
39-
PYODIDE_VERSION: "0.27.7"
4039

4140
jobs:
4241
# ============
@@ -502,6 +501,7 @@ jobs:
502501
working-directory: client
503502
run: |
504503
# Compute Pyodide URLs
504+
PYODIDE_VERSION="$( uv run --no-default-groups python -c 'import flet.version; print(flet.version.PYODIDE_VERSION)' )"
505505
PYODIDE_URL="https://github.com/pyodide/pyodide/releases/download/${PYODIDE_VERSION}/pyodide-core-${PYODIDE_VERSION}.tar.bz2"
506506
PYODIDE_CDN_URL="https://cdn.jsdelivr.net/pyodide/v${PYODIDE_VERSION}/full"
507507

0 commit comments

Comments
 (0)