Accepting request 1129240 from devel:languages:python:pytest

- 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

OBS-URL: https://build.opensuse.org/request/show/1129240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-xdist?expand=0&rev=25
This commit is contained in:
2023-12-07 18:08:48 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a94a931dd9e268e0b871a877d09fe2efb6175c2c23d60d56a6001359002b832
size 78703

BIN
pytest-xdist-3.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Nov 27 20:03:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Thu Nov 16 21:15:05 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -16,10 +16,9 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pytest-xdist
Version: 3.4.0
Version: 3.5.0
Release: 0
Summary: Distributed testing and loop-on-failing for py.test
License: MIT