From 360ad7197b86112bffeb2ee992d9877661e4f3b3 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sat, 8 Nov 2025 23:05:36 +0000 Subject: [PATCH] CI: downgrade pytest to 8.4.2 (#5613) Also move ci requirements to separate file for easier handling. --- .github/workflows/unittests.yml | 2 +- ci-requirements.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 ci-requirements.txt diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 90a5d70b8e..b08b389005 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -59,7 +59,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest pytest-subtests pytest-xdist + pip install -r ci-requirements.txt python ModuleUpdate.py --yes --force --append "WebHostLib/requirements.txt" python Launcher.py --update_settings # make sure host.yaml exists for tests - name: Unittests diff --git a/ci-requirements.txt b/ci-requirements.txt new file mode 100644 index 0000000000..12460e4f15 --- /dev/null +++ b/ci-requirements.txt @@ -0,0 +1,3 @@ +pytest>=8.4.2,<9 # pytest 9.0.0 is broken for our CI +pytest-xdist>=3.8.0 +pytest-subtests>=0.15.0 # will not be required anymore once we upgrade to pytest 9.x