From e5996f61008745eefbc2cc43f9b57c97bd99bfc3 Mon Sep 17 00:00:00 2001 From: veenstrajelmer Date: Fri, 11 Oct 2024 13:05:59 +0200 Subject: [PATCH] released pytest restriction to avoid warnings --- poetry.lock | 18 ++++++++++-------- pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index b6dad5af7..e1055c82e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -768,6 +768,9 @@ files = [ {file = "coverage-7.6.1.tar.gz", hash = "sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d"}, ] +[package.dependencies] +tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} + [package.extras] toml = ["tomli"] @@ -3564,22 +3567,21 @@ dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments [[package]] name = "pytest-cov" -version = "2.12.1" +version = "5.0.0" description = "Pytest plugin for measuring coverage." optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.8" files = [ - {file = "pytest-cov-2.12.1.tar.gz", hash = "sha256:261ceeb8c227b726249b376b8526b600f38667ee314f910353fa318caa01f4d7"}, - {file = "pytest_cov-2.12.1-py2.py3-none-any.whl", hash = "sha256:261bb9e47e65bd099c89c3edf92972865210c36813f80ede5277dceb77a4a62a"}, + {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] -coverage = ">=5.2.1" +coverage = {version = ">=5.2.1", extras = ["toml"]} pytest = ">=4.6" -toml = "*" [package.extras] -testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] +testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] [[package]] name = "python-dateutil" @@ -4575,4 +4577,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "b1cf34ac0e9350749e041fdd90b3f6fda9ac04aeb8c755d03dcdf9215df2682b" +content-hash = "de22379d0e7b27cc166ac63ef67c240a4b8f314ff48755160bc5d368232c60bf" diff --git a/pyproject.toml b/pyproject.toml index 3253b9a99..b28d7c43f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ strenum = "^0" [tool.poetry.dev-dependencies] pytest = ">=6.2" +pytest-cov = ">=2.11" black = "^24.3" isort = "^5.8" mkdocs = "^1.2" @@ -39,7 +40,6 @@ mkdocs-material = "^8.0" mkdocstrings = "^0.16" mkdocs-autorefs = "^0.3, !=0.3.1" mkdocs-macros-plugin = "^0.6.3" -pytest-cov = "^2.11" pymdown-extensions = "^9.1" commitizen = "^2.17" flake8 = "^3.9.2"