comfy-env 0.0.47__py3-none-any.whl → 0.0.48__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/workers/venv.py CHANGED
@@ -475,6 +475,12 @@ class VenvWorker(Worker):
475
475
  env.update(self.extra_env)
476
476
  env["COMFYUI_ISOLATION_WORKER"] = "1"
477
477
 
478
+ # For conda/pixi environments, add lib dir to LD_LIBRARY_PATH
479
+ lib_dir = self.python.parent.parent / "lib"
480
+ if lib_dir.is_dir():
481
+ existing = env.get("LD_LIBRARY_PATH", "")
482
+ env["LD_LIBRARY_PATH"] = f"{lib_dir}:{existing}" if existing else str(lib_dir)
483
+
478
484
  # Run subprocess
479
485
  cmd = [
480
486
  str(self.python),
@@ -843,6 +849,13 @@ class PersistentVenvWorker(Worker):
843
849
  env.update(self.extra_env)
844
850
  env["COMFYUI_ISOLATION_WORKER"] = "1"
845
851
 
852
+ # For conda/pixi environments, add lib dir to LD_LIBRARY_PATH
853
+ # This ensures libraries like libstdc++ from the env are used
854
+ lib_dir = self.python.parent.parent / "lib"
855
+ if lib_dir.is_dir():
856
+ existing = env.get("LD_LIBRARY_PATH", "")
857
+ env["LD_LIBRARY_PATH"] = f"{lib_dir}:{existing}" if existing else str(lib_dir)
858
+
846
859
  # On Windows, pass host Python directory so worker can add it via os.add_dll_directory()
847
860
  # This fixes "DLL load failed" errors for packages like opencv-python-headless
848
861
  if sys.platform == "win32":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: comfy-env
3
- Version: 0.0.47
3
+ Version: 0.0.48
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
@@ -35,10 +35,10 @@ comfy_env/workers/base.py,sha256=ZILYXlvGCWuCZXmjKqfG8VeD19ihdYaASdlbasl2BMo,231
35
35
  comfy_env/workers/pool.py,sha256=MtjeOWfvHSCockq8j1gfnxIl-t01GSB79T5N4YB82Lg,6956
36
36
  comfy_env/workers/tensor_utils.py,sha256=TCuOAjJymrSbkgfyvcKtQ_KbVWTqSwP9VH_bCaFLLq8,6409
37
37
  comfy_env/workers/torch_mp.py,sha256=4YSNPn7hALrvMVbkO4RkTeFTcc0lhfLMk5QTWjY4PHw,22134
38
- comfy_env/workers/venv.py,sha256=YXIjSo4JSq2m9W2sDXA6N0pBc8kv_MpxfOJ2YZjBkw4,38219
38
+ comfy_env/workers/venv.py,sha256=9xP3Y_ZoegMMCnBuRrd-mlIEKRF4oE01zL_8bngRuCk,38916
39
39
  comfy_env/wheel_sources.yml,sha256=K5dksy21YcT7QdFlVDkKF4Rv9ZCjHaWhQgoEhdSyAOI,8156
40
- comfy_env-0.0.47.dist-info/METADATA,sha256=MzvGc3lpfr4Ct6ljtiCuFx7fdmLAUL8Jc8RbbEfmI_s,7138
41
- comfy_env-0.0.47.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
42
- comfy_env-0.0.47.dist-info/entry_points.txt,sha256=J4fXeqgxU_YenuW_Zxn_pEL7J-3R0--b6MS5t0QmAr0,49
43
- comfy_env-0.0.47.dist-info/licenses/LICENSE,sha256=E68QZMMpW4P2YKstTZ3QU54HRQO8ecew09XZ4_Vn870,1093
44
- comfy_env-0.0.47.dist-info/RECORD,,
40
+ comfy_env-0.0.48.dist-info/METADATA,sha256=a8hWh2c1hJZt2WkfR4giYSjl86bBTDuXYWB0Mn2z-8E,7138
41
+ comfy_env-0.0.48.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
42
+ comfy_env-0.0.48.dist-info/entry_points.txt,sha256=J4fXeqgxU_YenuW_Zxn_pEL7J-3R0--b6MS5t0QmAr0,49
43
+ comfy_env-0.0.48.dist-info/licenses/LICENSE,sha256=E68QZMMpW4P2YKstTZ3QU54HRQO8ecew09XZ4_Vn870,1093
44
+ comfy_env-0.0.48.dist-info/RECORD,,