flet-cli 0.86.1__tar.gz → 0.86.2__tar.gz

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.
Files changed (58) hide show
  1. {flet_cli-0.86.1 → flet_cli-0.86.2}/PKG-INFO +2 -2
  2. {flet_cli-0.86.1 → flet_cli-0.86.2}/pyproject.toml +2 -2
  3. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/build_base.py +22 -0
  4. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/flutter_base.py +14 -2
  5. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/python_versions.py +1 -1
  6. flet_cli-0.86.2/src/flet_cli/version.py +1 -0
  7. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli.egg-info/PKG-INFO +2 -2
  8. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli.egg-info/requires.txt +1 -1
  9. flet_cli-0.86.1/src/flet_cli/version.py +0 -1
  10. {flet_cli-0.86.1 → flet_cli-0.86.2}/README.md +0 -0
  11. {flet_cli-0.86.1 → flet_cli-0.86.2}/setup.cfg +0 -0
  12. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/__pyinstaller/__init__.py +0 -0
  13. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/__pyinstaller/config.py +0 -0
  14. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/__pyinstaller/hook-flet.py +0 -0
  15. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/__pyinstaller/macos_utils.py +0 -0
  16. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/__pyinstaller/rthooks/pyi_rth_localhost_fletd.py +0 -0
  17. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/__pyinstaller/utils.py +0 -0
  18. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/__pyinstaller/win_utils.py +0 -0
  19. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/cli.py +0 -0
  20. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/base.py +0 -0
  21. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/build.py +0 -0
  22. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/clean.py +0 -0
  23. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/create.py +0 -0
  24. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/debug.py +0 -0
  25. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/devices.py +0 -0
  26. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/doctor.py +0 -0
  27. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/emulators.py +0 -0
  28. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/mcp.py +0 -0
  29. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/options.py +0 -0
  30. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/pack.py +0 -0
  31. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/publish.py +0 -0
  32. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/run.py +0 -0
  33. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/serve.py +0 -0
  34. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/test.py +0 -0
  35. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/commands/test_host.py +0 -0
  36. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/android.py +0 -0
  37. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/android_sdk.py +0 -0
  38. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/cli.py +0 -0
  39. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/distros.py +0 -0
  40. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/flutter.py +0 -0
  41. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/hash_stamp.py +0 -0
  42. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/jdk.py +0 -0
  43. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/linux_deps.py +0 -0
  44. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/merge.py +0 -0
  45. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/plist.py +0 -0
  46. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/processes.py +0 -0
  47. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/project_dependencies.py +0 -0
  48. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/pyodide.py +0 -0
  49. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/pyproject_toml.py +0 -0
  50. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli/utils/template_cache.py +0 -0
  51. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli.egg-info/SOURCES.txt +0 -0
  52. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli.egg-info/dependency_links.txt +0 -0
  53. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli.egg-info/entry_points.txt +0 -0
  54. {flet_cli-0.86.1 → flet_cli-0.86.2}/src/flet_cli.egg-info/top_level.txt +0 -0
  55. {flet_cli-0.86.1 → flet_cli-0.86.2}/tests/test_clean.py +0 -0
  56. {flet_cli-0.86.1 → flet_cli-0.86.2}/tests/test_plist.py +0 -0
  57. {flet_cli-0.86.1 → flet_cli-0.86.2}/tests/test_project_dependencies.py +0 -0
  58. {flet_cli-0.86.1 → flet_cli-0.86.2}/tests/test_python_versions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-cli
3
- Version: 0.86.1
3
+ Version: 0.86.2
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.1
12
+ Requires-Dist: flet==0.86.2
13
13
  Requires-Dist: watchdog>=4.0.0
14
14
  Requires-Dist: packaging>=25.0
15
15
  Requires-Dist: qrcode>=7.4.2
@@ -1,13 +1,13 @@
1
1
  [project]
2
2
  name = "flet-cli"
3
- version = "0.86.1"
3
+ version = "0.86.2"
4
4
  description = "Flet CLI"
5
5
  authors = [{ name = "Appveyor Systems Inc.", email = "hello@flet.dev" }]
6
6
  license = "Apache-2.0"
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.10"
9
9
  dependencies = [
10
- "flet==0.86.1",
10
+ "flet==0.86.2",
11
11
  "watchdog >=4.0.0",
12
12
  "packaging >=25.0",
13
13
  "qrcode >=7.4.2",
@@ -474,6 +474,17 @@ class BaseBuildCommand(BaseFlutterCommand):
474
474
  default=None,
475
475
  help="Split the APKs per ABIs (Android only)",
476
476
  )
