summaryrefslogtreecommitdiff
path: root/devel/py-pytest
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/py-pytest-asyncio/Makefile25
-rw-r--r--devel/py-pytest-asyncio/distinfo6
-rw-r--r--devel/py-pytest-asyncio/files/patch-pyproject.toml22
-rw-r--r--devel/py-pytest-cache/Makefile2
-rw-r--r--devel/py-pytest-codspeed/Makefile6
-rw-r--r--devel/py-pytest-codspeed/distinfo6
-rw-r--r--devel/py-pytest-cov/Makefile2
-rw-r--r--devel/py-pytest-datadir/Makefile2
-rw-r--r--devel/py-pytest-datadir/distinfo6
-rw-r--r--devel/py-pytest-examples/Makefile2
-rw-r--r--devel/py-pytest-examples/distinfo6
-rw-r--r--devel/py-pytest-flakes/Makefile2
-rw-r--r--devel/py-pytest-lazy-fixtures/Makefile4
-rw-r--r--devel/py-pytest-lazy-fixtures/distinfo6
-rw-r--r--devel/py-pytest-mpl/Makefile2
-rw-r--r--devel/py-pytest-pycodestyle/Makefile9
-rw-r--r--devel/py-pytest-pycodestyle/distinfo6
-rw-r--r--devel/py-pytest-pycodestyle/files/patch-pyproject.toml10
-rw-r--r--devel/py-pytest-regtest/Makefile18
-rw-r--r--devel/py-pytest-regtest/distinfo6
-rw-r--r--devel/py-pytest-regtest/pkg-descr14
-rw-r--r--devel/py-pytest-relaxed/Makefile1
-rw-r--r--devel/py-pytest-run-parallel/Makefile2
-rw-r--r--devel/py-pytest-run-parallel/distinfo6
-rw-r--r--devel/py-pytest-services/Makefile3
-rw-r--r--devel/py-pytest-services/distinfo6
-rw-r--r--devel/py-pytest/Makefile23
-rw-r--r--devel/py-pytest/distinfo6
28 files changed, 121 insertions, 88 deletions
diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile
index 20dd41a35007..9f02c32b083c 100644
--- a/devel/py-pytest-asyncio/Makefile
+++ b/devel/py-pytest-asyncio/Makefile
@@ -1,29 +1,30 @@
PORTNAME= pytest-asyncio
-DISTVERSION= 0.23.8
-PORTREVISION= 1
+DISTVERSION= 1.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytest_asyncio-${DISTVERSION}
-MAINTAINER= amdmi3@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Py.test plugin providing fixtures and markers for asyncio
-WWW= https://pypi.org/project/pytest-asyncio/
+WWW= https://pytest-asyncio.readthedocs.io/en/stable/ \
+ https://github.com/pytest-dev/pytest-asyncio
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-asyncio
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR}
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.7.1:devel/py-hypothesis@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=8.0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=6.2:devel/py-coverage@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.7.1:devel/py-hypothesis@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils pytest
+USE_PYTHON= pep517 autoplist pytest
+
NO_ARCH= yes
-post-patch:
- @${ECHO_CMD} 'from setuptools import setup; setup()' > ${WRKSRC}/setup.py
+# tests as of 1.1.0: 23 failed, 145 passed in 214.54s (0:03:34), see https://github.com/pytest-dev/pytest-asyncio/issues/1227
.include <bsd.port.mk>
diff --git a/devel/py-pytest-asyncio/distinfo b/devel/py-pytest-asyncio/distinfo
index 3954ac929c5e..9989f8ef730a 100644
--- a/devel/py-pytest-asyncio/distinfo
+++ b/devel/py-pytest-asyncio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721655462
-SHA256 (pytest_asyncio-0.23.8.tar.gz) = 759b10b33a6dc61cce40a8bd5205e302978bbbcc00e279a8b61d9a6a3c82e4d3
-SIZE (pytest_asyncio-0.23.8.tar.gz) = 46920
+TIMESTAMP = 1757057362
+SHA256 (pytest_asyncio-1.1.0.tar.gz) = 796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555dab68ea
+SIZE (pytest_asyncio-1.1.0.tar.gz) = 46652
diff --git a/devel/py-pytest-asyncio/files/patch-pyproject.toml b/devel/py-pytest-asyncio/files/patch-pyproject.toml
new file mode 100644
index 000000000000..d0998d710688
--- /dev/null
+++ b/devel/py-pytest-asyncio/files/patch-pyproject.toml
@@ -0,0 +1,22 @@
+--- pyproject.toml.orig 2025-07-16 04:22:08 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ requires = [
+- "setuptools>=77",
++ "setuptools",
+ "setuptools-scm[toml]>=6.2",
+ ]
+
+@@ -10,10 +10,6 @@ readme.file = "README.rst"
+ description = "Pytest support for asyncio"
+ readme.content-type = "text/x-rst"
+ readme.file = "README.rst"
+-license = "Apache-2.0"
+-license-files = [
+- "LICENSE",
+-]
+ maintainers = [
+ { name = "Michael Seifert", email = "m.seifert@digitalernachschub.de" },
+ ]
diff --git a/devel/py-pytest-cache/Makefile b/devel/py-pytest-cache/Makefile
index 80fcd36dd2b2..dda5ca87517a 100644
--- a/devel/py-pytest-cache/Makefile
+++ b/devel/py-pytest-cache/Makefile
@@ -12,8 +12,6 @@ WWW= https://bitbucket.org/hpk42/pytest-cache/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-cache
-
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.2:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}execnet>=1.2:sysutils/py-execnet@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
diff --git a/devel/py-pytest-codspeed/Makefile b/devel/py-pytest-codspeed/Makefile
index 75f55b1c63bf..0b5852892354 100644
--- a/devel/py-pytest-codspeed/Makefile
+++ b/devel/py-pytest-codspeed/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-codspeed
-PORTVERSION= 3.2.0
+PORTVERSION= 4.0.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -8,7 +8,7 @@ DISTNAME= pytest_codspeed-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Pytest plugin to create CodSpeed benchmarks
WWW= https://codspeed.io/ \
- https://docs.codspeed.io/ \
+ https://codspeed.io/docs/reference/pytest-codspeed \
https://github.com/CodSpeedHQ/pytest-codspeed
LICENSE= MIT
@@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.17.1:devel/py-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=3.8,1:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rich>=13.8.1:textproc/py-rich@${PY_FLAVOR}
-USES= python:3.9+
+USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/devel/py-pytest-codspeed/distinfo b/devel/py-pytest-codspeed/distinfo
index 25ae3ef54f88..afb4d363d1e9 100644
--- a/devel/py-pytest-codspeed/distinfo
+++ b/devel/py-pytest-codspeed/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738606465
-SHA256 (pytest_codspeed-3.2.0.tar.gz) = f9d1b1a3b2c69cdc0490a1e8b1ced44bffbd0e8e21d81a7160cfdd923f6e8155
-SIZE (pytest_codspeed-3.2.0.tar.gz) = 18409
+TIMESTAMP = 1752266132
+SHA256 (pytest_codspeed-4.0.0.tar.gz) = 0e9af08ca93ad897b376771db92693a81aa8990eecc2a778740412e00a6f6eaf
+SIZE (pytest_codspeed-4.0.0.tar.gz) = 107630
diff --git a/devel/py-pytest-cov/Makefile b/devel/py-pytest-cov/Makefile
index 83bcd91b9071..2b4a631dd968 100644
--- a/devel/py-pytest-cov/Makefile
+++ b/devel/py-pytest-cov/Makefile
@@ -24,8 +24,6 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fields>0:devel/py-fields@${PY_FLAVOR} \
USES= python
USE_PYTHON= autoplist concurrent distutils pytest
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-cov
-
NO_ARCH= yes
TEST_ARGS+= -p pytester
diff --git a/devel/py-pytest-datadir/Makefile b/devel/py-pytest-datadir/Makefile
index 1c17048fd9a2..068821311604 100644
--- a/devel/py-pytest-datadir/Makefile
+++ b/devel/py-pytest-datadir/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-datadir
-PORTVERSION= 1.7.2
+PORTVERSION= 1.8.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pytest-datadir/distinfo b/devel/py-pytest-datadir/distinfo
index 65abf0e954e9..3805b841aad3 100644
--- a/devel/py-pytest-datadir/distinfo
+++ b/devel/py-pytest-datadir/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751382423
-SHA256 (pytest_datadir-1.7.2.tar.gz) = 15f5228a35d0a3205e4968e75d3b9cca91762424e1eafc21eb637d380a48443e
-SIZE (pytest_datadir-1.7.2.tar.gz) = 11265
+TIMESTAMP = 1754319990
+SHA256 (pytest_datadir-1.8.0.tar.gz) = 7a15faed76cebe87cc91941dd1920a9a38eba56a09c11e9ddf1434d28a0f78eb
+SIZE (pytest_datadir-1.8.0.tar.gz) = 11848
diff --git a/devel/py-pytest-examples/Makefile b/devel/py-pytest-examples/Makefile
index 0b0a4934b692..44da8aee1306 100644
--- a/devel/py-pytest-examples/Makefile
+++ b/devel/py-pytest-examples/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-examples
-DISTVERSION= 0.0.13
+DISTVERSION= 0.0.18
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pytest-examples/distinfo b/devel/py-pytest-examples/distinfo
index a44e941f7567..a681f7151f55 100644
--- a/devel/py-pytest-examples/distinfo
+++ b/devel/py-pytest-examples/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1723624177
-SHA256 (pytest_examples-0.0.13.tar.gz) = 4d6fd78154953e84444f58f193eb6cc8d853bca7f0ee9f44ea75db043a2c19b5
-SIZE (pytest_examples-0.0.13.tar.gz) = 20445
+TIMESTAMP = 1756452701
+SHA256 (pytest_examples-0.0.18.tar.gz) = 9a464f007f805b113677a15e2f8942ebb92d7d3eb5312e9a405d018478ec9801
+SIZE (pytest_examples-0.0.18.tar.gz) = 21237
diff --git a/devel/py-pytest-flakes/Makefile b/devel/py-pytest-flakes/Makefile
index c58629087d82..99768576a75e 100644
--- a/devel/py-pytest-flakes/Makefile
+++ b/devel/py-pytest-flakes/Makefile
@@ -12,8 +12,6 @@ WWW= https://github.com/fschulze/pytest-flakes
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-flakes
-
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR}
diff --git a/devel/py-pytest-lazy-fixtures/Makefile b/devel/py-pytest-lazy-fixtures/Makefile
index fea10a078b5f..d36e2a888fe6 100644
--- a/devel/py-pytest-lazy-fixtures/Makefile
+++ b/devel/py-pytest-lazy-fixtures/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-lazy-fixtures
-PORTVERSION= 1.1.4
+PORTVERSION= 1.3.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ WWW= https://github.com/dev-petrov/pytest-lazy-fixtures
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR}
USES= python
diff --git a/devel/py-pytest-lazy-fixtures/distinfo b/devel/py-pytest-lazy-fixtures/distinfo
index df2a038fcf80..032927e1c3b9 100644
--- a/devel/py-pytest-lazy-fixtures/distinfo
+++ b/devel/py-pytest-lazy-fixtures/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748495797
-SHA256 (pytest_lazy_fixtures-1.1.4.tar.gz) = c494b52d798890033d64b28687a4d52807c8b0f606d56316e139df0cbe116c57
-SIZE (pytest_lazy_fixtures-1.1.4.tar.gz) = 7426
+TIMESTAMP = 1753265760
+SHA256 (pytest_lazy_fixtures-1.3.2.tar.gz) = 76bac6772e97173828d49551695cc6e3927c7c86c65cd19d4cccb0c14a45f821
+SIZE (pytest_lazy_fixtures-1.3.2.tar.gz) = 34114
diff --git a/devel/py-pytest-mpl/Makefile b/devel/py-pytest-mpl/Makefile
index 6d55ef3f2f89..d90fa597d500 100644
--- a/devel/py-pytest-mpl/Makefile
+++ b/devel/py-pytest-mpl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pytest-mpl
DISTVERSION= 0.17.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pytest-pycodestyle/Makefile b/devel/py-pytest-pycodestyle/Makefile
index 24c4f41b5986..30c30793a181 100644
--- a/devel/py-pytest-pycodestyle/Makefile
+++ b/devel/py-pytest-pycodestyle/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pytest-pycodestyle
-DISTVERSION= 2.4.1
-PORTREVISION= 1
+DISTVERSION= 2.5.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,17 +12,19 @@ WWW= https://github.com/henry0312/pytest-codestyle
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py>0:devel/py-py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist pytest
+USE_PYTHON= pep517 autoplist pytest
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-# tests as of 2.4.1: 1 failed, 16 passed in 50.11s, see https://github.com/henry0312/pytest-pycodestyle/issues/114
+# tests as of 2.5.0: 15 passed in 3.82
.include <bsd.port.mk>
diff --git a/devel/py-pytest-pycodestyle/distinfo b/devel/py-pytest-pycodestyle/distinfo
index 38818bbedb2f..2621864f5e14 100644
--- a/devel/py-pytest-pycodestyle/distinfo
+++ b/devel/py-pytest-pycodestyle/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734398730
-SHA256 (pytest_pycodestyle-2.4.1.tar.gz) = 27cfebd52774ad55cceadce959913892b3b0989fc02400ef76a004a8b32ab5c9
-SIZE (pytest_pycodestyle-2.4.1.tar.gz) = 5284
+TIMESTAMP = 1753076632
+SHA256 (pytest_pycodestyle-2.5.0.tar.gz) = dd0060039e12a59b521da8e57e17133c965566dd8d17631e589e7545238829ac
+SIZE (pytest_pycodestyle-2.5.0.tar.gz) = 5859
diff --git a/devel/py-pytest-pycodestyle/files/patch-pyproject.toml b/devel/py-pytest-pycodestyle/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f913dcd88f43
--- /dev/null
+++ b/devel/py-pytest-pycodestyle/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig 2025-07-21 05:47:27 UTC
++++ pyproject.toml
+@@ -12,7 +12,6 @@ readme = "README.md"
+ name = "pytest-pycodestyle"
+ description = "pytest plugin to run pycodestyle"
+ readme = "README.md"
+-license = "MIT"
+ authors = [
+ { name = "OMOTO Tsukasa", email = "tsukasa@oomo.to" }
+ ]
diff --git a/devel/py-pytest-regtest/Makefile b/devel/py-pytest-regtest/Makefile
index 22ea98b17180..edf089bd2476 100644
--- a/devel/py-pytest-regtest/Makefile
+++ b/devel/py-pytest-regtest/Makefile
@@ -1,23 +1,25 @@
PORTNAME= pytest-regtest
-PORTVERSION= 2.1.1
+PORTVERSION= 2.3.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytest_regtest-${PORTVERSION}
-MAINTAINER= amdmi3@FreeBSD.org
-COMMENT= Pytest plugin for regression tests
-WWW= https://gitlab.com/uweschmitt/pytest-regtest \
- https://pypi.org/project/pytest-regtest/
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pytest plugin for snapshot regression testing
+WWW= https://pytest-regtest.readthedocs.io/en/latest/ \
+ https://gitlab.com/uweschmitt/pytest-regtest
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7.2,1:devel/py-pytest@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist pep517 pytest
+USE_PYTHON= autoplist concurrent pep517 pytest
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-pytest-regtest/distinfo b/devel/py-pytest-regtest/distinfo
index c3f94b4cc28e..41e25a141ee3 100644
--- a/devel/py-pytest-regtest/distinfo
+++ b/devel/py-pytest-regtest/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712671606
-SHA256 (pytest_regtest-2.1.1.tar.gz) = bd08a6161832378b59ecd4f5815fbe26af7cd091db4a1e710e30476d5f3b8832
-SIZE (pytest_regtest-2.1.1.tar.gz) = 9595
+TIMESTAMP = 1753796082
+SHA256 (pytest_regtest-2.3.4.tar.gz) = d9cf0db9d958b4e3fedcf84ff5ac4247b24663eb1bf9011568123fccd34b391f
+SIZE (pytest_regtest-2.3.4.tar.gz) = 23131
diff --git a/devel/py-pytest-regtest/pkg-descr b/devel/py-pytest-regtest/pkg-descr
index b778e9f63bc7..ff1ffaa560a8 100644
--- a/devel/py-pytest-regtest/pkg-descr
+++ b/devel/py-pytest-regtest/pkg-descr
@@ -1,7 +1,9 @@
-pytest-regtest is a pytest-plugin for implementing regression tests.
-Compared to functional testing a regression test does not test if
-software produces correct results, instead a regression test checks
-if software behaves the same way as it did before introduced changes.
+pytest-regtest is a plugin for pytest to implement regression testing.
-pytest-regtest allows capturing selected output which then can be
-compared to the captured output from former runs.
+Unlike functional testing, regression testing does not test whether the software
+produces the correct results, but whether it behaves as it did before changes
+were introduced.
+
+More specifically, pytest-regtest provides snapshot testing, which implements
+regression testing by recording data within a test function and comparing this
+recorded output to a previously recorded reference output.
diff --git a/devel/py-pytest-relaxed/Makefile b/devel/py-pytest-relaxed/Makefile
index b1ddc593713f..4f1e9e5fcc70 100644
--- a/devel/py-pytest-relaxed/Makefile
+++ b/devel/py-pytest-relaxed/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pytest-relaxed
PORTVERSION= 2.0.2
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pytest-run-parallel/Makefile b/devel/py-pytest-run-parallel/Makefile
index 18b28128ffb3..6b9c4f65763c 100644
--- a/devel/py-pytest-run-parallel/Makefile
+++ b/devel/py-pytest-run-parallel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-run-parallel
-PORTVERSION= 0.4.4
+PORTVERSION= 0.5.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pytest-run-parallel/distinfo b/devel/py-pytest-run-parallel/distinfo
index 5f42bea77448..25e7eb31e166 100644
--- a/devel/py-pytest-run-parallel/distinfo
+++ b/devel/py-pytest-run-parallel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750188110
-SHA256 (pytest_run_parallel-0.4.4.tar.gz) = 3a007649ae365c7fabc3beccf716fefeb39040720cac67d85b4004a00235e817
-SIZE (pytest_run_parallel-0.4.4.tar.gz) = 42541
+TIMESTAMP = 1753369384
+SHA256 (pytest_run_parallel-0.5.0.tar.gz) = 444c62acfcdc33ce896bd339ada400c1df42660351e3c2ec02d876f8ce243345
+SIZE (pytest_run_parallel-0.5.0.tar.gz) = 44138
diff --git a/devel/py-pytest-services/Makefile b/devel/py-pytest-services/Makefile
index dd9161548fcf..91fa22cd9d8b 100644
--- a/devel/py-pytest-services/Makefile
+++ b/devel/py-pytest-services/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pytest-services
-DISTVERSION= 2.2.1
+DISTVERSION= 2.2.2
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pytest-services/distinfo b/devel/py-pytest-services/distinfo
index 93ad2710a270..4688653dd322 100644
--- a/devel/py-pytest-services/distinfo
+++ b/devel/py-pytest-services/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686735832
-SHA256 (pytest-services-2.2.1.tar.gz) = 2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536
-SIZE (pytest-services-2.2.1.tar.gz) = 28538
+TIMESTAMP = 1752739882
+SHA256 (pytest_services-2.2.2.tar.gz) = 3388f45e66bba81cefc060273306d7e1eb0005d9303af993211fa9ae667534fd
+SIZE (pytest_services-2.2.2.tar.gz) = 27861
diff --git a/devel/py-pytest/Makefile b/devel/py-pytest/Makefile
index bbc7d4b4e8bd..5e704aab0c87 100644
--- a/devel/py-pytest/Makefile
+++ b/devel/py-pytest/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest
-PORTVERSION= 8.1.1
+PORTVERSION= 8.4.2
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
@@ -16,24 +16,24 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2.3:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PY_EXCEPTIONGROUP} \
- ${PYTHON_PKGNAMEPREFIX}iniconfig>=0:devel/py-iniconfig@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pluggy>=1.4<2.0:devel/py-pluggy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}iniconfig>0:devel/py-iniconfig@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pluggy>=1.5<2.0:devel/py-pluggy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pygments>=2.7.2:textproc/py-pygments@${PY_FLAVOR} \
${PY_TOMLI}
TEST_DEPENDS= bash:shells/bash \
lsof:sysutils/lsof \
- ${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}asynctest>=0:devel/py-asynctest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}argcomplete>0:devel/py-argcomplete@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}attrs>=19.2:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.7.2:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.1.0,1:devel/py-pytest-xdist@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmlschema>=0:textproc/py-xmlschema@${PY_FLAVOR}
@@ -43,10 +43,9 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4
-
-# XXX: test_pdb_custom_cls_with_set_trace fails
do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+
+# tests as of 8.4.2: 1 failed, 3861 passed, 37 skipped, 12 xfailed, 7 xpassed in 652.09s (0:10:52), see https://github.com/pytest-dev/pytest/issues/13699
.include <bsd.port.mk>
diff --git a/devel/py-pytest/distinfo b/devel/py-pytest/distinfo
index aa049f11410b..429aa14b982a 100644
--- a/devel/py-pytest/distinfo
+++ b/devel/py-pytest/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713775176
-SHA256 (pytest-8.1.1.tar.gz) = ac978141a75948948817d360297b7aae0fcb9d6ff6bc9ec6d514b85d5a65c044
-SIZE (pytest-8.1.1.tar.gz) = 1409703
+TIMESTAMP = 1757060185
+SHA256 (pytest-8.4.2.tar.gz) = 86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01
+SIZE (pytest-8.4.2.tar.gz) = 1519618