diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2025-10-22 09:34:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 09:34:09 +0200 |
| commit | f70120b0b99354785c5d5c9fda91565ad32ec31f (patch) | |
| tree | 68a7f3facdcf56cba6de69b499e25d14bbd4f8b7 /docs/build-templates | |
| parent | a8f3644cdc3744c508789d4c6254c2be813717be (diff) | |
[fix] Installation Script install fails (msgspec) (#5353)
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/5346
- https://github.com/searxng/searxng/pull/5280
- https://github.com/searxng/searxng/pull/5254
Closes: https://github.com/searxng/searxng/issues/5352
Diffstat (limited to 'docs/build-templates')
| -rw-r--r-- | docs/build-templates/searxng.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/build-templates/searxng.rst b/docs/build-templates/searxng.rst index cdd665c74..c30268ff5 100644 --- a/docs/build-templates/searxng.rst +++ b/docs/build-templates/searxng.rst @@ -120,6 +120,7 @@ ${fedora_build} pip install -U setuptools pip install -U wheel pip install -U pyyaml + pip install -U msgspec # jump to SearXNG's working tree and install SearXNG into virtualenv (${SERVICE_USER})$ cd \"$SEARXNG_SRC\" |