这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@inetol
Copy link
Member

@inetol inetol commented Sep 11, 2025

The cache improvements in #5086 didn't work as expected because pip doesn't seem to offer reproducible builds (?). Alas, until we migrate to native uv management in some future PR, we will not be able to start using lockfiles which will limit us to provide truly reproducible installs. Instead, we can try to use cached wheels as we do now to have venv reproducibility (I hope).


CI (outdated): https://github.com/inetol/searxng/actions/runs/17650638050

This commit replaces `pip` in container builds with `uv` pip compat
with a 1:1 parity. The only thing that changes is the installation speed of the
wheels, which seems to be considerably faster, although I haven't been able to
properly quantify this yet.

uv also gives us more tools to manage the cache. We can revert the prior cache
changes in `container.yml` as we won't have duplicated wheels anymore.
@inetol inetol marked this pull request as ready for review September 13, 2025 17:16
Copy link
Member

@return42 return42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inetol inetol merged commit a0d2ecf into searxng:master Sep 14, 2025
6 checks passed
@inetol inetol deleted the enh-uv branch September 14, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants