From 830d3808f6264d05936c046c0d894c936ccfa305 Mon Sep 17 00:00:00 2001 From: mhucka Date: Wed, 28 May 2025 02:44:26 +0000 Subject: [PATCH 1/2] Add pytest-xdist to dev-requirements This allows parallel `pytest` execution. --- dev-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-requirements.txt b/dev-requirements.txt index 38daca6fd..284c044f9 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,3 +1,4 @@ black~=25.1.0 flynt~=1.0 pytest +pytest-xdist[psutil] From 8be2e8ac3acf2abc9d262d2376749a522365e7ca Mon Sep 17 00:00:00 2001 From: mhucka Date: Sat, 31 May 2025 20:57:09 +0000 Subject: [PATCH 2/2] Remove unneeded option psutil to pytest @pavoljuhas rightly noted that `psutil` is not really needed. C.f. review comment https://github.com/quantumlib/qsim/pull/724#issuecomment-2925720745 --- dev-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 284c044f9..28dc55946 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,4 @@ black~=25.1.0 flynt~=1.0 pytest -pytest-xdist[psutil] +pytest-xdist