Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (0m)  pkgsrc-2024Q1 (9d)  pkgsrc-2023Q4 (56d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (168d) 

2024-05-27 08:09:49 UTC Now

2022-08-24 10:03:24 UTC MAIN commitmail json YAML

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``.

(wiz)