[pim/akonadi-e2e-tests] /: Randomize the execution of the tests

Kevin Ottens <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b9d73bb8cd6c970a9eade558ebe42e4835455dff by Kevin Ottens.
Committed on 30/07/2026 at 12:40.
Pushed by ervin into branch 'master'.

Randomize the execution of the tests

They are now picked in a random order within a batch given to a worker.

Also remove pytest-order which wasn't used anyway.

M  +1    -1    pyproject.toml
M  +6    -6    uv.lock

https://invent.kde.org/pim/akonadi-e2e-tests/-/commit/b9d73bb8cd6c970a9eade558ebe42e4835455dff

diff --git a/pyproject.toml b/pyproject.toml
index bca43f6..9f0e729 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -20,7 +20,7 @@ dependencies = [
     "lxml>=6.0.2",
     "psutil>=7.0.0",
     "pytest>=8.3.5",
-    "pytest-order>=1.3.0",
+    "pytest-randomly>=4.1.0",
     "pytest-xdist>=3.6.1",
     "sdbus>=0.14.0",
     "testcontainers>=4.10.0",
diff --git a/uv.lock b/uv.lock
index 422a3a3..1c47caa 100644
--- a/uv.lock
+++ b/uv.lock
@@ -15,7 +15,7 @@ dependencies = [
     { name = "lxml" },
     { name = "psutil" },
     { name = "pytest" },
-    { name = "pytest-order" },
+    { name = "pytest-randomly" },
     { name = "pytest-xdist" },
     { name = "requests" },
     { name = "sdbus" },
@@ -43,7 +43,7 @@ requires-dist = [
     { name = "lxml", specifier = ">=6.0.2" },
     { name = "psutil", specifier = ">=7.0.0" },
     { name = "pytest", specifier = ">=8.3.5" },
-    { name = "pytest-order", specifier = ">=1.3.0" },
+    { name = "pytest-randomly", specifier = ">=4.1.0" },
     { name = "pytest-xdist", specifier = ">=3.6.1" },
     { name = "requests", specifier = ">=2.33.1" },
     { name = "sdbus", specifier = ">=0.14.0" },
@@ -684,15 +684,15 @@ wheels = [
 ]
 
 [[package]]
-name = "pytest-order"
-version = "1.3.0"
+name = "pytest-randomly"
+version = "4.1.0"
 source = { registry = "https://pypi.org/simple" }
 dependencies = [
     { name = "pytest" },
 ]
-sdist = { url = "https://files.pythonhosted.org/packages/1d/66/02ae17461b14a52ce5a29ae2900156b9110d1de34721ccc16ccd79419876/pytest_order-1.3.0.tar.gz", hash = "sha256:51608fec3d3ee9c0adaea94daa124a5c4c1d2bb99b00269f098f414307f23dde", size = 47544, upload-time = "2024-08-22T12:29:54.512Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/27/b3/36192dacc0f470ac2cc516f73e01739c9a48a8224f76beada4f85e1c8a89/pytest_randomly-4.1.0.tar.gz", hash = "sha256:47f1d9746c3bc3efabd53ae1ebfb8bb385cf3d4df4b505b6d58d9c97a3dfe70f", size = 14302, upload-time = "2026-04-20T13:01:51.831Z" }
 wheels = [
-    { url = "https://files.pythonhosted.org/packages/1b/73/59b038d1aafca89f8e9936eaa8ffa6bb6138d00459d13a32ce070be4f280/pytest_order-1.3.0-py3-none-any.whl", hash = "sha256:2cd562a21380345dd8d5774aa5fd38b7849b6ee7397ca5f6999bbe6e89f07f6e", size = 14609, upload-time = "2024-08-22T12:29:53.156Z" },
+    { url = "https://files.pythonhosted.org/packages/9a/db/2df9a1fca597a273f957a559c20c2d95d629928384507b2afa43ba6909d1/pytest_randomly-4.1.0-py3-none-any.whl", hash = "sha256:f55e89e53367b090c0c053697d7f9d77595543d0e0516c93978b50c0f6b252f9", size = 8353, upload-time = "2026-04-20T13:01:50.382Z" },
 ]
 
 [[package]]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.