From 6f5c0730698324f1db5d7d57330e88d7f1a1f97c Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sun, 21 Apr 2024 06:06:57 -0500 Subject: [PATCH] py(deps): Add pytest-xdist See also: - https://pypi.org/project/pytest-xdist/ - https://github.com/pytest-dev/pytest-xdist --- poetry.lock | 36 +++++++++++++++++++++++++++++++++++- pyproject.toml | 1 + 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 5411de13c3..3b98ef1f3b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -285,6 +285,20 @@ files = [ [package.extras] test = ["pytest (>=6)"] +[[package]] +name = "execnet" +version = "2.1.1" +description = "execnet: rapid multi-Python deployment" +optional = false +python-versions = ">=3.8" +files = [ + {file = "execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc"}, + {file = "execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"}, +] + +[package.extras] +testing = ["hatch", "pre-commit", "pytest", "tox"] + [[package]] name = "furo" version = "2024.1.29" @@ -853,6 +867,26 @@ files = [ tomli = {version = ">=2.0.1,<3.0.0", markers = "python_version < \"3.11\""} watchdog = ">=2.0.0" +[[package]] +name = "pytest-xdist" +version = "3.5.0" +description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pytest-xdist-3.5.0.tar.gz", hash = "sha256:cbb36f3d67e0c478baa57fa4edc8843887e0f6cfc42d677530a36d7472b32d8a"}, + {file = "pytest_xdist-3.5.0-py3-none-any.whl", hash = "sha256:d075629c7e00b611df89f490a5063944bee7a4362a5ff11c7cc7824a03dfce24"}, +] + +[package.dependencies] +execnet = ">=1.1" +pytest = ">=6.2.0" + +[package.extras] +psutil = ["psutil (>=3.0)"] +setproctitle = ["setproctitle"] +testing = ["filelock"] + [[package]] name = "pytz" version = "2024.1" @@ -1429,4 +1463,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "33fa6932973c2bfce8acdc57fcb1a5f2fef9692925f3b424b9d89bff5aacd57b" +content-hash = "84d4e34b19157232410b8074ddd0ff79aacdd4a326109ed31e25d37c872d7d40" diff --git a/pyproject.toml b/pyproject.toml index c7532798af..d5401217e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,6 +76,7 @@ pytest-rerunfailures = "*" pytest-mock = "*" pytest-cov = "*" pytest-watcher = "*" +pytest-xdist = "*" gp-libs = "~0.0.4" [tool.poetry.group.coverage.dependencies]