惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
D
Docker
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
月光博客
月光博客
小众软件
小众软件
量子位
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
罗磊的独立博客
博客园 - 叶小钗
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
博客园 - 司徒正美
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
C
Check Point Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - python-home-assistant-frontend
2026-06-02 · via AUR Newest Packages

It installs cleanly in a chroot, so I'm guessing there's an issue with your uv environment.

Thanks for writing and sharing these Home Assistant builds.

I was trying to install this front end and am using uv to manage my virtual environments I created and activated the virtual environment.

 which python
/home/user/aur/.venv/bin/python    

But when I tried to install the package with makepkg -sri it complained it that a virtual environment couldn't be found.

==> Making package: python-home-assistant-frontend 20260304.0-1 (Wed Mar 18 08:25:57 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for neil:
resolving dependencies...
looking for conflicting packages...

Packages (2) python-attrs-25.4.0-3  python-pip-26.0.1-1

Total Installed Size:  16.86 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                                                                   [########################################################] 100%
(2/2) checking package integrity                                                                 [########################################################] 100%
(2/2) loading package files                                                                      [########################################################] 100%
(2/2) checking for file conflicts                                                                [########################################################] 100%
(2/2) checking available disk space                                                              [########################################################] 100%
:: Processing package changes...
(1/2) installing python-attrs                                                                    [########################################################] 100%
(2/2) installing python-pip                                                                      [########################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> Extracting sources...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
ERROR: Could not find an activated virtualenv (required).
==> ERROR: A failure occurred in build().

This was because using uv the call to pip needs preceding with uv, and so the global /usr/bin/pip was being called instead, which can install packages system-wide when called as user.

I needed to modify line 11 of PKGBUILD...

build() {
  uv pip install --no-deps --target="home-assistant-frontend" --upgrade home-assistant-frontend==${pkgver}
}

...and with that change I could build and install the package.

Need for venv

I think though that even if I wasn't using uv this would still have failed because the build requires a virtual environment since /usr/bin/pip can't install packages at the system level when run as user as is the case when running makepkg -sri

Thus, if looking to build and install this package you have to have created a virtual environment and activated, which requires python-venv to be installed at the system level.

sudo pacman -Syu python-venv
git clone https://aur.archlinux.org/python-home-assistant-frontend.git
cd python-home-assistant-frontend
python -m venv ha-venv
source ha-venv/bin/activate
makepkg -sri