summaryrefslogtreecommitdiff
path: root/devel/py-pytest
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/py-pytest-arraydiff/Makefile29
-rw-r--r--devel/py-pytest-arraydiff/distinfo3
-rw-r--r--devel/py-pytest-arraydiff/pkg-descr16
-rw-r--r--devel/py-pytest-asyncio/Makefile26
-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-asyncio/pkg-descr8
-rw-r--r--devel/py-pytest-examples/Makefile2
-rw-r--r--devel/py-pytest-examples/distinfo6
-rw-r--r--devel/py-pytest-filter-subpackage/Makefile29
-rw-r--r--devel/py-pytest-filter-subpackage/distinfo3
-rw-r--r--devel/py-pytest-filter-subpackage/pkg-descr3
-rw-r--r--devel/py-pytest-lazy-fixtures/Makefile2
-rw-r--r--devel/py-pytest-lazy-fixtures/distinfo6
-rw-r--r--devel/py-pytest-run-parallel/Makefile2
-rw-r--r--devel/py-pytest-run-parallel/distinfo6
-rw-r--r--devel/py-pytest-sugar/Makefile5
-rw-r--r--devel/py-pytest-sugar/distinfo6
-rw-r--r--devel/py-pytest-timeout/Makefile6
-rw-r--r--devel/py-pytest-timeout/distinfo6
-rw-r--r--devel/py-pytest/Makefile13
-rw-r--r--devel/py-pytest/distinfo6
22 files changed, 161 insertions, 50 deletions
diff --git a/devel/py-pytest-arraydiff/Makefile b/devel/py-pytest-arraydiff/Makefile
new file mode 100644
index 000000000000..f827c3f124b1
--- /dev/null
+++ b/devel/py-pytest-arraydiff/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= pytest-arraydiff
+DISTVERSION= 0.6.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Pytest plugin to help with comparing array output from tests
+WWW= https://github.com/astropy/pytest-arraydiff
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+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= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=4.6:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+NO_ARCH= yes
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+# tests as of 0.6.1: 18 passed in 32.31s
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-arraydiff/distinfo b/devel/py-pytest-arraydiff/distinfo
new file mode 100644
index 000000000000..51c9960f06a9
--- /dev/null
+++ b/devel/py-pytest-arraydiff/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757266057
+SHA256 (pytest-arraydiff-0.6.1.tar.gz) = 2937b1450fc935620f24709d87d40c67e055a043d7b8541a25fdfa994dda67de
+SIZE (pytest-arraydiff-0.6.1.tar.gz) = 16907
diff --git a/devel/py-pytest-arraydiff/pkg-descr b/devel/py-pytest-arraydiff/pkg-descr
new file mode 100644
index 000000000000..d4c6f298dd68
--- /dev/null
+++ b/devel/py-pytest-arraydiff/pkg-descr
@@ -0,0 +1,16 @@
+pytest-arraydiff is a py.test plugin to facilitate the generation and comparison
+of data arrays produced during tests, in particular in cases where the arrays
+are too large to conveniently hard-code them in the tests
+(e.g. np.testing.assert_allclose(x, [1, 2, 3])).
+
+The basic idea is that you can write a test that generates a Numpy array (or
+other related objects depending on the format, e.g. pandas DataFrame). You can
+then either run the tests in a mode to generate reference files from the arrays,
+or you can run the tests in comparison mode, which will compare the results of
+the tests to the reference ones within some tolerance.
+
+At the moment, the supported file formats for the reference files are:
+* A plain text-based format (based on Numpy loadtxt output)
+* The FITS format (requires astropy). With this format, tests can return either
+ a Numpy array for a FITS HDU object.
+* A pandas HDF5 format using the pandas HDFStore
diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile
index 14fd94ae7c33..1157eaaea0af 100644
--- a/devel/py-pytest-asyncio/Makefile
+++ b/devel/py-pytest-asyncio/Makefile
@@ -1,28 +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= ports@FreeBSD.org
-COMMENT= Py.test plugin providing fixtures and markers for asyncio
-WWW= https://pypi.org/project/pytest-asyncio/
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pytest support for asyncio
+WWW= https://pytest-asyncio.readthedocs.io/en/stable/ \
+ https://github.com/pytest-dev/pytest-asyncio
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-# note that the next version requires pytest 8.2.0, while ports still only have 8.1.1 ATOW
-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= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=8.2,1<9,1: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= autoplist concurrent pep517 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-asyncio/pkg-descr b/devel/py-pytest-asyncio/pkg-descr
index 6d11ecea8ff4..73eb827208d7 100644
--- a/devel/py-pytest-asyncio/pkg-descr
+++ b/devel/py-pytest-asyncio/pkg-descr
@@ -1,3 +1,5 @@
-asyncio code is usually written in the form of coroutines, which makes it
-slightly more difficult to test using normal testing tools. pytest-asyncio
-provides useful fixtures and markers to make testing easier.
+pytest-asyncio is a pytest plugin. It facilitates testing of code that uses the
+asyncio library.
+
+Specifically, pytest-asyncio provides support for coroutines as test functions.
+This allows users to await code inside their tests.
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-filter-subpackage/Makefile b/devel/py-pytest-filter-subpackage/Makefile
new file mode 100644
index 000000000000..9756657dc05b
--- /dev/null
+++ b/devel/py-pytest-filter-subpackage/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= pytest-filter-subpackage
+DISTVERSION= 0.2.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Pytest plugin for filtering based on sub-packages
+WWW= https://github.com/astropy/pytest-filter-subpackage
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
+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}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=4.6:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+NO_ARCH= yes
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+# tests as of 0.2.0: 3 failed, 5 passed in 3.14s, see https://github.com/astropy/pytest-filter-subpackage/issues/31
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-filter-subpackage/distinfo b/devel/py-pytest-filter-subpackage/distinfo
new file mode 100644
index 000000000000..58a99512f08b
--- /dev/null
+++ b/devel/py-pytest-filter-subpackage/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757267184
+SHA256 (pytest-filter-subpackage-0.2.0.tar.gz) = 3f468f1b36518128869b95deab661ba45ed6293854329fef14da4c8cac78af56
+SIZE (pytest-filter-subpackage-0.2.0.tar.gz) = 8085
diff --git a/devel/py-pytest-filter-subpackage/pkg-descr b/devel/py-pytest-filter-subpackage/pkg-descr
new file mode 100644
index 000000000000..e7d1939b98d6
--- /dev/null
+++ b/devel/py-pytest-filter-subpackage/pkg-descr
@@ -0,0 +1,3 @@
+pytest-filter-subpackage is a simple plugin for the pytest framework that
+provides a shortcut to testing all code and documentation for a given
+sub-package.
diff --git a/devel/py-pytest-lazy-fixtures/Makefile b/devel/py-pytest-lazy-fixtures/Makefile
index d36e2a888fe6..ad89f5cda868 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.3.2
+PORTVERSION= 1.3.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pytest-lazy-fixtures/distinfo b/devel/py-pytest-lazy-fixtures/distinfo
index 032927e1c3b9..8e482d451222 100644
--- a/devel/py-pytest-lazy-fixtures/distinfo
+++ b/devel/py-pytest-lazy-fixtures/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753265760
-SHA256 (pytest_lazy_fixtures-1.3.2.tar.gz) = 76bac6772e97173828d49551695cc6e3927c7c86c65cd19d4cccb0c14a45f821
-SIZE (pytest_lazy_fixtures-1.3.2.tar.gz) = 34114
+TIMESTAMP = 1757120734
+SHA256 (pytest_lazy_fixtures-1.3.4.tar.gz) = 7dd2c110830897b83f041d3a503cbdda10c98ced6dca7602fc43e2f6017c27ed
+SIZE (pytest_lazy_fixtures-1.3.4.tar.gz) = 34713
diff --git a/devel/py-pytest-run-parallel/Makefile b/devel/py-pytest-run-parallel/Makefile
index 6b9c4f65763c..4e06c5bb0cf9 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.5.0
+PORTVERSION= 0.6.1
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 25e7eb31e166..4a73c4a8c255 100644
--- a/devel/py-pytest-run-parallel/distinfo
+++ b/devel/py-pytest-run-parallel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753369384
-SHA256 (pytest_run_parallel-0.5.0.tar.gz) = 444c62acfcdc33ce896bd339ada400c1df42660351e3c2ec02d876f8ce243345
-SIZE (pytest_run_parallel-0.5.0.tar.gz) = 44138
+TIMESTAMP = 1757120736
+SHA256 (pytest_run_parallel-0.6.1.tar.gz) = 920aef9e7c168c4dc5536601811901873dc2c4dfb66eaa1467e9fdeb11833b5c
+SIZE (pytest_run_parallel-0.6.1.tar.gz) = 45481
diff --git a/devel/py-pytest-sugar/Makefile b/devel/py-pytest-sugar/Makefile
index 3c42ffd51ddb..d73e794ae393 100644
--- a/devel/py-pytest-sugar/Makefile
+++ b/devel/py-pytest-sugar/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pytest-sugar
-PORTVERSION= 1.0.0
+PORTVERSION= 1.1.1
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/Teemu/pytest-sugar/releases/download/v${PORTVERSION}/
@@ -14,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.0,1:devel/py-pytest@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.0,1:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}termcolor>=2.1.0:devel/py-termcolor@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>=0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.14,1:devel/py-pytest-xdist@${PY_FLAVOR}
diff --git a/devel/py-pytest-sugar/distinfo b/devel/py-pytest-sugar/distinfo
index 42ff3ef644ed..abb61e714c22 100644
--- a/devel/py-pytest-sugar/distinfo
+++ b/devel/py-pytest-sugar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449332
-SHA256 (pytest-sugar-1.0.0.tar.gz) = 6422e83258f5b0c04ce7c632176c7732cab5fdb909cb39cca5c9139f81276c0a
-SIZE (pytest-sugar-1.0.0.tar.gz) = 14992
+TIMESTAMP = 1757120738
+SHA256 (pytest-sugar-1.1.1.tar.gz) = 73b8b65163ebf10f9f671efab9eed3d56f20d2ca68bda83fa64740a92c08f65d
+SIZE (pytest-sugar-1.1.1.tar.gz) = 16533
diff --git a/devel/py-pytest-timeout/Makefile b/devel/py-pytest-timeout/Makefile
index 7ca86533aa43..b7cacd817606 100644
--- a/devel/py-pytest-timeout/Makefile
+++ b/devel/py-pytest-timeout/Makefile
@@ -1,9 +1,9 @@
PORTNAME= pytest-timeout
-PORTVERSION= 2.1.0
-PORTREVISION= 1
+PORTVERSION= 2.4.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
MAINTAINER= loader@FreeBSD.org
COMMENT= Pytest plugin to abort hanging tests
@@ -12,7 +12,7 @@ WWW= https://github.com/pytest-dev/pytest-timeout
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5.0.0:devel/py-pytest@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7.0.0:devel/py-pytest@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}
diff --git a/devel/py-pytest-timeout/distinfo b/devel/py-pytest-timeout/distinfo
index ff21aa45426d..ad294efafe7b 100644
--- a/devel/py-pytest-timeout/distinfo
+++ b/devel/py-pytest-timeout/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659146345
-SHA256 (pytest-timeout-2.1.0.tar.gz) = c07ca07404c612f8abbe22294b23c368e2e5104b521c1790195561f37e1ac3d9
-SIZE (pytest-timeout-2.1.0.tar.gz) = 18386
+TIMESTAMP = 1757054483
+SHA256 (pytest_timeout-2.4.0.tar.gz) = 7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a
+SIZE (pytest_timeout-2.4.0.tar.gz) = 17973
diff --git a/devel/py-pytest/Makefile b/devel/py-pytest/Makefile
index f1998ed35cfd..25b01134260b 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
@@ -7,7 +7,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Simple powerful testing with Python
-WWW= https://docs.pytest.org/en/latest/
+WWW= https://docs.pytest.org/en/latest/ \
+ https://github.com/pytest-dev/pytest
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -17,13 +18,13 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
${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}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}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} \
@@ -47,4 +48,6 @@ NO_ARCH= yes
do-test:
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