CI: Fix reuse lint by installing an encoding-detection backend

libeigen/eigen!2613

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
Rasmus Munk Larsen
2026-06-07 09:25:59 -07:00
co-authored by Rasmus Munk Larsen
parent cdf85b6974
commit 5a6a46d4b4
+3 -1
View File
@@ -30,7 +30,9 @@ checkformat:reuse:
- merge_requests
before_script:
- apk add --no-cache py3-pip
- pip install --break-system-packages reuse
# reuse >= 6.x needs an encoding-detection backend at import time; the Alpine image
# ships neither libmagic nor charset-normalizer, so pull in the latter explicitly.
- pip install --break-system-packages 'reuse[charset-normalizer]'
script:
- reuse lint