fastled 1.4.21__py3-none-any.whl → 1.4.23__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.4.21"
4
+ __version__ = "1.4.23"
5
5
 
6
6
  __version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
fastled/client_server.py CHANGED
@@ -494,9 +494,6 @@ def run_client(
494
494
  print(f"\nChanges detected in FastLED source code: {changed_files}")
495
495
  print("Press space bar to trigger compile.")
496
496
 
497
- # Re-evaluate libcompile capability when source code changes
498
- allow_libcompile = True
499
-
500
497
  while True:
501
498
  space_bar_pressed = SpaceBarWatcher.watch_space_bar_pressed(
502
499
  timeout=1.0
@@ -510,6 +507,8 @@ def run_client(
510
507
  print(
511
508
  f"Changes detected in {file_changes}\nHit the space bar to trigger compile."
512
509
  )
510
+ # Re-evaluate libcompile capability when source code changes
511
+ allow_libcompile = True
513
512
 
514
513
  if space_bar_pressed or sketch_files_changed:
515
514
  if space_bar_pressed:
@@ -521,7 +520,9 @@ def run_client(
521
520
  last_compiled_result = compile_function(
522
521
  last_hash_value=None, allow_libcompile=allow_libcompile
523
522
  )
524
- allow_libcompile = False
523
+ allow_libcompile = (
524
+ allow_libcompile and not last_compiled_result.success
525
+ )
525
526
  print("Finished recompile.")
526
527
  # Drain the space bar queue
527
528
  SpaceBarWatcher.watch_space_bar_pressed()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastled
3
- Version: 1.4.21
3
+ Version: 1.4.23
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -1,12 +1,12 @@
1
1
  fastled/__init__.py,sha256=dahiY41HLLotTjqmpVJmXSwUEp8NKqoZ57jt55hBLa4,7667
2
2
  fastled/__main__.py,sha256=OcKv2ER1_iQAsZzLIUb3C8hRC9L2clNOhCrjpshrlf4,336
3
- fastled/__version__.py,sha256=McWUYTo2g6af1Ti-wgto2GgMPSK2Jeo1zNTIVEZai6Q,373
3
+ fastled/__version__.py,sha256=yKbpI6NDmwfivDRjk82buS0Jqp66YM94qGCL7lho3WI,373
4
4
  fastled/app.py,sha256=yZP_UbLLyteBkiYJQQLvqHmH14xwrayGKbL7jtjY6g4,6225
5
5
  fastled/args.py,sha256=uYNM4ALYaB6vj4q4ypfvrgK7tNCEgvC_MBAyGyIeEx8,3885
6
6
  fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
7
7
  fastled/cli_test.py,sha256=W-1nODZrip_JU6BEbYhxOa4ckxduOsiX8zIoRkTyxv4,550
8
8
  fastled/cli_test_interactive.py,sha256=BjNhveZOk5aCffHbcrxPQQjWmAuj4ClVKKcKX5eY6yM,542
9
- fastled/client_server.py,sha256=gQG766BNKS02ffjjzQ8cR_3g4GrCFrylAhbdYnoIDHc,23004
9
+ fastled/client_server.py,sha256=hicDva00ytsa6ZQDK_RvrVINN5Luh--LzowReK-lV5M,23131
10
10
  fastled/compile_server.py,sha256=iGUjteXKp5Dlp7mxAE4eD4s0NWgApRIp4ZjtcAN2iZY,3124
11
11
  fastled/compile_server_impl.py,sha256=iCwNCs7YxypUuVPmY4979mOgoH9OiuAJa1a1bmpG1cc,12567
12
12
  fastled/docker_manager.py,sha256=c0-DBA4_YtCl2XgtohL6uKtW0TK6vkHO0o2vympZShg,41089
@@ -42,9 +42,9 @@ fastled/site/build.py,sha256=2YKU_UWKlJdGnjdbAbaL0co6kceFMSTVYwH1KCmgPZA,13987
42
42
  fastled/site/examples.py,sha256=s6vj2zJc6BfKlnbwXr1QWY1mzuDBMt6j5MEBOWjO_U8,155
43
43
  fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
44
44
  fastled/test/examples.py,sha256=GfaHeY1E8izBl6ZqDVjz--RHLyVR4NRnQ5pBesCFJFY,1673
45
- fastled-1.4.21.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
46
- fastled-1.4.21.dist-info/METADATA,sha256=FUXZxUguPakv1_FJZAlSRup9XxVo0eMvO_TzUpralnk,32441
47
- fastled-1.4.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
48
- fastled-1.4.21.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
49
- fastled-1.4.21.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
50
- fastled-1.4.21.dist-info/RECORD,,
45
+ fastled-1.4.23.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
46
+ fastled-1.4.23.dist-info/METADATA,sha256=xDzQHBmdm7aiWcUIgKTWldO6G6RUQQMtwFlKqvpcVco,32441
47
+ fastled-1.4.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
48
+ fastled-1.4.23.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
49
+ fastled-1.4.23.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
50
+ fastled-1.4.23.dist-info/RECORD,,