From nobody Sun Oct 29 14:40:10 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SJJwB3R2Nz4xmtc; Sun, 29 Oct 2023 14:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SJJwB2vHfz3YCl; Sun, 29 Oct 2023 14:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698590410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p3Oo4hgLF8WrnUjA1WGlumaSUEvkadE8Apj+GkdfdDc=; b=onnwZqaLQ7K21tkVbPvT/a+5A2tzrNvaEFXxaBGAQU0+ZjExfGVTfhBP62adof4pyPwVa0 IR/6unQALDwACr2j5EbKIFqsUQ4bWFAWHvhClOGyUvqx15YUkQja14/Bc39HqJrQNJ0gz0 8dqF1/F6rRVHg3ikoTjvG5gSAkdwEgMCeOSmmEbTqGcAn2P1nsfbQYvYOKiH7bLbGXQI6z fy5fwL5VQnDZ1ttspeQ3ABkcxmKC98sCpJ2dLbiyoExZtIGxwjC4kYDTjhw5FBC8lXgSJt rj8pM85+NTL52Jyr9LusX4D0Used6vi4axOLHePfqik0zcAcLCa7vJnjp8GjLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698590410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p3Oo4hgLF8WrnUjA1WGlumaSUEvkadE8Apj+GkdfdDc=; b=pJ4trizNXGF5DqTgILXbxhjJRbSNQDyYxkNHyXj5tvXczwRfg/M4PBVFizxaqCS6CPM52j sSUfqqJzWaooPUeNA8eDAjGJi3kYdk2c6E41vlIxHj6LktPRMksnyopwkB08c00eiZDVqB if3ihJm9bEa/NZ5buYGhJQn+HD/SqFl/peZGWgHcxijLI/kYNOohgf2yXklTWlNfkr6vvj dfoOvsdosgHDFosEBjISkbAAUT5Z8aeO+XkqgFw53I7PDr9B1rT05ggMqwJkgbJplROofl r/Si9nNPnH5JiEY2YyXx2N+7iAkgQUAz/TAj5K8q1IP0+6LtgatBMui2SsyQtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698590410; a=rsa-sha256; cv=none; b=D1NRj85+Dkzj5e9mGOXf8I3uoStOqcFKwpYvR59iIC6G2ct6skM/brWCvmTTTcyzH5yXZb HEpatVC6Un+I0OSve/m1WZcqswQwiWXPft92Q4OYMAYTqTrxb5WmitKyj/R+7J4pOE1+EH eeQBB8F7p9umlrH3PSkXSr0AcpsMZ2ZOqilc9CgucS/foreB4H/FFazK65RnJFpYdERXcP Hc5ihUhjsLWupH21Vyhmqg+ghvcCrDsSVHZDGhs5a8Kf/2fTQC/p2fqtuK+wPPvpCNYuNs Ir5GgAh34V8WeD2SscdRa0AuJ5XKhAGCkoJ11d39uRsIHw76DmEp4mP5Jtrmug== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SJJwB1vKQzjNv; Sun, 29 Oct 2023 14:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39TEeAhW000629; Sun, 29 Oct 2023 14:40:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39TEeAm0000623; Sun, 29 Oct 2023 14:40:10 GMT (envelope-from git) Date: Sun, 29 Oct 2023 14:40:10 GMT Message-Id: <202310291440.39TEeAm0000623@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 5f7e3b0145f8 - main - devel/py-pytest-xdist: Update to 3.3.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5f7e3b0145f8104e480f5f99fd61dd61c49039bd Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f7e3b0145f8104e480f5f99fd61dd61c49039bd commit 5f7e3b0145f8104e480f5f99fd61dd61c49039bd Author: Kai Knoblich AuthorDate: 2023-10-29 14:34:52 +0000 Commit: Kai Knoblich CommitDate: 2023-10-29 14:34:52 +0000 devel/py-pytest-xdist: Update to 3.3.1 * Introduce default PSUTIL and SETPROCTITLE options to reflect the settings as noted in "pyproject.toml". * Switch to the PEP517 build framework. * Update test suite and use USE_PYTHON=pytest to simplify the Makefile. * Errors like this one [1] should be remedied with this update: [...] INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/xdist/scheduler/each.py", line 1, in INTERNALERROR> from py.log import Producer INTERNALERROR> ModuleNotFoundError: No module named 'py.log'; 'py' is not a package [...] This is because devel/py-py was removed from devel/py-pytest's RUN_DEPENDS in 47177a522b37 as it's no longer a dependency since py-pytest 7.2.0. Changelog since 2.5.0: https://github.com/pytest-dev/pytest-xdist/blob/v3.3.1/CHANGELOG.rst PR: 274789 Reported by: QA run of textproc/py-ocrmypdf's test suite [1] Approved by: bofh (maintainer) --- devel/py-pytest-xdist/Makefile | 21 ++++++++++++++------- devel/py-pytest-xdist/distinfo | 6 +++--- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/devel/py-pytest-xdist/Makefile b/devel/py-pytest-xdist/Makefile index c50f3ea18ba1..429f0f98327f 100644 --- a/devel/py-pytest-xdist/Makefile +++ b/devel/py-pytest-xdist/Makefile @@ -1,5 +1,5 @@ PORTNAME= pytest-xdist -PORTVERSION= 2.5.0 +PORTVERSION= 3.3.1 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= PYPI @@ -12,20 +12,27 @@ WWW= https://github.com/pytest-dev/pytest-xdist LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2.3:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}execnet>=1.1:sysutils/py-execnet@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-forked>=0:devel/py-pytest-forked@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.0:devel/py-pytest@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}filelock>=0:sysutils/py-filelock@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 pytest -TEST_ENV= PYTHONPATH=${WRKSRC}/src +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes -do-test: - @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=) +OPTIONS_DEFINE= PSUTIL SETPROCTITLE +OPTIONS_DEFAULT= PSUTIL SETPROCTITLE + +PSUTIL_DESC= Detect number of available CPUs +SETPROCTITLE_DESC= Indicate state of current running workers + +PSUTIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=3.0:sysutils/py-psutil@${PY_FLAVOR} +SETPROCTITLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} .include diff --git a/devel/py-pytest-xdist/distinfo b/devel/py-pytest-xdist/distinfo index 8dd790669503..6d6865ab262d 100644 --- a/devel/py-pytest-xdist/distinfo +++ b/devel/py-pytest-xdist/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647069706 -SHA256 (pytest-xdist-2.5.0.tar.gz) = 4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf -SIZE (pytest-xdist-2.5.0.tar.gz) = 72455 +TIMESTAMP = 1698519402 +SHA256 (pytest-xdist-3.3.1.tar.gz) = d5ee0520eb1b7bcca50a60a518ab7a7707992812c578198f8b44fdfac78e8c93 +SIZE (pytest-xdist-3.3.1.tar.gz) = 77751