From 6fd4c4f841219dba6d0c15feea9b29c64ca99691 Mon Sep 17 00:00:00 2001 From: aitbc Date: Tue, 19 May 2026 16:31:09 +0200 Subject: [PATCH] fix: add PyJWT to python-tests venv packages tests/fixtures/auth_fixtures.py imports jwt (PyJWT) which was missing from --extra-packages list, causing ModuleNotFoundError at conftest load --- .gitea/workflows/python-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/python-tests.yml b/.gitea/workflows/python-tests.yml index 4c2aa70d..2b3e0397 100644 --- a/.gitea/workflows/python-tests.yml +++ b/.gitea/workflows/python-tests.yml @@ -54,7 +54,7 @@ jobs: --venv-dir "$PWD/venv" \ --skip-requirements \ --mode copy \ - --extra-packages "pytest pytest-cov pytest-mock pytest-timeout pytest-asyncio locust pydantic-settings fastapi uvicorn aiohttp>=3.12.14 sqlmodel>=0.0.38" + --extra-packages "pytest pytest-cov pytest-mock pytest-timeout pytest-asyncio locust pydantic-settings fastapi uvicorn aiohttp>=3.12.14 sqlmodel>=0.0.38 PyJWT" echo "✅ Python environment ready" - name: Run linting