Revisions of python-pytest-xdist
Ana Guerrero (anag+factory)
accepted
request 1129240
from
Dirk Mueller (dirkmueller)
(revision 25)
- 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
Dominique Leuenberger (dimstar_suse)
accepted
request 1088464
from
Dirk Mueller (dirkmueller)
(revision 23)
- 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``
Dominique Leuenberger (dimstar_suse)
accepted
request 1087079
from
Dirk Mueller (dirkmueller)
(revision 22)
- update to 3.3.0: * Improved progress output when collecting nodes to be less verbose.
Dominique Leuenberger (dimstar_suse)
accepted
request 1082425
from
Dirk Mueller (dirkmueller)
(revision 21)
Dominique Leuenberger (dimstar_suse)
accepted
request 1074586
from
Dirk Mueller (dirkmueller)
(revision 20)
- 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.
Dominique Leuenberger (dimstar_suse)
accepted
request 1039058
from
Daniel Garcia (dgarcia)
(revision 19)
- 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. * For example: if some tests use some "heavy" fixture, and these tests fit into the initial batch, with round-robin distribution the fixture will be created min(n_tests, n_workers) times, no matter how many other tests there are. * With the old algorithm (before v1.14), if there are enough tests not using the fixture, the fixture was created only once. * So restore the old behavior for typical cases where the number of tests is much greater than the number of workers (or, strictly speaking, when there are at least 2 tests for every node). # Removals * #468: The --boxed command-line option has been removed. If you still need this functionality, install pytest-forked separately. # Trivial Changes * #468: The py dependency has been dropped. * #822: Replace internal usage of py.log with a custom solution (but with the same interface). * #823: Remove usage of py._pydir as an rsync candidate. * #824: Replace internal usages of py.path.local by pathlib.Path.
Dominique Leuenberger (dimstar_suse)
accepted
request 868934
from
Markéta Machová (mcalabkova)
(revision 17)
Dominique Leuenberger (dimstar_suse)
accepted
request 841526
from
Markéta Machová (mcalabkova)
(revision 16)
Dominique Leuenberger (dimstar_suse)
accepted
request 830843
from
Markéta Machová (mcalabkova)
(revision 15)
Yuchen Lin (maxlin_factory)
accepted
request 805107
from
Tomáš Chvátal (scarabeus_iv)
(revision 14)
- Do not do symlinks
Dominique Leuenberger (dimstar_suse)
accepted
request 799798
from
Tomáš Chvátal (scarabeus_iv)
(revision 13)
- 1.32.0: * #524: Add testrun_uid fixture. This is a shared value that uniquely identifies a test run among all workers. This also adds a PYTEST_XDIST_TESTRUNUID environment variable that is accessible within a test as well as a command line option --testrunuid to manually set the value from outside.
Dominique Leuenberger (dimstar_suse)
accepted
request 761139
from
Tomáš Chvátal (scarabeus_iv)
(revision 12)
- Update to 1.31.0: * #486: Add support for Python 3.8. * #491: Fix regression that caused custom plugin command-line arguments to be discarded when using --tx mode.
Dominique Leuenberger (dimstar_suse)
accepted
request 735843
from
Tomáš Chvátal (scarabeus_iv)
(revision 11)
- Update to 1.30.0: * Fix crash issues related to running xdist with the terminal plugin disabled * Initialization between workers and master nodes is now more consistent
Dominique Leuenberger (dimstar_suse)
accepted
request 714231
from
Factory Maintainer (factory-maintainer)
(revision 10)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 687180
from
Tomáš Chvátal (scarabeus_iv)
(revision 9)
- Update to 1.27.0: * #374: The new ``pytest_xdist_getremotemodule`` hook allows overriding the module run on remote nodes. * #415: Improve behavior of ``--numprocesses=auto`` to work well with ``--pdb`` option.
Stephan Kulow (coolo)
accepted
request 674153
from
Tomáš Chvátal (scarabeus_iv)
(revision 8)
- Update to 1.26.1: * #406: Do not implement deprecated pytest_logwarning hook in pytest versions where it is deprecated. * #376: The current directory is no longer added sys.path for local workers, only for remote connections. * #379: Warning attributes are checked to make sure they can be dumped prior to serializing the warning for submission to the master node. * #372: Pytest versions older than 3.6 are no longer supported. * #373: Node setup information is hidden when pytest is run in quiet mode to reduce noise on many-core machines. * #388: mainargv is made available in workerinput from the host's sys.argv. * #384: pytest 4.1 support: ExceptionInfo API changes. * #390: pytest 4.1 support: pytest_logwarning hook removed.
Dominique Leuenberger (dimstar_suse)
accepted
request 644851
from
Ondřej Súkup (mimi_vx)
(revision 7)
- update to version 1.23.2 - add python-six to runtime deps * Fix issue where Warnings could cause pytest to fail if they do not set the args attribute correctly. * Fix warnings transfer between workers and master node with pytest >= 3.8 * Improve collection performance by reducing the number of events sent to master node (forwarded request 644850 from mimi_vx)
Displaying revisions 1 - 20 of 25