pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 16 16:42:52 UTC 2020

Modified Files:
        pkgsrc/devel/py-test-randomly: Makefile distinfo

Log Message:
py-test-randomly: updated to 3.3.1

3.3.1:
* Fix to work when pytest-xdist is not installed or active
  (``PluginValidationError: unknown hook 'pytest_configure_node'``).

3.3.0:
* Add `pytest-xdist <https://pypi.org/project/pytest-xdist/>`__ support.
  Previously it only worked reliably when setting ``--randomly-seed``
  explicitly. When not provided, the default seed generated in workers could
  differ and collection would fail. Now when it is not provided, all xdist
  worker processes shared the same default seed generated in the master
  process.

3.2.1:
* Update ``MANIFEST.in`` so tests are included in the sdist tarball again.

3.2.0:
* Converted setuptools metadata to configuration file. This meant removing the
  ``__version__`` attribute from the package. If you want to inspect the
  installed version, use
  ``importlib.metadata.version("pytest-randomly")``
  (`docs <https://docs.python.org/3.8/library/importlib.metadata.html#distribution-versions>`__ /
  `backport <https://pypi.org/project/importlib-metadata/>`__).
* Convert reading entrypoints to use ``importlib.metadata``. Depend on
  ``importlib-metadata`` on Python < 3.8.
* Update Python support to 3.5-3.8.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-test-randomly/Makefile \
    pkgsrc/devel/py-test-randomly/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-randomly/Makefile
diff -u pkgsrc/devel/py-test-randomly/Makefile:1.5 pkgsrc/devel/py-test-randomly/Makefile:1.6
--- pkgsrc/devel/py-test-randomly/Makefile:1.5  Fri Dec 13 11:20:31 2019
+++ pkgsrc/devel/py-test-randomly/Makefile      Sat May 16 16:42:52 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2019/12/13 11:20:31 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/16 16:42:52 adam Exp $
 
-DISTNAME=      pytest-randomly-3.1.0
+DISTNAME=      pytest-randomly-3.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-randomly/}
@@ -10,12 +10,19 @@ HOMEPAGE=   https://github.com/pytest-dev/
 COMMENT=       Pytest plugin to randomly order tests and control random.seed
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-entrypoints-[0-9]*:../../devel/py-entrypoints
 DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-randomly/distinfo
diff -u pkgsrc/devel/py-test-randomly/distinfo:1.5 pkgsrc/devel/py-test-randomly/distinfo:1.6
--- pkgsrc/devel/py-test-randomly/distinfo:1.5  Fri Dec 13 11:20:31 2019
+++ pkgsrc/devel/py-test-randomly/distinfo      Sat May 16 16:42:52 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2019/12/13 11:20:31 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/05/16 16:42:52 adam Exp $
 
-SHA1 (pytest-randomly-3.1.0.tar.gz) = 9fb390cc4d8507418247402ee9af6ef8830ee99f
-RMD160 (pytest-randomly-3.1.0.tar.gz) = 8abeb3b5680f07cebe5bcb9b4bdfca3b4b9d34da
-SHA512 (pytest-randomly-3.1.0.tar.gz) = a25d6f162dd9b102ffc82ea00b82928d3be269af6a9c7a3cde7dcecab31262cc9a78f188ed80a79116480944c58213ef12188f8dababcef4922c0da27c6e0bc5
-Size (pytest-randomly-3.1.0.tar.gz) = 10264 bytes
+SHA1 (pytest-randomly-3.3.1.tar.gz) = 643fd96bf800e84ceb1c3bb16bad0e189e2bf37e
+RMD160 (pytest-randomly-3.3.1.tar.gz) = 456da37f5fdccb3f856ad7ef26a281a3374de8a0
+SHA512 (pytest-randomly-3.3.1.tar.gz) = 107b42df282d04d48a30d27e08fd177bf1f5c2d83fb5f2374fe76699fcc347c74cb57f6507d208569eaf77820099404032fbc15cfe78f6c2da259dcfcea6ffc0
+Size (pytest-randomly-3.3.1.tar.gz) = 30980 bytes



Home | Main Index | Thread Index | Old Index