From 572245c9ef78dc83d5a3040b3d8a4e20a7108b47 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:41:51 +1000 Subject: [PATCH] Update dependency pytest to v8 (#23) * Update dependency pytest to v8 * Fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Simon Gurcke --- poetry.lock | 34 ++++++++++++++++++++++++++++------ pyproject.toml | 7 +++++-- 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index 33b44fe..fe82a8d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1925,6 +1925,28 @@ tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +[[package]] +name = "pytest" +version = "8.2.2" +description = "pytest: simple powerful testing with Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest-8.2.2-py3-none-any.whl", hash = "sha256:c434598117762e2bd304e526244f67bf66bbd7b5d6cf22138be51ff661980343"}, + {file = "pytest-8.2.2.tar.gz", hash = "sha256:de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977"}, +] + +[package.dependencies] +colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=1.5,<2.0" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} + +[package.extras] +dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] + [[package]] name = "pytest-asyncio" version = "0.23.7" @@ -1945,13 +1967,13 @@ testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] name = "pytest-cov" -version = "4.1.0" +version = "5.0.0" description = "Pytest plugin for measuring coverage." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest-cov-4.1.0.tar.gz", hash = "sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6"}, - {file = "pytest_cov-4.1.0-py3-none-any.whl", hash = "sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a"}, + {file = "pytest-cov-5.0.0.tar.gz", hash = "sha256:5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857"}, + {file = "pytest_cov-5.0.0-py3-none-any.whl", hash = "sha256:4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652"}, ] [package.dependencies] @@ -1959,7 +1981,7 @@ coverage = {version = ">=5.2.1", extras = ["toml"]} pytest = ">=4.6" [package.extras] -testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] +testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] [[package]] name = "pytest-httpx" @@ -3096,4 +3118,4 @@ starlette = ["httpx", "starlette"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "5aac353a511ae1e1e08288a97d97c377b87bfc1f24a107f5aa89a75f6d9cc072" +content-hash = "2ca31c0006530705404e7596bdaad02400dc58678f8aee07218e0fd01aa6407d" diff --git a/pyproject.toml b/pyproject.toml index 05cf382..972b796 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,9 +48,12 @@ pre-commit = "^3.5.0" ruff = "^0.4.8" [tool.poetry.group.test.dependencies] -pytest = "^7.4.3" +pytest = [ + { version = "^7.0.0", python = ">=3.8,<3.9" }, + { version = "^8.0.0", python = ">=3.9" } +] pytest-asyncio = "^0.23.0" -pytest-cov = "^4.1.0" +pytest-cov = "^5.0.0" pytest-httpx = [ { version = "^0.22.0", python = ">=3.8,<3.9" }, { version = "^0.30.0", python = ">=3.9" }