pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test-xdist py-test-xdist: update to 2.5.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5ef6e4a8113
branches: trunk
changeset: 383899:f5ef6e4a8113
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Aug 24 10:03:24 2022 +0000
description:
py-test-xdist: update to 2.5.0.
pytest-xdist 2.5.0 (2021-12-10)
===============================
Features
--------
- `#722 `_: Full compatibility with pytest 7 - no deprecation warnings or use of legacy features.
- `#733 `_: New ``--dist=loadgroup`` option, which ensures all tests marked with ``@pytest.mark.xdist_group`` run in the same session/worker. Other tests run distributed as in ``--dist=load``.
Trivial Changes
---------------
- `#708 `_: Use ``@pytest.hookspec`` decorator to declare hook options in ``newhooks.py`` to avoid warnings in ``pytest 7.0``.
- `#719 `_: Use up-to-date ``setup.cfg``/``pyproject.toml`` packaging setup.
- `#720 `_: Require pytest>=6.2.0.
- `#721 `_: Started using type annotations and mypy checking internally. The types are incomplete and not published.
pytest-xdist 2.4.0 (2021-09-20)
===============================
Features
--------
- `#696 `_: On Linux, the process title now changes to indicate the current worker state (running/idle).
Depends on the `setproctitle `__ package, which can be installed with ``pip install pytest-xdist[setproctitle]``.
- `#704 `_: Add support for Python 3.10.
pytest-xdist 2.3.0 (2021-06-16)
===============================
Deprecations and Removals
-------------------------
- `#654 `_: Python 3.5 is no longer supported.
Features
--------
- `#646 `_: Add ``--numprocesses=logical`` flag, which automatically uses the number of logical CPUs available, instead of physical CPUs with ``auto``.
This is very useful for test suites which are not CPU-bound.
- `#650 `_: Added new ``pytest_handlecrashitem`` hook to allow handling and rescheduling crashed items.
Bug Fixes
---------
- `#421 `_: Copy the parent process sys.path into local workers, to work around execnet's python -c adding the current directory to sys.path.
- `#638 `_: Fix issue caused by changing the branch name of the pytest repository.
Trivial Changes
---------------
- `#592 `_: Replace master with controller where ever possible.
- `#643 `_: Use 'main' to refer to pytest default branch in tox env names.
pytest-xdist 2.2.1 (2021-02-09)
===============================
Bug Fixes
---------
- `#623 `_: Gracefully handle the pending deprecation of Node.fspath by using config.rootpath for topdir.
pytest-xdist 2.2.0 (2020-12-14)
===============================
Features
--------
- `#608 `_: Internal errors in workers are now propagated to the master node.
pytest-xdist 2.1.0 (2020-08-25)
===============================
Features
--------
- `#585 `_: New ``pytest_xdist_auto_num_workers`` hook can be implemented by plugins or ``conftest.py`` files to control the number of workers when ``--numprocesses=auto`` is given in the
command-line.
Trivial Changes
---------------
- `#585 `_: ``psutil`` has proven to make ``pytest-xdist`` installation in certain platforms and containers problematic, so to use it for automatic number of CPUs detection users need to install the
``psutil`` extra::
pip install pytest-xdist[psutil]
pytest-xdist 2.0.0 (2020-08-12)
===============================
Deprecations and Removals
-------------------------
- `#541 `_: Drop backward-compatibility "slave" aliases related to worker nodes. We deliberately moved away from this terminology years ago, and it seems like the right time to finish the
deprecation and removal process.
- `#569 `_: ``pytest-xdist`` no longer supports Python 2.7.
Features
--------
- `#504 `_: New functions ``xdist.is_xdist_worker``, ``xdist.is_xdist_master``, ``xdist.get_xdist_worker_id``, to easily identify the current node.
Bug Fixes
---------
- `#471 `_: Fix issue with Rsync reporting in quiet mode.
- `#553 `_: When using ``-n auto``, count the number of physical CPU cores instead of logical ones.
Trivial Changes
---------------
- `#541 `_: ``pytest-xdist`` now requires ``pytest>=6.0``.
diffstat:
devel/py-test-xdist/Makefile | 18 ++++++++++--------
devel/py-test-xdist/PLIST | 5 ++++-
devel/py-test-xdist/distinfo | 8 ++++----
3 files changed, 18 insertions(+), 13 deletions(-)
diffs (73 lines):
diff -r 47d1d55fdd40 -r f5ef6e4a8113 devel/py-test-xdist/Makefile
--- a/devel/py-test-xdist/Makefile Wed Aug 24 09:53:33 2022 +0000
+++ b/devel/py-test-xdist/Makefile Wed Aug 24 10:03:24 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2022/01/13 19:31:22 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2022/08/24 10:03:24 wiz Exp $
-DISTNAME= pytest-xdist-1.34.0
+DISTNAME= pytest-xdist-2.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-xdist/}
@@ -11,18 +10,21 @@
COMMENT= Plugin for distributed testing and loop-on-failing modes
LICENSE= mit
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-execnet>=1.1:../../devel/py-execnet
-DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+= ${PYPKGPREFIX}-test-forked-[0-9]*:../../devel/py-test-forked
+DEPENDS+= ${PYPKGPREFIX}-test>=6.2:../../devel/py-test
+DEPENDS+= ${PYPKGPREFIX}-test-forked>=0:../../devel/py-test-forked
TEST_DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock
-PYTHON_VERSIONED_DEPENDENCIES= test setuptools_scm:build
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
+# needs to be installed for testing, this setting is not enough
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
- cd ${WRKSRC} && pytest-${PYVERSSUFFIX} testing
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} testing
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 47d1d55fdd40 -r f5ef6e4a8113 devel/py-test-xdist/PLIST
--- a/devel/py-test-xdist/PLIST Wed Aug 24 09:53:33 2022 +0000
+++ b/devel/py-test-xdist/PLIST Wed Aug 24 10:03:24 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/11/11 21:57:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/08/24 10:03:24 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -42,6 +42,9 @@
${PYSITELIB}/xdist/scheduler/loadfile.py
${PYSITELIB}/xdist/scheduler/loadfile.pyc
${PYSITELIB}/xdist/scheduler/loadfile.pyo
+${PYSITELIB}/xdist/scheduler/loadgroup.py
+${PYSITELIB}/xdist/scheduler/loadgroup.pyc
+${PYSITELIB}/xdist/scheduler/loadgroup.pyo
${PYSITELIB}/xdist/scheduler/loadscope.py
${PYSITELIB}/xdist/scheduler/loadscope.pyc
${PYSITELIB}/xdist/scheduler/loadscope.pyo
diff -r 47d1d55fdd40 -r f5ef6e4a8113 devel/py-test-xdist/distinfo
--- a/devel/py-test-xdist/distinfo Wed Aug 24 09:53:33 2022 +0000
+++ b/devel/py-test-xdist/distinfo Wed Aug 24 10:03:24 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2022/01/14 11:49:42 wiz Exp $
+$NetBSD: distinfo,v 1.32 2022/08/24 10:03:24 wiz Exp $
-BLAKE2s (pytest-xdist-1.34.0.tar.gz) = 22f700e9f149b9811ffbb737a7c2c3b620ee665a84a6eeca2d65e286df17859c
-SHA512 (pytest-xdist-1.34.0.tar.gz) = 69e9877ee0268d71d7c0ca202ccc46b3ba1a9271f0e6e4ac4b76602833f9b7012364eb6924ae994e76c1d48d63adf1702d4c5e6ed5b75c52ac7ebae958210e24
-Size (pytest-xdist-1.34.0.tar.gz) = 66151 bytes
+BLAKE2s (pytest-xdist-2.5.0.tar.gz) = c2b9a0c594349eb7c61a7b844bd2580c4209ab822b3796adb100aa8bd841c2fa
+SHA512 (pytest-xdist-2.5.0.tar.gz) = 22da4db7cdd6173fb8377b6adc30b5617ccb0bb308cb5d30980484dd7ddff87cf2a485ae8522c7957d8954dd2f8a5542b9f63b0fa7184cc44e50dbafc3f4e909
+Size (pytest-xdist-2.5.0.tar.gz) = 72455 bytes
Home |
Main Index |
Thread Index |
Old Index