pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-test-xdist



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr 30 06:35:07 UTC 2024

Modified Files:
        pkgsrc/devel/py-test-xdist: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/py-test-xdist/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-test-xdist/PLIST
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/py-test-xdist/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test-xdist/Makefile
diff -u pkgsrc/devel/py-test-xdist/Makefile:1.40 pkgsrc/devel/py-test-xdist/Makefile:1.41
--- pkgsrc/devel/py-test-xdist/Makefile:1.40    Tue Nov 21 20:37:43 2023
+++ pkgsrc/devel/py-test-xdist/Makefile Tue Apr 30 06:35:07 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2023/11/21 20:37:43 adam Exp $
+# $NetBSD: Makefile,v 1.41 2024/04/30 06:35:07 adam Exp $
 
-DISTNAME=      pytest-xdist-3.5.0
+DISTNAME=      pytest_xdist-3.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-xdist/}
@@ -10,10 +10,11 @@ HOMEPAGE=   https://github.com/pytest-dev/
 COMMENT=       Plugin for distributed testing and loop-on-failing modes
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.2:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2.3:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+=      ${PYPKGPREFIX}-execnet>=1.1:../../devel/py-execnet
-DEPENDS+=      ${PYPKGPREFIX}-test>=6.2.0:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-execnet>=2.1:../../devel/py-execnet
+DEPENDS+=      ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock
 
 USE_LANGUAGES= # none

Index: pkgsrc/devel/py-test-xdist/PLIST
diff -u pkgsrc/devel/py-test-xdist/PLIST:1.9 pkgsrc/devel/py-test-xdist/PLIST:1.10
--- pkgsrc/devel/py-test-xdist/PLIST:1.9        Sat Oct 28 19:57:07 2023
+++ pkgsrc/devel/py-test-xdist/PLIST    Tue Apr 30 06:35:07 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2023/10/28 19:57:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2024/04/30 06:35:07 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -50,6 +50,9 @@ ${PYSITELIB}/xdist/scheduler/loadgroup.p
 ${PYSITELIB}/xdist/scheduler/loadscope.py
 ${PYSITELIB}/xdist/scheduler/loadscope.pyc
 ${PYSITELIB}/xdist/scheduler/loadscope.pyo
+${PYSITELIB}/xdist/scheduler/protocol.py
+${PYSITELIB}/xdist/scheduler/protocol.pyc
+${PYSITELIB}/xdist/scheduler/protocol.pyo
 ${PYSITELIB}/xdist/scheduler/worksteal.py
 ${PYSITELIB}/xdist/scheduler/worksteal.pyc
 ${PYSITELIB}/xdist/scheduler/worksteal.pyo

Index: pkgsrc/devel/py-test-xdist/distinfo
diff -u pkgsrc/devel/py-test-xdist/distinfo:1.39 pkgsrc/devel/py-test-xdist/distinfo:1.40
--- pkgsrc/devel/py-test-xdist/distinfo:1.39    Tue Nov 21 20:37:43 2023
+++ pkgsrc/devel/py-test-xdist/distinfo Tue Apr 30 06:35:07 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2023/11/21 20:37:43 adam Exp $
+$NetBSD: distinfo,v 1.40 2024/04/30 06:35:07 adam Exp $
 
-BLAKE2s (pytest-xdist-3.5.0.tar.gz) = ed2da7f090554b4663c95cb3d5919935a4ad5ef89ba7789afbfe3e1772d4d25e
-SHA512 (pytest-xdist-3.5.0.tar.gz) = 1b6a896c6c69c110d1f3aa634740ffced570bbb788b3474687fef20147a5480a8681886b04db0413f7db68db546236f9a7f37e1592a74d1145f6eb6d876216ca
-Size (pytest-xdist-3.5.0.tar.gz) = 78977 bytes
+BLAKE2s (pytest_xdist-3.6.1.tar.gz) = d59cb1f23dbb69f309edc4fa401208a0649e59687bd4202753492cc50f6e4c70
+SHA512 (pytest_xdist-3.6.1.tar.gz) = 583a78d0adc05d81458bbdd5832c239581c0fcd9cad9edfd16fa78009c005c15bffec7ed074d9e18f1542393f62d9ccb2c9e0a96d825e9cff1faec123545a2a3
+Size (pytest_xdist-3.6.1.tar.gz) = 84060 bytes



Home | Main Index | Thread Index | Old Index