comfy-env 0.0.53__py3-none-any.whl → 0.0.54__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.
comfy_env/decorator.py CHANGED
@@ -382,7 +382,7 @@ def isolated(
382
382
 
383
383
  # Log entry with argument descriptions
384
384
  if VERBOSE_LOGGING:
385
- log_fn(f" {cls.__name__}.{func_name}({_describe_args(call_kwargs)})")
385
+ log_fn(f"-> {cls.__name__}.{func_name}({_describe_args(call_kwargs)})")
386
386
 
387
387
  start_time = time.time()
388
388
 
@@ -425,13 +425,13 @@ def isolated(
425
425
  elapsed = time.time() - start_time
426
426
  if VERBOSE_LOGGING:
427
427
  result_desc = _describe_tensor(result) if not isinstance(result, tuple) else f"tuple({len(result)} items)"
428
- log_fn(f" {cls.__name__}.{func_name} returned {result_desc} [{elapsed:.2f}s]")
428
+ log_fn(f"<- {cls.__name__}.{func_name} returned {result_desc} [{elapsed:.2f}s]")
429
429
 
430
430
  return result
431
431
 
432
432
  except Exception as e:
433
433
  elapsed = time.time() - start_time
434
- log_fn(f" {cls.__name__}.{func_name} failed after {elapsed:.2f}s: {e}")
434
+ log_fn(f"[FAIL] {cls.__name__}.{func_name} failed after {elapsed:.2f}s: {e}")
435
435
  raise
436
436
 
437
437
  # Store original method before replacing (for worker to access)
@@ -689,7 +689,7 @@ def auto_isolate(func: Callable) -> Callable:
689
689
  )
690
690
 
691
691
  elapsed = time.time() - start_time
692
- _log(env_name, f" {func.__name__} completed in isolated env [{elapsed:.2f}s]")
692
+ _log(env_name, f"<- {func.__name__} completed in isolated env [{elapsed:.2f}s]")
693
693
 
694
694
  return result
695
695
 
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Robust CUDA/GPU detection with multiple fallback methods.
3
3
 
4
- Detection priority: NVML PyTorch nvidia-smi sysfs env vars
4
+ Detection priority: NVML -> PyTorch -> nvidia-smi -> sysfs -> env vars
5
5
  """
6
6
 
7
7
  from __future__ import annotations
comfy_env/errors.py CHANGED
@@ -229,7 +229,7 @@ class DependencyError(EnvManagerError):
229
229
  # Skip empty lines and progress bars
230
230
  if not line.strip():
231
231
  continue
232
- if line.startswith(" ") and ("%" in line or "━" in line):
232
+ if line.startswith(" ") and "%" in line:
233
233
  continue
234
234
 
235
235
  # Keep error lines and important info
comfy_env/install.py CHANGED
@@ -2,8 +2,8 @@
2
2
  Installation API for comfy-env.
3
3
 
4
4
  This module provides the main `install()` function that handles:
5
- - Named environments [envname] pixi (isolated Python environment)
6
- - Local packages [local] uv/pip (in-place to current Python)
5
+ - Named environments [envname] -> pixi (isolated Python environment)
6
+ - Local packages [local] -> uv/pip (in-place to current Python)
7
7
 
8
8
  Example:
9
9
  from comfy_env import install
@@ -183,7 +183,7 @@ def install(
183
183
  user_wheel_sources = full_config.wheel_sources if hasattr(full_config, 'wheel_sources') else {}
184
184
 
185
185
  if env_config:
186
- # Named environment always pixi
186
+ # Named environment -> always pixi
187
187
  log(f"Found environment: {env_config.name}")
188
188
  python_ver = env_config.python or "3.11" # Default to 3.11 if not specified
189
189
  if not env_config.python:
@@ -204,7 +204,7 @@ def install(
204
204
  log(f" Using pixi backend (Python {python_ver})")
205
205
  return pixi_install(env_config, node_dir, log, dry_run)
206
206
  elif full_config.has_local:
207
- # [local] section uv in-place install
207
+ # [local] section -> uv in-place install
208
208
  return _install_local(full_config.local, node_dir, log, dry_run, user_wheel_sources)
209
209
  else:
210
210
  log("No packages to install")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: comfy-env
3
- Version: 0.0.53
3
+ Version: 0.0.54
4
4
  Summary: Environment management for ComfyUI custom nodes - CUDA wheel resolution and process isolation
5
5
  Project-URL: Homepage, https://github.com/PozzettiAndrea/comfy-env
6
6
  Project-URL: Repository, https://github.com/PozzettiAndrea/comfy-env
@@ -1,8 +1,8 @@
1
1
  comfy_env/__init__.py,sha256=DvOCFCq-EuXZ_e6vsPCObgTPYSRLZqiG3w35SOD-e4E,4101
2
2
  comfy_env/cli.py,sha256=Pjzb-jsoH67lyHxmBFOWvasWX01eHFE_BEjUk1l-uEo,14509
3
- comfy_env/decorator.py,sha256=bL0eUjXf5UAGbsT2zilZbO0e8ZbhtQAR3vDJLbMO3ZI,27018
4
- comfy_env/errors.py,sha256=8hN8NDlo8oBUdapc-eT3ZluigI5VBzfqsSBvQdfWlz4,9943
5
- comfy_env/install.py,sha256=b2eXFqQ58pUBWpwc1AhymbTh7dGRMnEuq5FoZot0CO0,15661
3
+ comfy_env/decorator.py,sha256=SL2duhj8EpQuK-TuEgNA9anTgQI9gWza5ikPlLXESjA,27018
4
+ comfy_env/errors.py,sha256=q-C3vyrPa_kk_Ao8l17mIGfJiG2IR0hCFV0GFcNLmcI,9924
5
+ comfy_env/install.py,sha256=nfzGifXVd87a6dnwY3GtktrXpS7fjWuWF-QV9hh2e94,15657
6
6
  comfy_env/isolation.py,sha256=wuze8TmkRbdMfrg2cj9quoGYJWsxKcc5iiDvmLWX16g,8680
7
7
  comfy_env/nodes.py,sha256=CWUe35jU5SKk4ur-SddZePdqWgxJDlxGhpcJiu5pAK4,4354
8
8
  comfy_env/pixi.py,sha256=7_ylvBlVouwHZTraNXrS8bqfksdEpOOxhFus0HgVKVw,21375
@@ -12,7 +12,7 @@ comfy_env/stub_imports.py,sha256=9aSWkgDHU0GjqQ8BmUMJyKewc47OtlbWPbAYY0gkCrM,927
12
12
  comfy_env/env/__init__.py,sha256=imQdoQEQvrRT-QDtyNpFlkVbm2fBzgACdpQwRPd09fI,1157
13
13
  comfy_env/env/config.py,sha256=cRSuWiVZGSK9xpvyNIyMirlHyfTm6_AB_eXzeKyvfnc,7749
14
14
  comfy_env/env/config_file.py,sha256=g6fZq6XbTUXx97meWW_7xfKcuC0sN002c7fBvR0eCOg,24819
15
- comfy_env/env/cuda_gpu_detection.py,sha256=YLuXUdWg6FeKdNyLlQAHPlveg4rTenXJ2VbeAaEi9QE,9755
15
+ comfy_env/env/cuda_gpu_detection.py,sha256=sqB3LjvGNdV4eFqiARQGfyecBM3ZiUmeh6nG0YCRYQw,9751
16
16
  comfy_env/env/manager.py,sha256=-qdbZDsbNfs70onVbC7mhKCzNsxYx3WmG7ttlBinhGI,23659
17
17
  comfy_env/env/security.py,sha256=dNSitAnfBNVdvxgBBntYw33AJaCs_S1MHb7KJhAVYzM,8171
18
18
  comfy_env/env/platform/__init__.py,sha256=Nb5MPZIEeanSMEWwqU4p4bnEKTJn1tWcwobnhq9x9IY,614
@@ -41,8 +41,8 @@ comfy_env/workers/tensor_utils.py,sha256=TCuOAjJymrSbkgfyvcKtQ_KbVWTqSwP9VH_bCaF
41
41
  comfy_env/workers/torch_mp.py,sha256=TnsCoBHEJBXEoBkx7WiCd9tBAlzFtMOw1dk_7_zGJZY,22288
42
42
  comfy_env/workers/venv.py,sha256=MVAzO4lFsDdPAzF9-jhD9Pq9pEo6VRDnbMjlv6ymHfc,50225
43
43
  comfy_env/wheel_sources.yml,sha256=uU0YJmWaiLAicQNN9VYS8PZevlP2NOH6mBUE294dvAo,8156
44
- comfy_env-0.0.53.dist-info/METADATA,sha256=5XDAtBTqQpuePUVVUtzTx151XO1VAevd9TusF0xhTUo,8735
45
- comfy_env-0.0.53.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
46
- comfy_env-0.0.53.dist-info/entry_points.txt,sha256=J4fXeqgxU_YenuW_Zxn_pEL7J-3R0--b6MS5t0QmAr0,49
47
- comfy_env-0.0.53.dist-info/licenses/LICENSE,sha256=E68QZMMpW4P2YKstTZ3QU54HRQO8ecew09XZ4_Vn870,1093
48
- comfy_env-0.0.53.dist-info/RECORD,,
44
+ comfy_env-0.0.54.dist-info/METADATA,sha256=mYVZck5YA0iAsJQlCBaJtXdzvVZMf9KUfPaqAMAlx8w,8735
45
+ comfy_env-0.0.54.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
46
+ comfy_env-0.0.54.dist-info/entry_points.txt,sha256=J4fXeqgxU_YenuW_Zxn_pEL7J-3R0--b6MS5t0QmAr0,49
47
+ comfy_env-0.0.54.dist-info/licenses/LICENSE,sha256=E68QZMMpW4P2YKstTZ3QU54HRQO8ecew09XZ4_Vn870,1093
48
+ comfy_env-0.0.54.dist-info/RECORD,,