Package Details: searxng-git 1.0.0.r3824.gac430a9ea-1

Git Clone URL: https://aur.archlinux.org/searxng-git.git (read-only, click to copy)
Package Base: searxng-git
Description: A privacy-respecting, hackable metasearch engine
Upstream URL: https://searxng.github.io/searxng/
Licenses: AGPL3
Conflicts: searx, searx-git
Provides: searxng
Submitter: HLFH
Maintainer: HLFH
Last Packager: HLFH
Votes: 8
Popularity: 0.018220
First Submitted: 2021-09-29 10:43 (UTC)
Last Updated: 2024-05-06 08:00 (UTC)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

morsmortium commented on 2024-11-05 06:04 (UTC)

Oops, commented under wrong package

morsmortium commented on 2024-11-04 11:17 (UTC) (edited on 2024-11-04 11:17 (UTC) by morsmortium)

Does not build, full log: https://0x0.st/XG60.txt

tests/utils.py                                                            15      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/__init__.py          17      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/_json_schema.py     289      3    99%
tmp_install/usr/lib/python3.12/site-packages/msgspec/_utils.py           164     21    87%
tmp_install/usr/lib/python3.12/site-packages/msgspec/_version.py           4      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/inspect.py          343      9    97%
tmp_install/usr/lib/python3.12/site-packages/msgspec/json.py               2      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/msgpack.py            1      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/structs.py           36      1    97%
tmp_install/usr/lib/python3.12/site-packages/msgspec/toml.py              51     13    75%
tmp_install/usr/lib/python3.12/site-packages/msgspec/yaml.py              38      3    92%
------------------------------------------------------------------------------------------
TOTAL                                                                  12341    244    98%

================================================================== mypy ===================================================================
Found 63 errors in 11 files (checked 21 source files)
========================================================= short test summary info =========================================================
FAILED tests/basic_typing_examples.py::mypy-status
FAILED tests/test_common.py::mypy
FAILED tests/test_constraints.py::mypy
FAILED tests/test_convert.py::mypy
FAILED tests/test_convert.py::ruff::format
FAILED tests/test_inspect.py::mypy
FAILED tests/test_json.py::mypy
FAILED tests/test_msgpack.py::mypy
FAILED tests/test_schema.py::mypy
FAILED tests/test_struct.py::mypy
FAILED tests/test_toml.py::mypy
FAILED tests/test_utils.py::mypy
FAILED tests/test_yaml.py::mypy
=================================== 13 failed, 6050 passed, 51 skipped, 2 warnings in 116.71s (0:01:56) ===================================
==> ERROR: A failure occurred in check().
    Aborting...

backd00r commented on 2024-10-30 15:09 (UTC)

Fresh build broken as of today - Internal Server Error Found this error: ModuleNotFoundError: No module named 'msgspec'

Tried to workaround by installing the missing component to get this error: ==> ERROR: A failure occurred in check(). Aborting... error: failed to build 'python-msgspec-0.18.6-3': error: packages failed to build: python-msgspec-0.18.6-3

AlexBocken commented on 2024-10-19 14:37 (UTC)

I can confirm @flylightning's issue. Installing the two dependencies fixed the issue for me

flylightning commented on 2024-10-06 22:33 (UTC) (edited on 2024-10-06 22:48 (UTC) by flylightning)

I got searxng error today Internal Server Error with log error ModuleNotFoundError: No module named 'pydantic' and ModuleNotFoundError: No module named 'typer'. It seems searxng added new package dependencies python-typer and python-pydantic for a new favicon feature, see this commit: https://github.com/searxng/searxng/commit/7ab577a1fba43578b77f56b76275d0e65d03b318#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552. So sudo pacman -S python-typer python-pydantic fix the issue for me. It would be nice if python-typer and python-pydantic can be added as depends in PKGBUILD.

EDIT: Something like sudo systemctl restart emperor.uwsgi.service to restart searxng is also needed after install python-typer and python-pydantic.

HLFH commented on 2024-05-06 08:01 (UTC) (edited on 2024-05-06 08:06 (UTC) by HLFH)

I have bumped searxng-git, so it can be built against Python 3.12.
I have also bumped python packages that I maintain, and I have flagged out-of-date third-party python packages that have not been bumped.
I also advise to install rebuild-detector to rebuild all required python packages that have not been bumped:

pacman -S rebuild-detector

stef204 commented on 2024-05-05 14:24 (UTC) (edited on 2024-05-05 14:29 (UTC) by stef204)

@krs
Thanks. I had rebuilt the AUR deps I found (listed above) but apparently it wasn't enough; or maybe some nested deps inside the "dependency tree", needed rebuilding.
I have now used checkrebuild and just manually rebuilt what was listed there and have been able to upgrade python-httpcore to latest version and searxng-git seems to be working.
Makes sense to use that checkrebuild tool systematically.

krs commented on 2024-05-05 11:50 (UTC)

Just chiming in to say that manually rebuilding everything listed by checkrebuild fixed the issues for me, so thanks for that suggestion @flylightning. And I did not have to downgrade python-httpcore myself. 1.0.5-1 is installed and working fine.

stef204 commented on 2024-05-04 00:28 (UTC) (edited on 2024-05-04 05:36 (UTC) by stef204)

Yes I have rebuilt all AUR packages which are dependencies of searxng-git as far as I can tell. And the rest of the python deps should have been taken care of by "bumps" in official packages. And I have rebuilt searxng-git against these (all of this before posting here.) No joy, unfortunately.
Edit: following your recommendation to downgrade python-httpcore to 0.17.3 did the trick. It now works, thanks. I had downgraded it at first but not that far back. python-httpcore most recent/official version is 1.0.5-1 so something seems amiss either upstream or this package needs a patch?

flylightning commented on 2024-05-03 23:20 (UTC) (edited on 2024-05-03 23:37 (UTC) by flylightning)

@stef204 I do not have any issue, here are just some suggestions. Did you try rebuild all old python packages searxng-git depends on and searxng-git itself that build against old python version 3.11? Maybe try paru --rebuild=tree searxng-git if you use paru as aur helper. Or use checkrebuild and manually rebuild all of them, so they will all build against new python version 3.12. Also see my old suggestions to you here: https://aur.archlinux.org/packages/searxng-git?O=20#comment-913191.

I think every time official arch repo bump python version, user should manually rebuild all AUR python packages that build against old python version. Some AUR maintainers will bump pkgrel in PKGBUILD so user don't need to manully rebuild the package one by one and a paru -Syu will rebuild automatically (because pkgrel is increased), e.g., https://aur.archlinux.org/cgit/aur.git/commit/?h=absolutely-proprietary&id=2bd27bd6d7ba35f380167c87373788340c697fad