Skip to content

Commit 56bc02b

Browse files
committed
Revert "TEMP: wire Android build test to unreleased serious-python + dart-bridge"
This reverts commit 2e721f4.
1 parent 2e721f4 commit 56bc02b

2 files changed

Lines changed: 1 addition & 34 deletions

File tree

.github/workflows/flet-build-test-matrix.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -170,34 +170,6 @@ jobs:
170170
path: '.fvmrc'
171171
cache: true
172172

173-
# TEMP: use libdart_bridge.so built by a specific dart-bridge CI run
174-
# instead of the released binary, so Android builds pick up unreleased
175-
# dart-bridge changes (e.g. the worker-thread priority fix). REMOVE once
176-
# the change is released and dart_bridge_version is bumped.
177-
# Cross-repo artifact download needs a token with actions:read on
178-
# flet-dev/dart-bridge — set the DART_BRIDGE_TOKEN secret (a PAT); the
179-
# default GITHUB_TOKEN cannot read another repo's run artifacts.
180-
- name: Use dart-bridge Android binaries from a specific CI run
181-
if: startsWith(matrix.name, 'apk') || startsWith(matrix.name, 'aab')
182-
shell: bash
183-
env:
184-
GH_TOKEN: ${{ secrets.DART_BRIDGE_TOKEN || secrets.GITHUB_TOKEN }}
185-
run: |
186-
set -euo pipefail
187-
VER="${{ inputs.python_version }}"
188-
RUN_ID=28121718882
189-
DEST="${ROOT}/dart_bridge_dist"
190-
TMP="${ROOT}/dart_bridge_tmp"
191-
mkdir -p "$DEST"
192-
# Pull only this Python version's .so artifacts (all ABIs).
193-
gh run download "$RUN_ID" --repo flet-dev/dart-bridge \
194-
--pattern "libdart_bridge-android-*-py${VER}" --dir "$TMP"
195-
# serious_python_android expects a flat dir of
196-
# libdart_bridge-android-<abi>-py<ver>.so files.
197-
find "$TMP" -name '*.so' -exec mv {} "$DEST/" \;
198-
ls -l "$DEST"
199-
echo "SERIOUS_PYTHON_DART_BRIDGE_DIST=$DEST" >> "$GITHUB_ENV"
200-
201173
- name: Build app
202174
shell: bash
203175
working-directory: sdk/python/examples/apps/flet_build_test

sdk/python/templates/build/{{cookiecutter.out_dir}}/pubspec.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@ dependencies:
1818
flet:
1919
path: ../../../../../packages/flet
2020

21-
#serious_python: 4.0.0
22-
serious_python:
23-
git:
24-
url: https://github.com/flet-dev/serious-python.git
25-
ref: android-boot-jank
26-
path: src/serious_python
21+
serious_python: 4.0.0
2722

2823
# MsgPack codec used by the dart_bridge FletBackendChannel implementation
2924
# in lib/main.dart — matches the wire format flet's existing socket

0 commit comments

Comments
 (0)