Revisions of python-pytest-xdist
buildservice-autocommit
accepted
request 1129240
from
Dirk Mueller (dirkmueller)
(revision 40)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 39)
- update to 3.5.0: * ``--dist=loadscope`` now sorts scopes by number of tests to assign largest scopes early -- in many cases this should improve overall test session running time, as there is less chance of a large scope being left to be processed near the end of the session, leaving other workers idle. not ensure remote affinity with the main thread and might * Internal errors in workers are now propagated to the master node. * New ``pytest_xdist_auto_num_workers`` hook can be implemented by plugins or ``conftest.py`` files to control the number of workers when * ``psutil`` has proven to make ``pytest-xdist`` installation in certain platforms and containers problematic, so to use it for automatic number * 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 * New functions ``xdist.is_xdist_worker``, ``xdist.is_xdist_master``, ``xdist.get_xdist_worker_id``, pytest_report_from_serializable hooks from pytest 4.4 - new ``worker_id`` fixture, returns the id of the worker in a test or - Update to 1.10
buildservice-autocommit
accepted
request 1127364
from
Matej Cepl (mcepl)
(revision 38)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1127360
from
Benoît Monin (benoit_monin)
(revision 37)
update to 3.4.0
buildservice-autocommit
accepted
request 1088464
from
Dirk Mueller (dirkmueller)
(revision 36)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 35)
- update to 3.3.1: * Avoid remote calls during startup as execnet by default does not ensure remote affinity with the main thread and might accidentally schedule the pytest worker into a non-main thread, which breaks numerous frameworks, for example ``asyncio``, ``anyio``, ``PyQt/PySide``, etc. A more safe correction will require thread affinity in ``execnet``
buildservice-autocommit
accepted
request 1087079
from
Dirk Mueller (dirkmueller)
(revision 34)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 33)
- update to 3.3.0: * Improved progress output when collecting nodes to be less verbose.
buildservice-autocommit
accepted
request 1082425
from
Dirk Mueller (dirkmueller)
(revision 32)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1082422
from
Dirk Mueller (dirkmueller)
(revision 31)
SR for python stack proposal
buildservice-autocommit
accepted
request 1074586
from
Dirk Mueller (dirkmueller)
(revision 30)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 29)
- update to 3.2.1: * Fixed hang in ``worksteal`` scheduler. * Improved Documentation * Document limitations for debugging due to standard I/O of workers not being forwarded. Also, mention remote debugging as a possible workaround. Features: * Users can now configure ``load`` scheduling precision using ``--maxschedchunk`` command line option. * New ``worksteal`` scheduler, based on the idea of `work stealing It's similar to ``load`` scheduler, but it should handle tests with significantly differing duration better, and, at the same time, it should provide similar or better reuse of fixtures.
buildservice-autocommit
accepted
request 1039058
from
Daniel Garcia (dgarcia)
(revision 28)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 27)
- Remove python_module macro definition - Use autosetup instead of setup + autopatch - Remove reintroduce-slave-terminology.patch - Remove 0001-Revert-Remove-compat-for-pytest-6.patch - Update to 3.0.2: # Bug Fixes * #813: Cancel shutdown when a crashed worker is restarted. # Deprecations * #825: The --rsyncdir command line argument and rsyncdirs config variable are deprecated. * The rsync feature will be removed in pytest-xdist 4.0. * #826: The --looponfail command line argument and looponfailroots config variable are deprecated. * The loop-on-fail feature will be removed in pytest-xdist 4.0. # Improved Documentation * #791: Document the pytest_xdist_auto_num_workers hook. * #796: Added known limitations section to documentation. * #829: Document the -n logical option. # Features * #792: The environment variable PYTEST_XDIST_AUTO_NUM_WORKERS can now be used to specify the default for -n auto and -n logical. * #812: Partially restore old initial batch distribution algorithm in LoadScheduling. * pytest orders tests for optimal sequential execution - i. e. avoiding unnecessary setup and teardown of fixtures. So executing tests in consecutive chunks is important for optimal performance. * In v1.14, initial test distribution in LoadScheduling was changed to round-robin, optimized for the corner case, when the number of tests is less than 2 * number of nodes. At the same time, it became worse for all other cases.
Matej Cepl (mcepl)
accepted
request 946700
from
Matthias Fehring (buschmann23)
(revision 26)
- Update to 2.5.0 * Features + Full compatibility with pytest 7 - no deprecation warnings or use of legacy features. + 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 + Use @pytest.hookspec decorator to declare hook options in newhooks.py to avoid warnings in pytest 7.0. + Use up-to-date setup.cfg/pyproject.toml packaging setup. + Started using type annotations and mypy checking internally. The types are incomplete and not published. - Changes from 2.4.0 * Features + 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]. + Add support for Python 3.10. - Changes from 2.3.0 * Deprecations and Removals + Python 3.5 is no longer supported. * Features + 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. + Added new pytest_handlecrashitem hook to allow handling and rescheduling crashed items. * Bug Fixes + Copy the parent process sys.path into local workers, to work around execnet's python -c adding the current directory to sys.path. + Fix issue caused by changing the branch name of the pytest repository. * Trivial Changes + Replace master with controller where ever possible. + Use 'main' to refer to pytest default branch in tox env names. - Update patches * reintroduce-slave-terminology.patch * 0001-Revert-Remove-compat-for-pytest-6.patch - Require setuptools_scm >= 6.0 for building
buildservice-autocommit
accepted
request 868934
from
Markéta Machová (mcalabkova)
(revision 25)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 868579
from
Dirk Mueller (dirkmueller)
(revision 24)
- update to 2.2.0: * Internal errors in workers are now propagated to the master node.
buildservice-autocommit
accepted
request 841526
from
Markéta Machová (mcalabkova)
(revision 23)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 841525
from
Markéta Machová (mcalabkova)
(revision 22)
- Skip test failing with the new pytest
buildservice-autocommit
accepted
request 830843
from
Markéta Machová (mcalabkova)
(revision 21)
baserev update by copy to link target
Displaying revisions 1 - 20 of 40