Skip to content

Commit 6311120

Browse files
committed
fix: urllib3 version_string error - preventing vendor path removal
1 parent d8e30f5 commit 6311120

3 files changed

Lines changed: 9 additions & 140 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name = "plugin-binary-ninja"
33
version = "0.0.1"
44
requires-python = ">=3.10"
55
dependencies = [
6-
"revengai>=2.12.0",
7-
"requests>=2.25.1",
6+
"revengai>=2.51.0",
7+
"urllib3>=2.0.0,<2.3.0",
88
"libbs==2.15.1",
99
"pydantic>=2.12.5",
1010
]

reai_toolkit/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ def import_module(module_name):
5959

6060
os.environ["SSL_CERT_FILE"] = certifi.where()
6161
os.environ["REQUESTS_CA_BUNDLE"] = certifi.where()
62-
63-
modules.remove("revengai")
64-
sys.path.remove(vendor_path)
65-
66-
for module in modules:
67-
delete_module(module)
68-
import_module(module)
69-
70-
sys.path.insert(0, vendor_path)
7162

7263
except Exception as e:
7364
log_error(f"RevEng.AI | Error listing vendor contents: {e}")

0 commit comments

Comments
 (0)