comfy-env 0.0.45__py3-none-any.whl → 0.0.46__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/pixi.py CHANGED
@@ -224,6 +224,21 @@ def create_pixi_toml(
224
224
 
225
225
  # PyPI dependencies section
226
226
  pypi_deps = []
227
+ special_deps = {} # For dependencies that need special syntax (path, etc.)
228
+
229
+ # Always include comfy-env for worker support
230
+ # Use local wheel if available (for ct test --local)
231
+ local_wheels_dir = os.environ.get("COMFY_LOCAL_WHEELS")
232
+ if local_wheels_dir:
233
+ local_wheels = list(Path(local_wheels_dir).glob("comfy_env-*.whl"))
234
+ if local_wheels:
235
+ # Use relative path from node_dir
236
+ rel_path = os.path.relpath(local_wheels[0], node_dir)
237
+ special_deps["comfy-env"] = f'{{ path = "{rel_path}" }}'
238
+ else:
239
+ pypi_deps.append("comfy-env")
240
+ else:
241
+ pypi_deps.append("comfy-env")
227
242
 
228
243
  # Add regular requirements
229
244
  if env_config.requirements:
@@ -241,8 +256,13 @@ def create_pixi_toml(
241
256
  elif sys.platform == "win32" and env_config.windows_requirements:
242
257
  pypi_deps.extend(env_config.windows_requirements)
243
258
 
244
- if pypi_deps:
259
+ if pypi_deps or special_deps:
245
260
  lines.append("[pypi-dependencies]")
261
+
262
+ # Add special dependencies first (path-based, etc.)
263
+ for name, value in special_deps.items():
264
+ lines.append(f'{name} = {value}')
265
+
246
266
  for dep in pypi_deps:
247
267
  # Parse pip requirement format to pixi format
248
268
  dep_clean = dep.strip()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: comfy-env
3
- Version: 0.0.45
3
+ Version: 0.0.46
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
@@ -4,7 +4,7 @@ comfy_env/decorator.py,sha256=6JCKwLHaZtOLVDexs_gh_-NtS2ZK0V7nGCPqkyeYEAA,16688
4
4
  comfy_env/errors.py,sha256=8hN8NDlo8oBUdapc-eT3ZluigI5VBzfqsSBvQdfWlz4,9943
5
5
  comfy_env/install.py,sha256=m4NKlfCcQGI5xzVRjHw3ep-lWbqx5kE1e21sUUZ2Leo,17528
6
6
  comfy_env/nodes.py,sha256=CWUe35jU5SKk4ur-SddZePdqWgxJDlxGhpcJiu5pAK4,4354
7
- comfy_env/pixi.py,sha256=y25mUDhB3bCqhPMGF0h23Tf8ZHykK4gLJrkvOhsPWmE,14398
7
+ comfy_env/pixi.py,sha256=VyPYL6hV7rxMUJcUl-8UobwTpOTzaSEmvRKT8v5a0vo,15250
8
8
  comfy_env/registry.py,sha256=w-QwvAPFlCrBYRAv4cXkp2zujQPZn8Fk5DUxKCtox8o,3430
9
9
  comfy_env/resolver.py,sha256=WoNIo2IfTR2RlEf_HQl66eAeMa2R2pmLof_UdK-0RNE,6714
10
10
  comfy_env/env/__init__.py,sha256=imQdoQEQvrRT-QDtyNpFlkVbm2fBzgACdpQwRPd09fI,1157
@@ -37,8 +37,8 @@ comfy_env/workers/tensor_utils.py,sha256=TCuOAjJymrSbkgfyvcKtQ_KbVWTqSwP9VH_bCaF
37
37
  comfy_env/workers/torch_mp.py,sha256=4YSNPn7hALrvMVbkO4RkTeFTcc0lhfLMk5QTWjY4PHw,22134
38
38
  comfy_env/workers/venv.py,sha256=YXIjSo4JSq2m9W2sDXA6N0pBc8kv_MpxfOJ2YZjBkw4,38219
39
39
  comfy_env/wheel_sources.yml,sha256=K5dksy21YcT7QdFlVDkKF4Rv9ZCjHaWhQgoEhdSyAOI,8156
40
- comfy_env-0.0.45.dist-info/METADATA,sha256=sVpd0ratFmnZ9CG2fN3-NP0CDrEscDwmlGpOPLCq2wk,7138
41
- comfy_env-0.0.45.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
42
- comfy_env-0.0.45.dist-info/entry_points.txt,sha256=J4fXeqgxU_YenuW_Zxn_pEL7J-3R0--b6MS5t0QmAr0,49
43
- comfy_env-0.0.45.dist-info/licenses/LICENSE,sha256=E68QZMMpW4P2YKstTZ3QU54HRQO8ecew09XZ4_Vn870,1093
44
- comfy_env-0.0.45.dist-info/RECORD,,
40
+ comfy_env-0.0.46.dist-info/METADATA,sha256=IgAsssRTB2JzQG9g5H8By9YonDC34z5RT9uo_JBM5jY,7138
41
+ comfy_env-0.0.46.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
42
+ comfy_env-0.0.46.dist-info/entry_points.txt,sha256=J4fXeqgxU_YenuW_Zxn_pEL7J-3R0--b6MS5t0QmAr0,49
43
+ comfy_env-0.0.46.dist-info/licenses/LICENSE,sha256=E68QZMMpW4P2YKstTZ3QU54HRQO8ecew09XZ4_Vn870,1093
44
+ comfy_env-0.0.46.dist-info/RECORD,,