fastled 1.3.32__py3-none-any.whl → 1.3.33__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.
fastled/__version__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # IMPORTANT! There's a bug in github which will REJECT any version update
2
2
  # that has any other change in the repo. Please bump the version as the
3
3
  # ONLY change in a commit, or else the pypi update and the release will fail.
4
- __version__ = "1.3.32"
4
+ __version__ = "1.3.33"
5
5
 
6
6
  __version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
fastled/args.py CHANGED
@@ -12,6 +12,7 @@ class Args:
12
12
  interactive: bool
13
13
  profile: bool
14
14
  force_compile: bool
15
+ no_platformio: bool
15
16
  auto_update: bool | None
16
17
  update: bool
17
18
  localhost: bool
@@ -47,6 +48,9 @@ class Args:
47
48
  assert isinstance(
48
49
  args.force_compile, bool
49
50
  ), f"expected bool, got {type(args.force_compile)}"
51
+ assert isinstance(
52
+ args.no_platformio, bool
53
+ ), f"expected bool, got {type(args.no_platformio)}"
50
54
  assert isinstance(
51
55
  args.no_auto_updates, bool | None
52
56
  ), f"expected bool | None, got {type(args.no_auto_updates)}"
@@ -78,6 +82,7 @@ class Args:
78
82
  interactive=args.interactive,
79
83
  profile=args.profile,
80
84
  force_compile=args.force_compile,
85
+ no_platformio=args.no_platformio,
81
86
  auto_update=not args.no_auto_updates,
82
87
  update=args.update,
83
88
  localhost=args.localhost,
fastled/parse_args.py CHANGED
@@ -30,6 +30,7 @@ FastLED WASM Compiler - Useful options:
30
30
  --init [example] Initialize one of the top tier WASM examples
31
31
  --web [url] Use web compiler
32
32
  --server Run the compiler server
33
+ --no-platformio Bypass PlatformIO constraints using local Docker compilation
33
34
  --quick Build in quick mode (default)
34
35
  --profile Enable profiling the C++ build system
35
36
  --update Update the docker image for the wasm compiler
@@ -114,6 +115,11 @@ def parse_args() -> Args:
114
115
  action="store_true",
115
116
  help="Disable automatic updates of the wasm compiler image when using docker.",
116
117
  )
118
+ parser.add_argument(
119
+ "--no-platformio",
120
+ action="store_true",
121
+ help="Bypass PlatformIO constraints by using local Docker compilation with custom build environment",
122
+ )
117
123
  parser.add_argument(
118
124
  "-u",
119
125
  "--update",
@@ -268,6 +274,12 @@ def parse_args() -> Args:
268
274
  if cwd_is_fastled and not args.web and not args.server:
269
275
  print("Forcing --local mode because we are in the FastLED repo")
270
276
  args.localhost = True
277
+ if args.no_platformio:
278
+ print(
279
+ "--no-platformio mode enabled: forcing local Docker compilation to bypass PlatformIO constraints"
280
+ )
281
+ args.localhost = True
282
+ args.web = None # Clear web flag to ensure local compilation
271
283
  if args.localhost:
272
284
  args.web = "localhost"
273
285
  if args.interactive and not args.server:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastled
3
- Version: 1.3.32
3
+ Version: 1.3.33
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -1,7 +1,7 @@
1
1
  fastled/__init__.py,sha256=YLikXGRWKlKAqj7bpvGmJLejGTFF-FC1lv2z1jwRinA,6852
2
- fastled/__version__.py,sha256=QunZoVjFTH9Y8NKeHIqN_c6OH5Mqvr3XImHILK188Ec,373
2
+ fastled/__version__.py,sha256=s3DxDBhjYroSDTNrOxw5GkS-mg3RRnvUaXp_-tLrhyQ,373
3
3
  fastled/app.py,sha256=zfSipnCZ6w9_aXCynGrqf7OE--mKzbhT0mEfCNW5XjA,5736
4
- fastled/args.py,sha256=d9CaarQ1yw7w0REwgrNQ78zOUQSk94fTXwXHtFZPTSY,3281
4
+ fastled/args.py,sha256=kucRGYpff_YKfmMpwWsJh6WIrvW_UPcNlZNFdw15z-Y,3475
5
5
  fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
6
6
  fastled/cli_test.py,sha256=W-1nODZrip_JU6BEbYhxOa4ckxduOsiX8zIoRkTyxv4,550
7
7
  fastled/cli_test_interactive.py,sha256=BjNhveZOk5aCffHbcrxPQQjWmAuj4ClVKKcKX5eY6yM,542
@@ -14,7 +14,7 @@ fastled/keyboard.py,sha256=UTAsqCn1UMYnB8YDzENiLTj4GeL45tYfEcO7_5fLFEg,3556
14
14
  fastled/keyz.py,sha256=LO-8m_7CpNDiZLM-FXhQ30f9gN1bUYz5lOsUPTIbI-c,4020
15
15
  fastled/live_client.py,sha256=yoAul8tVgbbPf1oEC79SUZSHkLECxlrXxgWR9XaBIp4,2957
16
16
  fastled/open_browser.py,sha256=DFyMrc1qic4Go7eLNPqMaLuMvTaE73NixdfSKV0yyp8,3709
17
- fastled/parse_args.py,sha256=Xj3jbNaTdEemqT1GcuhADvwT1mFX0InSC-Gzicqml1c,10791
17
+ fastled/parse_args.py,sha256=Uu7aNaXtV9afE-z_zpINzykPnFewdN6Goiqgs6Rtt-c,11359
18
18
  fastled/paths.py,sha256=VsPmgu0lNSCFOoEC0BsTYzDygXqy15AHUfN-tTuzDZA,99
19
19
  fastled/print_filter.py,sha256=nc_rqYYdCUPinFycaK7fiQF5PG1up51pmJptR__QyAs,1499
20
20
  fastled/project_init.py,sha256=bBt4DwmW5hZkm9ICt9Qk-0Nr_0JQM7icCgH5Iv-bCQs,3984
@@ -36,9 +36,9 @@ fastled/site/build.py,sha256=2YKU_UWKlJdGnjdbAbaL0co6kceFMSTVYwH1KCmgPZA,13987
36
36
  fastled/site/examples.py,sha256=s6vj2zJc6BfKlnbwXr1QWY1mzuDBMt6j5MEBOWjO_U8,155
37
37
  fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
38
38
  fastled/test/examples.py,sha256=GfaHeY1E8izBl6ZqDVjz--RHLyVR4NRnQ5pBesCFJFY,1673
39
- fastled-1.3.32.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
40
- fastled-1.3.32.dist-info/METADATA,sha256=JUs4QvyDrUb_qY4Ww8BHiUMaX7FOyEEfDicCXCmIY0s,30847
41
- fastled-1.3.32.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
- fastled-1.3.32.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
43
- fastled-1.3.32.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
44
- fastled-1.3.32.dist-info/RECORD,,
39
+ fastled-1.3.33.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
40
+ fastled-1.3.33.dist-info/METADATA,sha256=Wp6AvKuON8OkLVw-LEf8HyAyh0mAJ0AadA5J3oAJre0,30847
41
+ fastled-1.3.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
+ fastled-1.3.33.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
43
+ fastled-1.3.33.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
44
+ fastled-1.3.33.dist-info/RECORD,,