summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2025-10-20 11:21:48 +0200
committerGitHub <noreply@github.com>2025-10-20 11:21:48 +0200
commit4295e758c06343de7613b72d5570bc70a978eb08 (patch)
tree8242e842e9f87e1a329a7de9df3004f3c75c05e8
parent33e798b01b3d8b45aeae31c085a072260ad351df (diff)
[fix] Installation Script install fails (msgspec) (#5346)
Since #5280 has been merged, msgspec, like yaml, is a fixed part of the SearXNG *settings framework* and therefore, like yaml, must be installed in the virtual environment before installing SearXNG (``searx``). The actual reason is that in SearXNG we store settings in the configuration that are required for the installation of the ``searx`` package. This means that these settings (from settings.yml) are read in during the installation, and all the necessary tools for this (pyyaml, msgspec, setuptools, etc.) must be installed beforehand (chicken or the egg dilemma). Related: - https://github.com/searxng/searxng/pull/5280 - https://github.com/searxng/searxng/pull/5254 Closes: https://github.com/searxng/searxng/issues/5343 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rwxr-xr-xutils/searxng.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/searxng.sh b/utils/searxng.sh
index 7d5d0280c..82ba0d548 100755
--- a/utils/searxng.sh
+++ b/utils/searxng.sh
@@ -492,6 +492,7 @@ pip install -U pip
pip install -U setuptools
pip install -U wheel
pip install -U pyyaml
+pip install -U msgspec
cd ${SEARXNG_SRC}
pip install --use-pep517 --no-build-isolation -e .
EOF