flet-cli 0.86.0.dev2__py3-none-any.whl → 0.86.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -428,7 +428,8 @@ class BaseBuildCommand(BaseFlutterCommand):
428
428
  dest="web_renderer",
429
429
  type=str.lower,
430
430
  choices=["auto", "canvaskit", "skwasm"],
431
- help="Flutter web renderer to use (web only) [env: FLET_WEB_RENDERER=]",
431
+ help="Flutter web renderer to use (web only), default: canvaskit "
432
+ "[env: FLET_WEB_RENDERER=]",
432
433
  )
433
434
  parser.add_argument(
434
435
  "--route-url-strategy",
@@ -1289,10 +1290,15 @@ class BaseBuildCommand(BaseFlutterCommand):
1289
1290
  or self.get_pyproject("tool.flet.web.route_url_strategy")
1290
1291
  or "path"
1291
1292
  ),
1293
+ # "canvaskit" (dart2js), not "auto": with "auto" Chromium browsers
1294
+ # select the dart2wasm/skwasm build, where every JS <-> Dart byte
1295
+ # buffer crossing pays a WasmGC boundary conversion instead of a
1296
+ # memcpy. Pyodide apps stream bytes constantly (protocol frames,
1297
+ # DataChannels) — measured ~6-7x slower frame display vs canvaskit.
1292
1298
  "web_renderer": (
1293
1299
  self.options.web_renderer
1294
1300
  or self.get_pyproject("tool.flet.web.renderer")
1295
- or "auto"
1301
+ or "canvaskit"
1296
1302
  ),
1297
1303
  "pwa_background_color": (
1298
1304
  self.options.pwa_background_color
@@ -113,8 +113,9 @@ class Command(BaseCommand):
113
113
  dest="web_renderer",
114
114
  type=str.lower,
115
115
  choices=["auto", "canvaskit", "skwasm"],
116
- default="auto",
117
- help="Flutter web renderer to use [env: FLET_WEB_RENDERER=]",
116
+ default=None,
117
+ help="Flutter web renderer to use, default: canvaskit "
118
+ "[env: FLET_WEB_RENDERER=]",
118
119
  )
