Skip to content

Commit e363db9

Browse files
authored
[fix] Installation Script install fails (msgspec) (searxng#5358)
Since searxng#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: - searxng#5353 - searxng#5346 - searxng#5280 - searxng#5254 Closes: searxng#5357 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 parent 1629313 commit e363db9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

utils/searxng.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ pip install -U pip
553553
pip install -U setuptools
554554
pip install -U wheel
555555
pip install -U pyyaml
556+
pip install -U msgspec
556557
pip install -U --use-pep517 --no-build-isolation -e .
557558
EOF
558559
rst_para "update instance's settings.yml from ${SEARXNG_SETTINGS_PATH}"

0 commit comments

Comments
 (0)