From 5d0d249f1dc82f422f2bbcd31f238cfb9779694c Mon Sep 17 00:00:00 2001 From: maziggy Date: Tue, 10 Feb 2026 17:49:58 +0100 Subject: [PATCH] Fix CI backend-tests failing to collect FTP test suite CI only installed requirements.txt, missing pyOpenSSL from requirements-dev.txt. This caused an ImportError on TLS_FTPHandler during test collection, blocking all unit/services tests. Also adds pytest-timeout to dev deps instead of ad-hoc pip install in CI. --- .github/workflows/ci.yml | 2 +- requirements-dev.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c73de5220..243ebd39b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pytest pytest-asyncio pytest-cov pytest-timeout + pip install -r requirements-dev.txt - name: Run tests timeout-minutes: 10 diff --git a/requirements-dev.txt b/requirements-dev.txt index a08c02f62..522e76236 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,6 +3,7 @@ pytest>=8.0.0 pytest-asyncio>=0.23.0 pytest-cov>=4.1.0 pytest-xdist>=3.5.0 +pytest-timeout>=2.4.0 httpx>=0.27.0 ruff>=0.8.0