9ab54edc60Accepting request 1179196 from devel:languages:python:pytest
factory
Ana Guerrero
2024-06-09 18:18:57 +0000
c8f027425eAccepting request 1178984 from home:mcalabkova:branches:devel:languages:python:pytestMatej Cepl2024-06-07 11:57:26 +0000
a07f99eddaAccepting request 1129240 from devel:languages:python:pytest
Ana Guerrero
2023-12-07 18:08:48 +0000
9e5629ac71- 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.10Dirk Mueller2023-11-27 20:06:45 +0000
836c649479Accepting request 1127364 from devel:languages:python:pytest
Ana Guerrero
2023-11-19 19:14:12 +0000
10b85da7e0Accepting request 1127360 from home:benoit_monin:branches:devel:languages:python:pytestMatej Cepl2023-11-17 20:19:01 +0000
93e4cd0f43Accepting request 1088464 from devel:languages:python:pytest
Dominique Leuenberger
2023-05-24 18:21:37 +0000
c42dabf836- 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`Dirk Mueller2023-05-22 21:16:28 +0000
4245335d1cAccepting request 1087079 from devel:languages:python:pytest
Dominique Leuenberger
2023-05-19 09:55:15 +0000
b9124c8d28- update to 3.3.0: * Improved progress output when collecting nodes to be less verbose.Dirk Mueller2023-05-14 09:41:33 +0000
079252b8fdAccepting request 1082425 from devel:languages:python:pytest
Dominique Leuenberger
2023-04-25 14:53:24 +0000
8b0d42de06Accepting request 1082422 from home:dirkmueller:acdc:as_python3_moduleDirk Mueller2023-04-24 09:13:34 +0000
d655ea1caeAccepting request 1074586 from devel:languages:python:pytest
Dominique Leuenberger
2023-03-29 21:26:20 +0000
58d61ae51a- 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.Dirk Mueller2023-03-27 07:30:01 +0000
a106c069c0Accepting request 1039058 from devel:languages:python:pytest
Dominique Leuenberger
2023-01-06 16:04:27 +0000
d3708f49fe- 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.Daniel Garcia2022-11-30 08:08:07 +0000
4c64a2470bAccepting request 946881 from devel:languages:python:pytest
Dominique Leuenberger
2022-01-23 15:25:38 +0000
c9d5ba2911Accepting request 946700 from home:buschmann23:branches:devel:languages:python:pytestMatej Cepl2022-01-17 06:28:23 +0000
92e1bd5e19Accepting request 868934 from devel:languages:python:pytest
Dominique Leuenberger
2021-02-04 19:23:28 +0000
d2c09f045aAccepting request 868579 from home:dirkmueller:branches:devel:languages:python:pytest
Markéta Machová
2021-02-03 12:31:13 +0000
9517055d3cAccepting request 841526 from devel:languages:python:pytest
Dominique Leuenberger
2020-10-29 08:47:54 +0000
6173e00735Accepting request 841525 from home:mcalabkova:branches:devel:languages:python:pytest
Markéta Machová
2020-10-13 11:51:55 +0000
0e180a5683Accepting request 830843 from devel:languages:python:pytest
Dominique Leuenberger
2020-09-04 09:03:09 +0000
e064f81a24Accepting request 830842 from home:mcalabkova:branches:devel:languages:python:pytest
Markéta Machová
2020-08-31 14:15:07 +0000
d98e85796aAccepting request 829113 from home:mcalabkova:branches:devel:languages:python:pytest
Tomáš Chvátal
2020-08-25 08:26:18 +0000
bab70ab986Accepting request 805107 from devel:languages:python:pytest
Yuchen Lin
2020-05-28 07:05:34 +0000
32aee40166- Do not do symlinks
Tomáš Chvátal
2020-05-13 09:10:14 +0000
52e23d06f8Accepting request 799798 from devel:languages:python:pytest
Dominique Leuenberger
2020-05-04 16:32:35 +0000
92ec50bad6- 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.
Tomáš Chvátal
2020-05-03 07:42:37 +0000
f03ae7ab51Accepting request 761139 from devel:languages:python:pytest
Dominique Leuenberger
2020-01-16 17:13:28 +0000
2d34346015- 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.
Tomáš Chvátal
2020-01-06 12:54:09 +0000
06dc884741Accepting request 735843 from devel:languages:python:pytest
Dominique Leuenberger
2019-12-02 10:26:51 +0000
cba1a4d054- 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
Tomáš Chvátal
2019-10-07 13:04:11 +0000
e85713d42cAccepting request 714231 from devel:languages:python:pytest
Dominique Leuenberger
2019-07-30 11:00:29 +0000
4620e8d6c3- Update to 1.29.0: * #226: --max-worker-restart now assumes a more reasonable value (4 times the number of nodes) when not given explicitly. This prevents test suites from running forever when the suite crashes during collection. * #435: When the test session is interrupted due to running out of workers, the reason is shown in the test summary for easier viewing. * #442: Compatibility fix for upcoming pytest 5.0: session.exitstatus is now an IntEnum object. * #435: No longer show an internal error when we run out of workers due to crashes.
Tomáš Chvátal
2019-07-02 12:28:43 +0000
7337563ee4- Update to 1.28.0: * #426: pytest-xdist now uses the new pytest_report_to_serializable and pytest_report_from_serializable hooks from pytest 4.4
Tomáš Chvátal
2019-06-03 08:52:18 +0000
b07700efccAccepting request 687180 from devel:languages:python:pytest
Dominique Leuenberger
2019-03-26 14:35:30 +0000
1c9dba3e49- 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.
Tomáš Chvátal
2019-03-21 10:11:39 +0000
a377be4548Accepting request 674153 from devel:languages:python:pytest
Stephan Kulow
2019-02-24 16:04:27 +0000
583c521d1d- 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.
Tomáš Chvátal
2019-02-12 15:28:48 +0000
c8edb6b8cdAccepting request 644851 from devel:languages:python:pytest
Dominique Leuenberger
2018-11-08 08:39:21 +0000
86f4a2cf21Accepting request 594621 from devel:languages:python
Yuchen Lin
2018-04-11 11:57:08 +0000
2372b82d96Accepting request 579827 from devel:languages:python
Dominique Leuenberger
2018-02-25 10:47:16 +0000
331e124911Accepting request 563777 from devel:languages:python
Dominique Leuenberger
2018-01-13 20:48:26 +0000
baef68cfcaAccepting request 561517 from devel:languages:python
Dominique Leuenberger
2018-01-05 00:02:48 +0000
6f6e326d5fAccepting request 542009 from devel:languages:python
Dominique Leuenberger
2017-11-17 09:54:54 +0000
5382a1ffc6Accepting request 489999 from devel:languages:python
Dominique Leuenberger
2017-05-06 16:27:21 +0000