From cd5f00f949938de9b269550fed479dc484ee0305 Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Tue, 24 Feb 2026 21:45:16 +0100 Subject: [PATCH] Add `pytest-timeout` to `tests` dependencies --- pyproject.toml | 2 ++ uv.lock | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4de5affa3a..276c997f35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -181,6 +181,7 @@ tests = [ "pytest-xdist[psutil]>=2.5.0", "pytest-cov>=4.0.0", "pytest-sugar>=1.0.0", + "pytest-timeout>=2.4.0", ] translations = [ "gitpython >=3.1.46", @@ -232,6 +233,7 @@ strict_xfail = true filterwarnings = [ "error", ] +timeout = "5" [tool.coverage.run] parallel = true diff --git a/uv.lock b/uv.lock index b2c8925556..6f3231aad2 100644 --- a/uv.lock +++ b/uv.lock @@ -1153,6 +1153,7 @@ dev = [ { name = "pytest-codspeed" }, { name = "pytest-cov" }, { name = "pytest-sugar" }, + { name = "pytest-timeout" }, { name = "pytest-xdist", extra = ["psutil"] }, { name = "python-slugify" }, { name = "pyyaml" }, @@ -1215,6 +1216,7 @@ tests = [ { name = "pytest-codspeed" }, { name = "pytest-cov" }, { name = "pytest-sugar" }, + { name = "pytest-timeout" }, { name = "pytest-xdist", extra = ["psutil"] }, { name = "pyyaml" }, { name = "ruff" }, @@ -1300,6 +1302,7 @@ dev = [ { name = "pytest-codspeed", specifier = ">=4.2.0" }, { name = "pytest-cov", specifier = ">=4.0.0" }, { name = "pytest-sugar", specifier = ">=1.0.0" }, + { name = "pytest-timeout", specifier = ">=2.4.0" }, { name = "pytest-xdist", extras = ["psutil"], specifier = ">=2.5.0" }, { name = "python-slugify", specifier = ">=8.0.4" }, { name = "pyyaml", specifier = ">=5.3.1,<7.0.0" }, @@ -1362,6 +1365,7 @@ tests = [ { name = "pytest-codspeed", specifier = ">=4.2.0" }, { name = "pytest-cov", specifier = ">=4.0.0" }, { name = "pytest-sugar", specifier = ">=1.0.0" }, + { name = "pytest-timeout", specifier = ">=2.4.0" }, { name = "pytest-xdist", extras = ["psutil"], specifier = ">=2.5.0" }, { name = "pyyaml", specifier = ">=5.3.1,<7.0.0" }, { name = "ruff", specifier = ">=0.14.14" }, @@ -4453,6 +4457,18 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/87/d5/81d38a91c1fdafb6711f053f5a9b92ff788013b19821257c2c38c1e132df/pytest_sugar-1.1.1-py3-none-any.whl", hash = "sha256:2f8319b907548d5b9d03a171515c1d43d2e38e32bd8182a1781eb20b43344cc8", size = 11440, upload-time = "2025-08-23T12:19:34.894Z" }, ] +[[package]] +name = "pytest-timeout" +version = "2.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ac/82/4c9ecabab13363e72d880f2fb504c5f750433b2b6f16e99f4ec21ada284c/pytest_timeout-2.4.0.tar.gz", hash = "sha256:7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a", size = 17973, upload-time = "2025-05-05T19:44:34.99Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fa/b6/3127540ecdf1464a00e5a01ee60a1b09175f6913f0644ac748494d9c4b21/pytest_timeout-2.4.0-py3-none-any.whl", hash = "sha256:c42667e5cdadb151aeb5b26d114aff6bdf5a907f176a007a30b940d3d865b5c2", size = 14382, upload-time = "2025-05-05T19:44:33.502Z" }, +] + [[package]] name = "pytest-xdist" version = "3.8.0"