Removes the `fasttext-predict` dependency and the language detection code. If a user now selects `auto` for the search language, the detected language now falls back directly to the `Accept-Language` header sent by the browser (which was already the fallback when fasttext returned no result). - fasttext's [language detection is unreliable](https://github.com/searxng/searxng/issues/4195) for some languages, especially short search queries, and in particular for queries containing proper names which is a common case. - `fasttext-predict` consumes [significant memory](https://github.com/searxng/searxng/pull/1969#issuecomment-1345366676) without offering users much real value. - the upstream fasttext project was archived by Meta in 2024 - users already have two better alternatives: the `Accept-Language` header and the search-syntax language prefix (e.g. `:fr` or `:de`). Related: https://github.com/searxng/searxng/issues/4195 Closes: https://github.com/searxng/searxng/issues/5790
22 lines
401 B
Plaintext
22 lines
401 B
Plaintext
certifi==2026.2.25
|
|
babel==2.18.0
|
|
flask-babel==4.0.0
|
|
flask==3.1.3
|
|
jinja2==3.1.6
|
|
lxml==6.0.2
|
|
pygments==2.19.2
|
|
python-dateutil==2.9.0.post0
|
|
pyyaml==6.0.3
|
|
httpx[http2]==0.28.1
|
|
httpx-socks[asyncio]==0.10.0
|
|
sniffio==1.3.1
|
|
valkey==6.1.1
|
|
markdown-it-py==3.0.0
|
|
tomli==2.4.0; python_version < '3.11'
|
|
msgspec==0.20.0
|
|
typer==0.24.1
|
|
isodate==0.7.2
|
|
whitenoise==6.12.0
|
|
typing-extensions==4.15.0
|
|
cloudscraper==1.2.71
|