From 9bfec2f26a46ad9cc2c556b3248537aa10b26046 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 5ddac11331..7bf1c895eb 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 = "923692f1a9c280c815e07d732d5c9a5f799bb824d740b557841e74193ecefcb1" +content-hash = "7c72cb3e056ce41deddfdfcfb297e9c775e6f07b767299aa7b94ad34bccc03c4" diff --git a/pyproject.toml b/pyproject.toml index f27c7a621e..8fe7d6ecd0 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]