fix: update offline backend llmwiki support
This commit is contained in:
1 parent
a4a1e73b8e
commit
4809ee7db3
9 files changed
+160
-9
No files matched your search
@@ -131,9 +131,9 @@ if [ "${HINDSIGHT_INSTALL_DEPS:-1}" != "0" ]; then
|
||||
}
|
||||
fi
|
||||
if [ "${AIOMYSQL_INSTALL_DEPS:-1}" != "0" ]; then
|
||||
uv run --no-sync python -c "import aiomysql" >/dev/null 2>&1 || {
|
||||
uv run --no-sync python -c "import aiomysql, pymysql; import inspect; from sqlalchemy.dialects.mysql.aiomysql import AsyncAdapt_aiomysql_connection; assert inspect.signature(AsyncAdapt_aiomysql_connection.ping).parameters.get(\"reconnect\").default is False" >/dev/null 2>&1 || {
|
||||
PYTHON_BIN="$(uv run --no-sync python -c "import sys; print(sys.executable)")"
|
||||
uv pip install --python "${PYTHON_BIN}" --no-index --find-links /app/wheelhouse ${AIOMYSQL_PIP_PACKAGES:-aiomysql==0.3.2}
|
||||
uv pip install --python "${PYTHON_BIN}" --no-index --find-links /app/wheelhouse ${AIOMYSQL_PIP_PACKAGES:-aiomysql==0.3.2 PyMySQL==1.2.0 SQLAlchemy==2.0.51}
|
||||
}
|
||||
fi
|
||||
uv run --no-sync python -c "import redis" >/dev/null 2>&1 || uv pip install --python "$(uv run --no-sync python -c "import sys; print(sys.executable)")" --no-index --find-links /app/wheelhouse ${REDIS_PIP_PACKAGES:-redis==5.2.1}
|
||||
|
||||
Reference in new issue
Block a user