comfy-env 0.0.33__tar.gz → 0.0.34__tar.gz
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-0.0.33 → comfy_env-0.0.34}/PKG-INFO +1 -1
- {comfy_env-0.0.33 → comfy_env-0.0.34}/pyproject.toml +1 -1
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/pixi.py +26 -1
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/wheel_sources.yml +3 -3
- {comfy_env-0.0.33 → comfy_env-0.0.34}/.github/workflows/publish.yml +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/.gitignore +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/LICENSE +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/README.md +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/__init__.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/cli.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/decorator.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/__init__.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/config.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/config_file.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/cuda_gpu_detection.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/manager.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/platform/__init__.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/platform/base.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/platform/darwin.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/platform/linux.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/platform/windows.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/env/security.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/errors.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/index_resolver.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/install.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/ipc/__init__.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/ipc/bridge.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/ipc/protocol.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/ipc/tensor.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/ipc/torch_bridge.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/ipc/transport.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/ipc/worker.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/nodes.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/registry.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/resolver.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/stubs/__init__.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/stubs/folder_paths.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/workers/__init__.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/workers/base.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/workers/pool.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/workers/tensor_utils.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/workers/torch_mp.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/src/comfy_env/workers/venv.py +0 -0
- {comfy_env-0.0.33 → comfy_env-0.0.34}/untitled.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comfy-env
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.34
|
|
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
|
|
@@ -276,6 +276,7 @@ def create_pixi_toml(
|
|
|
276
276
|
|
|
277
277
|
def clean_pixi_artifacts(
|
|
278
278
|
node_dir: Path,
|
|
279
|
+
env_name: Optional[str] = None,
|
|
279
280
|
log: Callable[[str], None] = print,
|
|
280
281
|
) -> None:
|
|
281
282
|
"""
|
|
@@ -286,6 +287,7 @@ def clean_pixi_artifacts(
|
|
|
286
287
|
|
|
287
288
|
Args:
|
|
288
289
|
node_dir: Directory containing the pixi artifacts.
|
|
290
|
+
env_name: Environment name (for removing _env_ symlink).
|
|
289
291
|
log: Logging callback.
|
|
290
292
|
"""
|
|
291
293
|
pixi_toml = node_dir / "pixi.toml"
|
|
@@ -302,6 +304,13 @@ def clean_pixi_artifacts(
|
|
|
302
304
|
shutil.rmtree(pixi_dir)
|
|
303
305
|
log(" Removed previous .pixi/ directory")
|
|
304
306
|
|
|
307
|
+
# Remove _env_ symlink if it exists
|
|
308
|
+
if env_name:
|
|
309
|
+
symlink_path = node_dir / f"_env_{env_name}"
|
|
310
|
+
if symlink_path.is_symlink():
|
|
311
|
+
symlink_path.unlink()
|
|
312
|
+
log(f" Removed previous _env_{env_name} symlink")
|
|
313
|
+
|
|
305
314
|
|
|
306
315
|
def pixi_install(
|
|
307
316
|
env_config: IsolatedEnv,
|
|
@@ -344,7 +353,7 @@ def pixi_install(
|
|
|
344
353
|
return True
|
|
345
354
|
|
|
346
355
|
# Clean previous pixi artifacts
|
|
347
|
-
clean_pixi_artifacts(node_dir, log)
|
|
356
|
+
clean_pixi_artifacts(node_dir, env_config.name, log)
|
|
348
357
|
|
|
349
358
|
# Ensure pixi is installed
|
|
350
359
|
pixi_path = ensure_pixi(log=log)
|
|
@@ -373,6 +382,22 @@ def pixi_install(
|
|
|
373
382
|
log(f" {line}")
|
|
374
383
|
|
|
375
384
|
log("pixi install completed successfully!")
|
|
385
|
+
|
|
386
|
+
# Create _env_{name} symlink for compatibility with uv backend
|
|
387
|
+
# This ensures code that expects _env_envname/bin/python works with pixi
|
|
388
|
+
symlink_path = node_dir / f"_env_{env_config.name}"
|
|
389
|
+
pixi_env_path = node_dir / ".pixi" / "envs" / "default"
|
|
390
|
+
|
|
391
|
+
if pixi_env_path.exists():
|
|
392
|
+
# Remove existing symlink or directory if present
|
|
393
|
+
if symlink_path.is_symlink():
|
|
394
|
+
symlink_path.unlink()
|
|
395
|
+
elif symlink_path.exists():
|
|
396
|
+
shutil.rmtree(symlink_path)
|
|
397
|
+
|
|
398
|
+
symlink_path.symlink_to(pixi_env_path)
|
|
399
|
+
log(f"Created symlink: _env_{env_config.name} -> .pixi/envs/default")
|
|
400
|
+
|
|
376
401
|
return True
|
|
377
402
|
|
|
378
403
|
|
|
@@ -49,12 +49,12 @@ packages:
|
|
|
49
49
|
description: Spline convolutions for PyTorch
|
|
50
50
|
|
|
51
51
|
# ===========================================================================
|
|
52
|
-
# pytorch3d -
|
|
53
|
-
# https://github.com/
|
|
52
|
+
# pytorch3d - MiroPsota's torch_packages_builder
|
|
53
|
+
# https://github.com/MiroPsota/torch_packages_builder
|
|
54
54
|
# ===========================================================================
|
|
55
55
|
pytorch3d:
|
|
56
56
|
method: index
|
|
57
|
-
index_url: "https://
|
|
57
|
+
index_url: "https://miropsota.github.io/torch_packages_builder/pytorch3d/"
|
|
58
58
|
description: PyTorch3D - 3D deep learning library
|
|
59
59
|
|
|
60
60
|
# ===========================================================================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|