From ba13cbf0c2af8fd2cbb8501dc49b06000584fec1 Mon Sep 17 00:00:00 2001 From: David Michaels Date: Thu, 21 Sep 2023 11:43:39 -0400 Subject: [PATCH] Put pytest to latest version and added pytest-redis to ^3.0.2. --- poetry.lock | 17 +++++++---------- pyproject.toml | 4 ++-- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/poetry.lock b/poetry.lock index 43d756a9f..81cd1d452 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1186,23 +1186,20 @@ dev = ["pre-commit", "pytest-asyncio", "tox"] [[package]] name = "pytest-redis" -version = "2.4.0" +version = "3.0.2" description = "Redis fixtures and fixture factories for Pytest." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest-redis-2.4.0.tar.gz", hash = "sha256:8a07520abed3cd341e8da1793059aa5717b02e56c43e7c76435db682cede10aa"}, - {file = "pytest_redis-2.4.0-py3-none-any.whl", hash = "sha256:3cf00ad3f7241e38ce6f1bcb66af11b91956a889f1e216cfc026e81aa638a4e7"}, + {file = "pytest-redis-3.0.2.tar.gz", hash = "sha256:e54660e95fb1ec0feb7426523e37710ac7850380c60f9ee693c4045a6fc28ac5"}, + {file = "pytest_redis-3.0.2-py3-none-any.whl", hash = "sha256:e2fd39658f396b6ae22976b80f94c61ebda5bc2bb8fe7eabcc7a7f994f7659f8"}, ] [package.dependencies] mirakuru = "*" port-for = ">=0.6.0" -pytest = ">=6.2.0" -redis = "*" - -[package.extras] -tests = ["mock", "pytest-cov", "pytest-xdist"] +pytest = ">=6.2" +redis = ">=3" [[package]] name = "pytest-runner" @@ -1609,4 +1606,4 @@ tests = ["PasteDeploy", "WSGIProxy2", "coverage", "mock", "nose (<1.3.0)", "pyqu [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.12" -content-hash = "0aff1a06a42172e53af4af12de567f74bf87dec1cdd16b62b99271bbed5ac8a6" +content-hash = "fb29c53ae0f29eab1185dee384d1cd3b7dd039ca2cef7a5a38915de0e939a6a1" diff --git a/pyproject.toml b/pyproject.toml index 09abc41fa..473ed7d44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,10 +70,10 @@ coverage = ">=7.2.3" flake8 = ">=3.9.2" flaky = ">=3.7.0" pip-licenses = "^4.3.3" -pytest = ">=4.5.0" +pytest = "^7.4.2" pytest-cov = ">=2.7.1" pytest-mock = ">=1.11.0" -pytest-redis = "^2.0.0" +pytest-redis = "^3.0.2" pytest-runner = ">=5.1"