git: b0866234a232 - main - devel/py-virtualenv: Update to 21.7.9

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Wed, 09 Sep 2026 09:04:10 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b0866234a23218ba7d3867415a57fb38cef23dac

commit b0866234a23218ba7d3867415a57fb38cef23dac
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-09-09 09:00:29 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-09-09 09:02:47 +0000

    devel/py-virtualenv: Update to 21.7.9
    
    - Disable test target due to the following startup error:
    
    pluggy._manager.PluginValidationError: Plugin 'black' for hook 'pytest_collect_file'
    hookimpl definition: pytest_collect_file(file_path, path, parent)
    Argument(s) {'path'} are declared in the hookimpl but can not be found in the hookspec
    
    See https://github.com/pytest-dev/pytest/issues/14651
    
    - Pet portfmt
    
    ChangeLog:      https://github.com/pypa/virtualenv/releases/tag/21.7.9
    
    Reported by:    "github-actions[bot]" <notifications@github.com>
---
 devel/py-virtualenv/Makefile | 12 ++++++++----
 devel/py-virtualenv/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/devel/py-virtualenv/Makefile b/devel/py-virtualenv/Makefile
index d928b382c253..e6e22f8e206d 100644
--- a/devel/py-virtualenv/Makefile
+++ b/devel/py-virtualenv/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	virtualenv
-PORTVERSION=	21.7.8
+PORTVERSION=	21.7.9
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -17,7 +17,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}distlib>=0.3.7:devel/py-distlib@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}filelock>=3.12.2:sysutils/py-filelock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}platformdirs>=3.9.1:devel/py-platformdirs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-discovery>=1.6.0:devel/py-python-discovery@${PY_FLAVOR}
-# tests: 308 passed, 20 skipped, 2 deselected
+# tests: disabled due to the following error:
+# pluggy._manager.PluginValidationError: Plugin 'black' for hook 'pytest_collect_file'
+# hookimpl definition: pytest_collect_file(file_path, path, parent)
+# Argument(s) {'path'} are declared in the hookimpl but can not be found in the hookspec
+# See: https://github.com/pytest-dev/pytest/issues/14651
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3:devel/py-covdefaults@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}coverage>=7.3.2:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}coverage_enable_subprocess>=1.0:devel/py-coverage_enable_subprocess@${PY_FLAVOR} \
@@ -25,10 +29,10 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3:devel/py-covdefaults@${PY_
 		${PYTHON_PKGNAMEPREFIX}packaging>=23.1:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-env>=0.6.2:devel/py-pytest-env@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-freezer>=0.4.9:devel/py-pytest-freezer@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.8.0:devel/py-pytest-xdist@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-mock>=3.10:devel/py-pytest-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-randomly>=3.12:devel/py-pytest-randomly@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-timeout>=2.1.0:devel/py-pytest-timeout@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.8.0:devel/py-pytest-xdist@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0.4:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}time-machine>=2.10.0:devel/py-time-machine@${PY_FLAVOR} \
@@ -37,7 +41,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3:devel/py-covdefaults@${PY_
 USES=		cpe python
 USE_GITHUB=	yes
 GH_ACCOUNT=	pypa
-USE_PYTHON=	autoplist concurrent pep517 pytest
+USE_PYTHON=	autoplist concurrent pep517 # pytest
 PYTEST_BROKEN_TESTS=	test_build_c_ext.py #   ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0
 
 # Fix the LookupError: setuptools-scm was unable to detect version (build target)
diff --git a/devel/py-virtualenv/distinfo b/devel/py-virtualenv/distinfo
index a180b5d72211..dfc78a669df7 100644
--- a/devel/py-virtualenv/distinfo
+++ b/devel/py-virtualenv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788279111
-SHA256 (pypa-virtualenv-21.7.8_GH0.tar.gz) = 6ec2ca780462352b5ad6ec73dcc1a48ac537b89a8f76ed03ccb1ebaef078247d
-SIZE (pypa-virtualenv-21.7.8_GH0.tar.gz) = 6173749
+TIMESTAMP = 1788941210
+SHA256 (pypa-virtualenv-21.7.9_GH0.tar.gz) = d423e53744c6b3c1b046a433092c4aa0307789a1d01e300b1c5569ab84d64737
+SIZE (pypa-virtualenv-21.7.9_GH0.tar.gz) = 6175311