From c9d0b00d24456b97c394e382330fd681f12dec6b Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Wed, 31 Jan 2024 18:05:55 +0400 Subject: [PATCH] Cap pytest to 7.x series while we wait for upstream fix. Refs: https://github.com/smarie/python-pytest-cases/issues/330 --- poetry.lock | 12 ++++++------ pyproject.toml | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index c388f515f..b0a751f64 100644 --- a/poetry.lock +++ b/poetry.lock @@ -737,13 +737,13 @@ pygments = "!=2.7.3" [[package]] name = "pytest" -version = "8.0.0" +version = "7.4.4" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.8" +python-versions = ">=3.7" files = [ - {file = "pytest-8.0.0-py3-none-any.whl", hash = "sha256:50fb9cbe836c3f20f0dfa99c565201fb75dc54c8d76373cd1bde06b06657bdb6"}, - {file = "pytest-8.0.0.tar.gz", hash = "sha256:249b1b0864530ba251b7438274c4d251c58d868edaaec8762893ad4a0d71c36c"}, + {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, + {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, ] [package.dependencies] @@ -751,7 +751,7 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.3.0,<2.0" +pluggy = ">=0.12,<2.0" tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] @@ -1505,4 +1505,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "861b3b95ef7c4177da6429b260de620a3cb368077301c92880e90cd143ff6b1f" +content-hash = "a93995b080f12cf9de2219a69c09a7bdd72d43cd4456f5854d513fedc9897ac5" diff --git a/pyproject.toml b/pyproject.toml index 0b12d0fe1..32bab8538 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,7 +105,9 @@ coverage = { extras = ["toml"], version = "^7.2.3" } furo = "^2024.1.29" mypy = "^1.2.0" myst-parser = "^2.0.0" -pytest = "^8.0.0" +# XXX Cap pytest to 7.x series while we wait for https://github.com/smarie/python-pytest-cases/issues/330 +# to be fixed. +pytest = "<8.0.0" # More pytest plugins at: https://docs.pytest.org/en/latest/reference/plugin_list.html pytest-cases = "^3.7.0" pytest-cov = "^4.0.0"