fastled 1.1.19__py2.py3-none-any.whl → 1.1.20__py2.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/__init__.py +1 -1
- fastled/app.py +0 -1
- fastled/docker_manager.py +16 -2
- {fastled-1.1.19.dist-info → fastled-1.1.20.dist-info}/METADATA +2 -1
- {fastled-1.1.19.dist-info → fastled-1.1.20.dist-info}/RECORD +9 -9
- {fastled-1.1.19.dist-info → fastled-1.1.20.dist-info}/LICENSE +0 -0
- {fastled-1.1.19.dist-info → fastled-1.1.20.dist-info}/WHEEL +0 -0
- {fastled-1.1.19.dist-info → fastled-1.1.20.dist-info}/entry_points.txt +0 -0
- {fastled-1.1.19.dist-info → fastled-1.1.20.dist-info}/top_level.txt +0 -0
fastled/__init__.py
CHANGED
fastled/app.py
CHANGED
fastled/docker_manager.py
CHANGED
@@ -89,8 +89,19 @@ class RunningContainer:
|
|
89
89
|
|
90
90
|
class DockerManager:
|
91
91
|
def __init__(self) -> None:
|
92
|
-
|
93
|
-
|
92
|
+
try:
|
93
|
+
self._client: DockerClient | None = None
|
94
|
+
self.first_run = False
|
95
|
+
except docker.errors.DockerException as e:
|
96
|
+
stack = traceback.format_exc()
|
97
|
+
warnings.warn(f"Error initializing Docker client: {e}\n{stack}")
|
98
|
+
raise
|
99
|
+
|
100
|
+
@property
|
101
|
+
def client(self) -> DockerClient:
|
102
|
+
if self._client is None:
|
103
|
+
self._client = docker.from_env()
|
104
|
+
return self._client
|
94
105
|
|
95
106
|
@staticmethod
|
96
107
|
def is_docker_installed() -> bool:
|
@@ -120,6 +131,9 @@ class DockerManager:
|
|
120
131
|
except docker.errors.DockerException as e:
|
121
132
|
print(f"Docker is not running: {str(e)}")
|
122
133
|
return False
|
134
|
+
except Exception as e:
|
135
|
+
print(f"Error pinging Docker daemon: {str(e)}")
|
136
|
+
return False
|
123
137
|
|
124
138
|
def start(self) -> bool:
|
125
139
|
"""Attempt to start Docker Desktop (or the Docker daemon) automatically."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fastled
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.20
|
4
4
|
Summary: FastLED Wasm Compiler
|
5
5
|
Home-page: https://github.com/zackees/fastled-wasm
|
6
6
|
Maintainer: Zachary Vorhies
|
@@ -161,6 +161,7 @@ A: A big chunk of space is being used by unnecessary javascript `emscripten` is
|
|
161
161
|
|
162
162
|
# Revisions
|
163
163
|
|
164
|
+
* 1.1.20 - Fixed a regression for 1.1.16 involving docker throwing an exception before DockerManager.is_running() could be called so it can be launched.
|
164
165
|
* 1.1.19 - Automatically does a limit searches for sketch directories if you leave it blank.
|
165
166
|
* 1.1.18 - Fixes for when the image has never been downloaded.
|
166
167
|
* 1.1.17 - Added `--update` and `--no-auto-update` to control whether the compiler in docker mode will try to update.
|
@@ -1,9 +1,9 @@
|
|
1
|
-
fastled/__init__.py,sha256=
|
2
|
-
fastled/app.py,sha256=
|
1
|
+
fastled/__init__.py,sha256=p51kZEN1JznXCt_KUL-m7ZWLsSop3-7JuCT0ywmQs3A,64
|
2
|
+
fastled/app.py,sha256=gLmma0cWlXgkCGPLt3DQIUAZuU3EdxfzNZfAi0ghEOI,16882
|
3
3
|
fastled/build_mode.py,sha256=joMwsV4K1y_LijT4gEAcjx69RZBoe_KmFmHZdPYbL_4,631
|
4
4
|
fastled/cli.py,sha256=CNR_pQR0sNVPNuv8e_nmm-0PI8sU-eUBUgnWgWkzW9c,237
|
5
5
|
fastled/compile_server.py,sha256=aBdpILSRrDsCJ5e9g5uwIqt9bcqE_8FrSddCV2ygtrI,5401
|
6
|
-
fastled/docker_manager.py,sha256=
|
6
|
+
fastled/docker_manager.py,sha256=5IXaLt8k4WSSiWmvqMvwMYKngAgZ-t2p2deJ6cmJNwk,20434
|
7
7
|
fastled/filewatcher.py,sha256=5dVmjEG23kMeJa29tRVm5XKSr9sTD4ME2boo-CFDuUM,6910
|
8
8
|
fastled/keyboard.py,sha256=rqndglWYzRy6oiqHgsmx1peLd0Yrpci01zGENlCzh_s,2576
|
9
9
|
fastled/open_browser.py,sha256=RRHcsZ5Vzsw1AuZUEYuSfjKmf_9j3NGMDUR-FndHmqs,1483
|
@@ -12,9 +12,9 @@ fastled/sketch.py,sha256=5nRjg281lMH8Bo9wKjbcpTQCfEP574ZCG-lukvFmyQ8,2656
|
|
12
12
|
fastled/util.py,sha256=t4M3NFMhnCzfYbLvIyJi0RdFssZqbTN_vVIaej1WV-U,265
|
13
13
|
fastled/web_compile.py,sha256=KuvKGdX6SSUUqC7YgX4T9SMSP5wdcPUhpg9-K9zPoTI,10378
|
14
14
|
fastled/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
|
15
|
-
fastled-1.1.
|
16
|
-
fastled-1.1.
|
17
|
-
fastled-1.1.
|
18
|
-
fastled-1.1.
|
19
|
-
fastled-1.1.
|
20
|
-
fastled-1.1.
|
15
|
+
fastled-1.1.20.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
16
|
+
fastled-1.1.20.dist-info/METADATA,sha256=XyDrNrK_WIiy21Xj_xlIWUgfdMiZ0KGDnasYL-or2Xg,13814
|
17
|
+
fastled-1.1.20.dist-info/WHEEL,sha256=0VNUDWQJzfRahYI3neAhz2UVbRCtztpN5dPHAGvmGXc,109
|
18
|
+
fastled-1.1.20.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
|
19
|
+
fastled-1.1.20.dist-info/top_level.txt,sha256=xfG6Z_ol9V5YmBROkZq2QTRwjbS2ouCUxaTJsOwfkOo,14
|
20
|
+
fastled-1.1.20.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|