diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-10-07 15:02:26 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-10-08 13:47:22 +0200 |
| commit | 8fdc59a7604cd661638586ff0381530da86eb76c (patch) | |
| tree | 60b37c12c075104573841c63ddd0111cb18a75bd /searx/favicons/config.py | |
| parent | d8d5de4d47eeac922a0376e7e23de166610f8a8d (diff) | |
[fix:py3.14] Struct fields aren't discovered in Python 3.14
This is a temporary workaround for #5284 [1]. However, the problem must be
solved at a different level, in msgspec [2].
[1] https://github.com/searxng/searxng/issues/5284
[2] https://github.com/jcrist/msgspec/issues/847
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/favicons/config.py')
| -rw-r--r-- | searx/favicons/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/favicons/config.py b/searx/favicons/config.py index c22e1f3f0..217fce049 100644 --- a/searx/favicons/config.py +++ b/searx/favicons/config.py @@ -1,6 +1,9 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # pylint: disable=missing-module-docstring +# Struct fields aren't discovered in Python 3.14 +# - https://github.com/searxng/searxng/issues/5284 +from __future__ import annotations import pathlib import msgspec |