477
+ parser.add_argument(
478
+ "--android-legacy-packaging",
479
+ dest="android_legacy_packaging",
480
+ action=argparse.BooleanOptionalAction,
481
+ default=None,
482
+ help="Use legacy Android native-library packaging: extract `.so` to disk "
483
+ "at install time instead of memory-mapping them directly from the APK. Off "
484
+ "by default (modern packaging). Enabling it makes the raw `.apk` file "
485
+ "smaller for side-loading, at the cost of a larger on-device install size "
486
+ "and slower native-library loading (Android only)",
487
+ )
477
488
  parser.add_argument(
478
489
  "--compile-app",
479
490
  dest="compile_app",
@@ -920,6 +931,16 @@ class BaseBuildCommand(BaseFlutterCommand):
920
931
  )
921
932
  )
922
933
 
934
+ android_legacy_packaging = (
935
+ self.options.android_legacy_packaging
936
+ if self.options.android_legacy_packaging is not None
937
+ else (
938
+ self.get_pyproject("tool.flet.android.legacy_packaging")
939
+ if self.get_pyproject("tool.flet.android.legacy_packaging") is not None
940
+ else False
941
+ )
942
+ )
943
+
923
944
  info_plist = {}
924
945
  macos_entitlements = {
925
946
  "com.apple.security.app-sandbox": False,
@@ -1375,6 +1396,7 @@ class BaseBuildCommand(BaseFlutterCommand):
1375
1396
  or self.get_pyproject("tool.flet.android.signing.key_store")
1376
1397
  or os.getenv("FLET_ANDROID_SIGNING_KEY_STORE")
1377
1398
  ),
1399
+ "android_legacy_packaging": bool(android_legacy_packaging),
1378
1400
  },
1379
1401
  "flutter": {"dependencies": list(self.flutter_dependencies.keys())},
1380
1402
  "boot_screen": self._resolve_boot_screen(),
@@ -21,14 +21,26 @@ from flet.utils.platform_utils import get_bool_env_var
21
21
  from flet_cli.commands.base import BaseCommand
22
22
  from flet_cli.utils.flutter import get_flutter_dir, install_flutter
23
23
 
24
- no_rich_output = get_bool_env_var("FLET_CLI_NO_RICH_OUTPUT")
24
+ # Detect the plain-output request BEFORE building the shared console: the
25
+ # `--no-rich-output` argparse flag is parsed per-command, too late to
26
+ # affect this module-level console, so check sys.argv for it here too
27
+ # (alongside the env var). Without this, the flag only suppressed emojis
28
+ # while the color + Live spinner kept going.
29
+ no_rich_output = (
30
+ get_bool_env_var("FLET_CLI_NO_RICH_OUTPUT") or "--no-rich-output" in sys.argv
31
+ )
25
32
 
26
33
  error_style = Style(color="red", bold=True)
27
34
  warning_style = Style(color="yellow", bold=True)
28
35
  console = Console(
29
36
  log_path=False,
30
37
  theme=Theme({"log.message": "green bold"}),
31
- force_terminal=not no_rich_output,
38
+ # no_rich_output forces fully plain output (no color, no animation).
39
+ # Otherwise auto-detect the terminal (force_terminal=None): a real TTY
40
+ # gets the animated Live spinner, but piped output (CI, cloud build)
41
+ # must NOT be fed one line per animation frame — forcing the terminal
42
+ # on there floods non-TTY logs with thousands of spinner redraws.
43
+ force_terminal=False if no_rich_output else None,
32
44
  )
33
45
  verbose1_style = Style(dim=True, bold=False)
34
46
  verbose2_style = Style(color="bright_black", bold=False)
@@ -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 = "20260714"
31
+ PYTHON_BUILD_RELEASE_DATE = "20260720"
32
32
 
33
33
  RELEASE_DATE_ENV = "FLET_PYTHON_BUILD_RELEASE_DATE"
34
34
  MANIFEST_PATH_ENV = "FLET_PYTHON_BUILD_MANIFEST"
@@ -0,0 +1 @@
1
+ version = "0.86.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-cli
3
- Version: 0.86.1
3
+ Version: 0.86.2
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.1
12
+ Requires-Dist: flet==0.86.2
13
13
  Requires-Dist: watchdog>=4.0.0
14
14
  Requires-Dist: packaging>=25.0
15
15
  Requires-Dist: qrcode>=7.4.2
@@ -1,4 +1,4 @@
1
- flet==0.86.1
1
+ flet==0.86.2
2
2
  watchdog>=4.0.0
3
3
  packaging>=25.0
4
4
  qrcode>=7.4.2
@@ -1 +0,0 @@
1
- version = "0.86.1"
File without changes
File without changes
File without changes
File without changes
File without changes