modified: By default, do not forcefully downgrade numpy to below version 2. I believe enough of a grace period has now been given.

https://github.com/Comfy-Org/ComfyUI-Manager/issues/1981#issuecomment-3058772842
This commit is contained in:
Dr.Lt.Data
2025-07-12 06:07:10 +09:00
parent 2c976d9394
commit 785268efa6
5 changed files with 6 additions and 36 deletions

View File

@@ -121,17 +121,11 @@ read_uv_mode()
security_check.security_check()
check_file_logging()
if sys.version_info < (3, 13):
cm_global.pip_overrides = {'numpy': 'numpy<2'}
else:
cm_global.pip_overrides = {}
cm_global.pip_overrides = {}
if os.path.exists(manager_pip_overrides_path):
with open(manager_pip_overrides_path, 'r', encoding="UTF-8", errors="ignore") as json_file:
cm_global.pip_overrides = json.load(json_file)
if sys.version_info < (3, 13):
cm_global.pip_overrides['numpy'] = 'numpy<2'
if os.path.exists(manager_pip_blacklist_path):