From 08e522d272aee137c417584d745dc327c314db5f Mon Sep 17 00:00:00 2001 From: Gareth Rushgrove Date: Fri, 20 Jan 2023 11:35:30 +0000 Subject: [PATCH] Update pytest to latest version --- poetry.lock | 39 +++++++++++++++++++-------------------- pyproject.toml | 2 +- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/poetry.lock b/poetry.lock index b36ded8..232632a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,11 +1,3 @@ -[[package]] -name = "atomicwrites" -version = "1.4.1" -description = "Atomic file writes." -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - [[package]] name = "attrs" version = "22.2.0" @@ -114,6 +106,17 @@ python-versions = "*" [package.dependencies] packaging = "*" +[[package]] +name = "exceptiongroup" +version = "1.1.0" +description = "Backport of PEP 654 (exception groups)" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "filelock" version = "3.9.0" @@ -273,25 +276,24 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] name = "pytest" -version = "6.2.5" +version = "7.2.1" description = "pytest: simple powerful testing with Python" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [package.dependencies] -atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} attrs = ">=19.2.0" colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" -py = ">=1.8.2" -toml = "*" +tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] [[package]] name = "pytest-black" @@ -528,10 +530,9 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-co [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "f425ed72a589ee7b5fbac6aaf6cd00622dd8094948ec27511fe4d915e33e4654" +content-hash = "7439f7d9b24db94746d0b1f555a8c773279bff2d13239755464bcc9ca37efc28" [metadata.files] -atomicwrites = [] attrs = [] black = [] certifi = [] @@ -544,6 +545,7 @@ decorator = [ {file = "decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"}, ] deprecation = [] +exceptiongroup = [] filelock = [] idna = [] importlib-metadata = [] @@ -566,10 +568,7 @@ py = [ {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, ] -pytest = [ - {file = "pytest-6.2.5-py3-none-any.whl", hash = "sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134"}, - {file = "pytest-6.2.5.tar.gz", hash = "sha256:131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89"}, -] +pytest = [] pytest-black = [ {file = "pytest-black-0.3.12.tar.gz", hash = "sha256:1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5"}, ] diff --git a/pyproject.toml b/pyproject.toml index 73462a5..9d1c2db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ retry = "^0.9.2" deprecation = "^2.1.0" [tool.poetry.dev-dependencies] -pytest = "^6.2.5" +pytest = "^7.0.0" pytest-black = "^0.3.12" pytest-cov = "^3.0.0" pytest-mypy = "^0.9.1"