Subject: CVS commit: pkgsrc/devel/py-test-xdist
From: Adam Ciarcinski
Date: 2024-04-30 08:35:07
Message id: 20240430063507.74FBAFA2C@cvs.NetBSD.org

Log Message:
py-test-xdist: updated to 3.6.1

pytest-xdist 3.6.1 (2024-04-28)
===============================

Bug Fixes
---------

- Add backward compatibility for deadlock issue with the ``execnet`` new \ 
``main_thread_only`` "execmodel" triggered when pytest-cov accesses \ 
rinfo.

pytest-xdist 3.6.0 (2024-04-19)
===============================

This release was YANKED due to a regression fixed in 3.6.1.

Features
--------

- ``pytest-xdist`` workers now always execute the tests in the main thread.
  Previously some tests might end up executing in a separate thread other than \ 
``main`` in the workers, due to some internal `execnet`` details. This can cause \ 
problems specially with async frameworks where the event loop is running in the \ 
``main`` thread.

Bug Fixes
---------

- Added proper handling of ``shouldstop`` (such as set by ``--max-fail``) and \ 
``shouldfail`` conditions in workers.
  Previously, a worker might have continued executing further tests before the \ 
controller could terminate the session.

- Fixed compatibility issue between `looponfail` and editable installs.

- Use the new ``main_thread_only`` ``execnet`` "execmodel" so that \ 
code which expects to only run in the main thread will now work as expected.

- Fixed a bug where plugin would raise an incompatibility error with ``--pdb`` \ 
despite using ``-n0``.

Removals
--------

- Dropped support for Python 3.7.

- pytest>=7.0.0 is now required.

  execnet>=2.1.0 is now required.

Trivial Changes
---------------

- pytest-xdist's ``setup.py`` file is removed.

  If you relied on this file, e.g. to install pytest using ``setup.py install``,
  please see `Why you shouldn't invoke setup.py directly \ 
<https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`_ \ 
for alternatives.

- The internals of pytest-xdist are now fully typed. The typing is not exposed yet.

- Adjusted license file format and content to ensure security scanners will \ 
identity the license.

Files:
RevisionActionfile
1.41modifypkgsrc/devel/py-test-xdist/Makefile
1.10modifypkgsrc/devel/py-test-xdist/PLIST
1.40modifypkgsrc/devel/py-test-xdist/distinfo