From 4295e758c06343de7613b72d5570bc70a978eb08 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 20 Oct 2025 11:21:48 +0200 Subject: [PATCH] [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 --- utils/searxng.sh | 1 + 1 file changed, 1 insertion(+) 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