From d7b2a2402cc93cf01bf4049e839c8f5e65e4b7fb Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Thu, 9 Nov 2023 11:01:36 +0400 Subject: [PATCH] Force installation of tomli_w on Windows --- .github/workflows/tests.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index dbf113299..ae001d8f5 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -472,6 +472,12 @@ jobs: run: | poetry run mpm --all-managers managers + # For some strange reasons pytest runs are complaining about missing packages on Windows. + - name: Force tomli_w installation - Windows + if: runner.os == 'Windows' + run: > + poetry run pip install tomli_w + - name: Parallel non-destructive tests # XXX ./meta_package_manager/tests/ is specified at CLI level instead of using the ``testpaths`` parameter # from pyproject.toml because of this bug: https://github.com/pytest-dev/pytest/issues/9311