18 Commits

Author SHA1 Message Date
comfyanonymous
d37d608f4c Repeat frontend version warning at the end.
This way someone running ComfyUI with the command line is more likely to
actually see it.
2025-03-12 07:13:40 -04:00
huchenlei
ec5307b88f Access package version 2025-03-10 20:43:59 -04:00
Chenlei Hu
f60235406b nit 2025-03-10 15:14:40 -04:00
Chenlei Hu
fae046ca73 Only check frontend package if using default frontend 2025-03-10 15:07:44 -04:00
comfyanonymous
fd3129ddfa Warn if frontend package is older than the one in requirements.txt 2025-03-08 03:51:36 -05:00
comfyanonymous
363791be14 Print the frontend version in the log. 2025-03-07 19:56:26 -05:00
Dr.Lt.Data
941f153c99 Fixed: Incorrect guide message for missing frontend. (#7105)
`{sys.executable} -m pip` -> `{sys.executable} -s -m pip`

https://github.com/comfyanonymous/ComfyUI/pull/7047#issuecomment-2697876793
2025-03-06 15:23:23 -05:00
comfyanonymous
7a36dcb8a3 Add update instructions for the portable. 2025-03-04 23:34:36 -05:00
Dr.Lt.Data
9dd3c8930c suggest absolute full path to the requirements.txt instead of just requirements.txt (#7079)
For users of the portable version, there are occasional instances where commands are misinterpreted.
2025-03-04 23:29:34 -05:00
Dr.Lt.Data
cffc3367c5 improved: better frontend package installation guide (#7047)
* improved: better installation guide
- change `pip` to `{sys.executable} -m pip`
modified: To prevent the guide message from being obscured by a complex error message, apply `exit` instead of `raise`.

* ruff fix
2025-03-03 04:40:23 -05:00
comfyanonymous
c19f79c85e Make the missing frontend package error more obvious. 2025-03-02 15:43:56 -05:00
Chenlei Hu
c12d2df290 Use comfyui_frontend_package pypi package to manage frontend dependency (Frontend v1.10.17) (#7021)
* Use frontend pypi package

* Remove web/

* nit

* nit

* Update importlib logic

* Remove unused gh action

* Update code owners

* Update codeowners

* error message
2025-03-02 14:18:33 -05:00
Chenlei Hu
cc6a774792 Revert download to .tmp in frontend_management (#5369) 2024-10-25 19:26:13 -04:00
Alex "mcmonkey" Goodwin
ea4f203176 Frontend Manager: avoid redundant gh calls for static versions (#5152)
* Frontend Manager: avoid redundant gh calls for static versions

* actually, removing old tmpdir isn't needed

I tested - downloader code handles this case well already
(also rmdir was wrong func anyway, needed shutil.rmtree if it had content)

* add code comment
2024-10-16 03:35:37 -04:00
Chenlei Hu
daf975da91 Cleanup empty dir if frontend zip download failed (#4574) 2024-08-27 02:07:25 -04:00
Chenlei Hu
3b7561eccb Fix annotation (#4035) 2024-07-16 18:20:39 -04:00
comfyanonymous
db41359648 Allow version names like v0.0.1 for the FrontendManager. 2024-07-16 11:29:38 -04:00
Chenlei Hu
cd3573c6a3 Add FrontendManager to manage non-default front-end impl (#3897)
* Add frontend manager

* Add tests

* nit

* Add unit test to github CI

* Fix path

* nit

* ignore

* Add logging

* Install test deps

* Remove 'stable' keyword support

* Update test

* Add web-root arg

* Rename web-root to front-end-root

* Add test on non-exist version number

* Use repo owner/name to replace hard coded provider list

* Inline cmd args

* nit

* Fix unit test
2024-07-16 11:26:11 -04:00