From fa09ac6d5d3ff4e34390254a82e478a8ed313bc8 Mon Sep 17 00:00:00 2001 From: flan Date: Mon, 3 Aug 2026 20:41:25 +0000 Subject: [PATCH] Make CI green: install yarl, and give the repo topics pytest could not even collect: actions.py imports yarl for URL joining, which Home Assistant ships but a bare CI python does not. The suite passed locally only because the venv had picked it up as a transitive dependency. The HACS check wants repository topics, which are GitHub-side metadata and so cannot come from the canonical Gitea repo; set on the mirror directly. --- .github/workflows/validate.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ea6d943..70b5e26 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -37,5 +37,5 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.13" - - run: pip install beautifulsoup4 pytest + - run: pip install beautifulsoup4 pytest yarl - run: pytest tests/ -q diff --git a/README.md b/README.md index 7ea9ae2..ad2184b 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ Paste it under `views:` in the raw configuration editor. ## Tests ``` -pip install beautifulsoup4 pytest +pip install beautifulsoup4 pytest yarl pytest tests/ ```