Skip to content

Commit

Permalink
hotfix: Temporarily pin numpy installation to numpy<2
Browse files Browse the repository at this point in the history
numpy 2 is breaking many package dependencies
  • Loading branch information
ltdrdata committed Jul 27, 2024
1 parent ac02a88 commit 15ef9b9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions cm-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
if os.path.exists(pip_overrides_path):
with open(pip_overrides_path, 'r', encoding="UTF-8", errors="ignore") as json_file:
cm_global.pip_overrides = json.load(json_file)
cm_global.pip_overrides['numpy'] = 'numpy<2'


def check_comfyui_hash():
Expand Down
2 changes: 1 addition & 1 deletion glob/manager_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import cm_global
from manager_util import *

version = [2, 48, 1]
version = [2, 48, 2]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')


Expand Down
1 change: 1 addition & 0 deletions prestartup_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def check_file_logging():
if os.path.exists(pip_overrides_path):
with open(pip_overrides_path, 'r', encoding="UTF-8", errors="ignore") as json_file:
cm_global.pip_overrides = json.load(json_file)
cm_global.pip_overrides['numpy'] = 'numpy<2'


def remap_pip_package(pkg):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "2.48.1"
version = "2.48.2"
license = "LICENSE"
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]

Expand Down

0 comments on commit 15ef9b9

Please sign in to comment.