























After install, venv/bin/ scripts have shebangs pointing to the paru build cache:
#!/home/$USER/.cache/paru/clone/hermes-agent/src/.../venv/bin/python3.11
Cleaning the cache breaks the package. This happens because pip install in build() writes shebangs to ${srcdir}, and package() copies them verbatim
Hi, it seems rsync is required during the build process, but it's missing from makedepends. Please add it to the PKGBUILD:
makedepends=('rsync' ...)
Thanks for your work!
I recently built hermes-agent 0.15.2-3 and found that hermes can't run successfully. The root cause seems to be twofold:
pip install -e .[all] in build() hardcodes the $srcdir path into all shebangs and creates an editable finder pointing to the build directory.
No path fixup in package() after copying to /opt/hermes-agent/.
I fixed it locally by switching to pip install .[all] (no -e) and adding a sed to rewrite shebangs in package().
@Xarth I got it. I did not like how the binary looks for dependencies inside site_packages to begin with. Now, I changed the installation to be consistent with the official install.sh. The package will be copied as-is to /opt/hermes-agent only excluding .git and pycache directories for now.
I bet this will fix a lot of dependencies that were not found inside site_packages, as well as lazy installations.
@zombieagain I also had my laptop fan spin at full speed while compiling Python311. However, if you check zatricky's comment you'll know why uv was changed due to its reliance on build-time paths even after copying everything to /opt. If someone solves this problem or finds a way to create a python 3.11 venv without relying on AUR's python311, it would be great.
Hello, thank you for the package and I'm grateful for the effort. I don't know what's best practice but the dependency to aur python is quite heavy. It takes forever to build. It seems very weird to me. uv binaries take seconds. Pardon my ignorance but I can't see how is this an improvement. Thanks in advance for considering my input.
Updated to 0.15.2
Package now uses python311 from AUR with python's venv instead of uv (thanks to @zatricky)
Python telegram bot and a few other dependencies are not automatically installed with hermes via pip install .[all] because they are not part of [all] anymore. Instead, they
rely on lazy install. @ch4xer
locales and plugins directories are included in the package @kmacleod @Xarth
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@Xarth thanks for your feedback and continuous tests. I updated the PKGBUILD in pkgrel 4. Any comments are welcome.
Co-maintaining is open