pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 30 15:12:55 UTC 2022

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

Log Message:
py-test-xprocess: updated to 0.21.0

0.21.0 (2022-11-27)
-------------------

- Explicitly add `py` package as a dependency, fixing issue with `pytest` >= 7.2.0
- Process log files will not be overwritten for each new process anymore, making it
  easier to debug issues that occurred in the middle of failed test runs

0.20.0 (2022-08-29)
-------------------

- Cleanup reminders will now only be printed for verbosity
  levels equal or greater than 1

0.19.0 (2022-05-23)
-------------------

- drop support for python 3.5 and 3.6
- reorganize internals. ``pytest-xprocess`` is now a package and all resources
  used by running processes are kept as instances of :class:``XProcessResources``.

0.18.1 (2021-07-27)
-------------------

- Fix bug with previous release where internal module was missing

0.18.0 (2021-07-21)
-------------------

- :method:`ProcessInfo.terminate` will now terminate outer leaves in process
  tree first and work its way towards root process. For example, if a process
  has child and grandchild, xprocess will terminate first child and grandchild
  and only then will the root process receive a termination signal.

- :class:`ProcessStarter` now has attr:`terminate_on_interrupt`. This flag will
  make xprocess attempt to terminate and clean up all started process resources
  upon interruptions during pytest runs (`CTRL+C`, `SIGINT` and internal errors)
  when set to `True`. It will default to `False`, so if the described behaviour
  is desired the flag must be explicitly set `True`.

- Add a new `popen_kwargs` variable to `ProcessStarter`, this variable can
  be used for passing keyword values to the `subprocess.Popen` constructor,
  giving the user more control over how the process is initialized.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-test-xprocess/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-xprocess/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-test-xprocess/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-xprocess/Makefile
diff -u pkgsrc/devel/py-test-xprocess/Makefile:1.8 pkgsrc/devel/py-test-xprocess/Makefile:1.9
--- pkgsrc/devel/py-test-xprocess/Makefile:1.8  Tue Jan  4 20:53:43 2022
+++ pkgsrc/devel/py-test-xprocess/Makefile      Wed Nov 30 15:12:55 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:53:43 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/11/30 15:12:55 adam Exp $
 
-DISTNAME=      pytest-xprocess-0.17.1
+DISTNAME=      pytest-xprocess-0.21.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-xprocess/}
 
@@ -11,13 +10,17 @@ HOMEPAGE=   https://github.com/pytest-dev/
 COMMENT=       Pytest plugin to manage external processes across test runs
 LICENSE=       mit
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
+DEPENDS+=      ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py
 DEPENDS+=      ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-test-xprocess/PLIST
diff -u pkgsrc/devel/py-test-xprocess/PLIST:1.1 pkgsrc/devel/py-test-xprocess/PLIST:1.2
--- pkgsrc/devel/py-test-xprocess/PLIST:1.1     Mon Feb 25 08:47:03 2019
+++ pkgsrc/devel/py-test-xprocess/PLIST Wed Nov 30 15:12:55 2022
@@ -1,13 +1,16 @@
-@comment $NetBSD: PLIST,v 1.1 2019/02/25 08:47:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/30 15:12:55 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/pytest_xprocess.py
-${PYSITELIB}/pytest_xprocess.pyc
-${PYSITELIB}/pytest_xprocess.pyo
-${PYSITELIB}/xprocess.py
-${PYSITELIB}/xprocess.pyc
-${PYSITELIB}/xprocess.pyo
+${PYSITELIB}/xprocess/__init__.py
+${PYSITELIB}/xprocess/__init__.pyc
+${PYSITELIB}/xprocess/__init__.pyo
+${PYSITELIB}/xprocess/pytest_xprocess.py
+${PYSITELIB}/xprocess/pytest_xprocess.pyc
+${PYSITELIB}/xprocess/pytest_xprocess.pyo
+${PYSITELIB}/xprocess/xprocess.py
+${PYSITELIB}/xprocess/xprocess.pyc
+${PYSITELIB}/xprocess/xprocess.pyo

Index: pkgsrc/devel/py-test-xprocess/distinfo
diff -u pkgsrc/devel/py-test-xprocess/distinfo:1.6 pkgsrc/devel/py-test-xprocess/distinfo:1.7
--- pkgsrc/devel/py-test-xprocess/distinfo:1.6  Tue Oct 26 10:19:10 2021
+++ pkgsrc/devel/py-test-xprocess/distinfo      Wed Nov 30 15:12:55 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:19:10 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/11/30 15:12:55 adam Exp $
 
-BLAKE2s (pytest-xprocess-0.17.1.tar.gz) = 826236c1c4de989ef8a456a9f991eba6529c96e0dbb54c1b991c5b259ce7d3c2
-SHA512 (pytest-xprocess-0.17.1.tar.gz) = 68ee3c8e958f7121d72aca81c32edb7598eb99c3cf6c38fb9c8577ac4860e8241e1da16a44e825204977d6ffa4459fe2742b2ef3b906071a64cd0fcc14920be1
-Size (pytest-xprocess-0.17.1.tar.gz) = 19758 bytes
+BLAKE2s (pytest-xprocess-0.21.0.tar.gz) = 7d4e8490eb3463c71a667b61f337f8f9cb4ebff442bc1c58ba8e99610bd12818
+SHA512 (pytest-xprocess-0.21.0.tar.gz) = 72f8db45a11cffb65302379c1690ef5ad9d71a1aa40b7fd03e1231f7ad0c0413638f7d2155f5b366d2d623399512759d8ffdac8591eb24b77562f9b1f584ed74
+Size (pytest-xprocess-0.21.0.tar.gz) = 30601 bytes



Home | Main Index | Thread Index | Old Index