119
120
  parser.add_argument(
120
121
  "--route-url-strategy",
@@ -354,10 +355,14 @@ class Command(BaseCommand):
354
355
  pyodide_pre=options.pre,
355
356
  pyodide_script_path=str(script_path),
356
357
  pyodide_version=python_release.pyodide,
358
+ # "canvaskit" default for the same reason as `flet build web`:
359
+ # "auto" puts Chromium on dart2wasm/skwasm, whose JS <-> Dart
360
+ # typed-data boundary costs are a large per-frame tax for
361
+ # byte-streaming Pyodide apps.
357
362
  web_renderer=WebRenderer(
358
363
  options.web_renderer
359
364
  or get_pyproject("tool.flet.web.renderer")
360
- or "auto"
365
+ or "canvaskit"
361
366
  ),
362
367
  route_url_strategy=RouteUrlStrategy(
363
368
  options.route_url_strategy
@@ -28,7 +28,7 @@ from flet_cli.utils.template_cache import get_cache_root
28
28
  # python-build release this flet pins. Keep in sync with serious_python's
29
29
  # `pythonReleaseDate` (lib/src/python_versions.dart) — both should track the
30
30
  # same python-build release.
31
- PYTHON_BUILD_RELEASE_DATE = "20260708"
31
+ PYTHON_BUILD_RELEASE_DATE = "20260714"
32
32
 
33
33
  RELEASE_DATE_ENV = "FLET_PYTHON_BUILD_RELEASE_DATE"
34
34
  MANIFEST_PATH_ENV = "FLET_PYTHON_BUILD_MANIFEST"
flet_cli/version.py CHANGED
@@ -1 +1 @@
1
- version = "0.86.0.dev2"
1
+ version = "0.86.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-cli
3
- Version: 0.86.0.dev2
3
+ Version: 0.86.1
4
4
  Summary: Flet CLI
5
5
  Author-email: "Appveyor Systems Inc." <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
@@ -9,7 +9,7 @@ Project-URL: Repository, https://github.com/flet-dev/flet
9
9
  Project-URL: Documentation, https://flet.dev/docs
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
- Requires-Dist: flet==0.86.0.dev2
12
+ Requires-Dist: flet==0.86.1
13
13
  Requires-Dist: watchdog>=4.0.0
14
14
  Requires-Dist: packaging>=25.0
15
15
  Requires-Dist: qrcode>=7.4.2
@@ -1,5 +1,5 @@
1
1
  flet_cli/cli.py,sha256=xIksfqmpf_wbzWLj1EdHkTjVIs6atpfX3hyPjYAFw-M,5086
2
- flet_cli/version.py,sha256=9dkwA_dOHwA891Mr3VhuVQW2W7NfqkkITzzVXT9y_ZU,24
2
+ flet_cli/version.py,sha256=zJZP_YU1xtYCSDzaiXjqnfVFimTqHo60INon_DbpgzM,19
3
3
  flet_cli/__pyinstaller/__init__.py,sha256=KJsKpQ6uSVslADmFaOKaxCu-GOZZtcVKnti-ripD-ug,164
4
4
  flet_cli/__pyinstaller/config.py,sha256=MN2IPu53K1RDyh_KE4wIcQH8El_n4Z3fD6NO2iq8y74,20
5
5
  flet_cli/__pyinstaller/hook-flet.py,sha256=RbiFE8-7VBsY4Dwt7a9-9gW0gUFQGjOLY1-OBsZm_mI,506
@@ -9,7 +9,7 @@ flet_cli/__pyinstaller/win_utils.py,sha256=wu0G98CUMkGfloZa2LTqJE7axAZPB2-TLBOHJ
9
9
  flet_cli/__pyinstaller/rthooks/pyi_rth_localhost_fletd.py,sha256=Q5r19b95nWjDdF-D6civD6_M8jzSDIi26WBHlVJOhdY,584
10
10
  flet_cli/commands/base.py,sha256=6MTAuA7kKdaKIZI4AyWPM1TJfFCxmRj7kc7z2h6E_4k,3496
11
11
  flet_cli/commands/build.py,sha256=wA0ZTnzyLbOwShQwN7BvHv7RQpzAdxY65HhEg_eJG_w,7236
12
- flet_cli/commands/build_base.py,sha256=U4V98M-GBRK-a8VovBH_kwpXCYhAFw-36iwD8L_5JdA,115773
12
+ flet_cli/commands/build_base.py,sha256=z0Erm206VHpJOlLs9UGRXlkAUkY1XHf_WxVHX0L8bXE,116206
13
13
  flet_cli/commands/clean.py,sha256=fIRr1ktoE9wzO0R-lAq985zbCH1dX6Sao5VyXiJxiOY,2250
14
14
  flet_cli/commands/create.py,sha256=eXVjGFE5uNx6I6-5wQPHByEVBAssZ_9evzJufkg-G0o,5545
15
15
  flet_cli/commands/debug.py,sha256=dT80Z_4QEqSyleVGZdCif2u0oMrUKCraG0QmBwjYf30,6768
@@ -20,7 +20,7 @@ flet_cli/commands/flutter_base.py,sha256=cvWrB_fWqb8wft7-Wr5isvOFxsgKgc0HcCHyK2I
20
20
  flet_cli/commands/mcp.py,sha256=AVEnf6YjICqoBQPKqBaHp27KHXxFVjH-IRpAi6dSjcM,2065
21
21
  flet_cli/commands/options.py,sha256=tSqztnV4uvXhMEk6VhYe_szoq7CGVTrYlrkdZwMK4ek,1068
22
22
  flet_cli/commands/pack.py,sha256=xayvQpkKFDQvckPnxyahKYXbUpEfV8tUMEBn5y-orzk,16586
23
- flet_cli/commands/publish.py,sha256=9rUEiqhq6TDYrjI8MQkEmRZQ_q1Qa7Ykvuor3Mw7QWk,13321
23
+ flet_cli/commands/publish.py,sha256=P5D16vjJJpHzoxvvaH1KRpcv2H4L_mWHgPHI7Z-jJhk,13621
24
24
  flet_cli/commands/run.py,sha256=7XONMsOKhHDWFsxiJxE2iBIoDUmA9Hlrf7rVlBZNTZ0,21341
25
25
  flet_cli/commands/serve.py,sha256=YrollC80u9JvuXHbI_qQ3wxpjcqpIQwFxdD5nIOeOT4,3143
26
26
  flet_cli/commands/test.py,sha256=_sm5ERkTN398YP1r2WaOkQFDrNwR0PPyxlLhs1Y8Gl0,11826
@@ -39,10 +39,10 @@ flet_cli/utils/processes.py,sha256=S0ErmI5x9S6RNMe89cf5M4ROIofMtjNZRQ29foUllJ4,2
39
39
  flet_cli/utils/project_dependencies.py,sha256=kC8gZZyaGk-coNXrh6cyPM6i9RhUaXcBIvZmQ50PufY,4064
40
40
  flet_cli/utils/pyodide.py,sha256=RhumXYuovPxgLbu99pNNhVb9SRvBvhLGiUMtb9WxC5U,5058
41
41
  flet_cli/utils/pyproject_toml.py,sha256=o4fAWKXMyK8vdnAO41BLI7Lt3ohMlVdlwrpaifq30Cs,1408
42
- flet_cli/utils/python_versions.py,sha256=VQ9NfIonXaQj1G2DcgWfSPRydRcGG5MVmcBYYX9suMU,8129
42
+ flet_cli/utils/python_versions.py,sha256=4fwlOiUf5Ndr3_-5PU8Jm_hWchwTIw79NSEgxWkYygg,8129
43
43
  flet_cli/utils/template_cache.py,sha256=Lf_iuk30zTfaNFbRmrc8s07w1yE-PYjdovZztoiuPzc,1596
44
- flet_cli-0.86.0.dev2.dist-info/METADATA,sha256=P4EHBDzK_UdFHBNgnJ5Y-rgZRSg2BIavkKo0u-D5Mbk,1302
45
- flet_cli-0.86.0.dev2.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
46
- flet_cli-0.86.0.dev2.dist-info/entry_points.txt,sha256=UZFR426y3mfr0wgikEFPbZ6wtGwfgykif9Obw6R7Wnc,65
47
- flet_cli-0.86.0.dev2.dist-info/top_level.txt,sha256=4_BPVAJpcNofDe3XMxajlZLBNWzWqKhRynNSBCYTKVQ,9
48
- flet_cli-0.86.0.dev2.dist-info/RECORD,,
44
+ flet_cli-0.86.1.dist-info/METADATA,sha256=H0GgcdSk-4PSjMacLZD8i5S3cV-R3HFjwZKqfNjPsvY,1292
45
+ flet_cli-0.86.1.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
46
+ flet_cli-0.86.1.dist-info/entry_points.txt,sha256=UZFR426y3mfr0wgikEFPbZ6wtGwfgykif9Obw6R7Wnc,65
47
+ flet_cli-0.86.1.dist-info/top_level.txt,sha256=4_BPVAJpcNofDe3XMxajlZLBNWzWqKhRynNSBCYTKVQ,9
48
+ flet_cli-0.86.1.dist-info/RECORD,,