aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-03-28 12:34:27 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-03-28 12:38:27 +0000
commitaec4847321880fd6c01576ca577050a9d114b282 (patch)
treeaa17d50c5ba9ebcc24942a45b344e46edfa89881
parent429facb51b6f90477d81e2c9b118a765eafb96a7 (diff)
downloadports-aec4847321880fd6c01576ca577050a9d114b282.tar.gz
ports-aec4847321880fd6c01576ca577050a9d114b282.zip
databases/py-fakeredis: switch to pytest4
- Switch to pytest4 to avoid test failures after updating pytest to 7.x - Don't forget epoch when limiting pytest version PR: 256624
-rw-r--r--databases/py-fakeredis/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/py-fakeredis/Makefile b/databases/py-fakeredis/Makefile
index fe0b762a7d4c..172f747272c0 100644
--- a/databases/py-fakeredis/Makefile
+++ b/databases/py-fakeredis/Makefile
@@ -14,8 +14,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}redis>=0<4.2.0:databases/py-redis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.12:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=0:devel/py-sortedcontainers@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest<5.0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-cov<3.0:devel/py-pytest-cov@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4<5.0,1:devel/py-pytest4@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest4-cov<3.0:devel/py-pytest4-cov@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils