Comfy-Org / comfy-cli

Command Line Interface for Managing ComfyUI
https://docs.comfy.org/comfy-cli/getting-started
GNU General Public License v3.0
288 stars 48 forks source link

reqFile should be a list of paths. #164

Closed robinjhuang closed 2 months ago

robinjhuang commented 2 months ago

Fixes this bug when I run:

comfy --skip-prompt --workspace ~/Documents/comfy-package install --fast-deps ...

───────────────────────────────────────────╮  │
│ │             cmd = [                                                                         │  │
│ │                   │   '/Users/junhanhuang/miniconda3/envs/comfy-cli/bin/python',            │  │
│ │                   │   '-m',                                                                 │  │
│ │                   │   'uv',                                                                 │  │
│ │                   │   'pip',                                                                │  │
│ │                   │   'install',                                                            │  │
│ │                   │   '--index-strategy',                                                   │  │
│ │                   │   'unsafe-best-match',                                                  │  │
│ │                   │   '--override',                                                         │  │
│ │                   │   '/Users/junhanhuang/Documents/comfy-cli/override.txt'                 │  │
│ │                   ]                                                                         │  │
│ │             cwd = PosixPath('/Users/junhanhuang/Documents/comfy-package')                   │  │
│ │             dry = False                                                                     │  │
│ │      executable = PosixPath('/Users/junhanhuang/miniconda3/envs/comfy-cli/bin/python')      │  │
│ │ extra_index_url = None                                                                      │  │
│ │      find_links = None                                                                      │  │
│ │  index_strategy = 'unsafe-best-match'                                                       │  │
│ │         no_deps = False                                                                     │  │
│ │        no_index = False                                                                     │  │
│ │        override = PosixPath('/Users/junhanhuang/Documents/comfy-cli/override.txt')          │  │
│ │         reqFile = PosixPath('/Users/junhanhuang/Documents/comfy-cli/requirements.compiled') │  │
│ │            reqs = None                                                                      │  │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: 'PosixPath' object is not iterable