Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test-randomly py-test-randomly: updated to 3.3.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b5d9071dee4
branches: trunk
changeset: 431801:6b5d9071dee4
user: adam <adam%pkgsrc.org@localhost>
date: Sat May 16 16:42:52 2020 +0000
description:
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.
diffstat:
devel/py-test-randomly/Makefile | 13 ++++++++++---
devel/py-test-randomly/distinfo | 10 +++++-----
2 files changed, 15 insertions(+), 8 deletions(-)
diffs (48 lines):
diff -r 95af1ba1a8ba -r 6b5d9071dee4 devel/py-test-randomly/Makefile
--- a/devel/py-test-randomly/Makefile Sat May 16 16:30:15 2020 +0000
+++ b/devel/py-test-randomly/Makefile Sat May 16 16:42:52 2020 +0000
@@ -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 @@
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"
diff -r 95af1ba1a8ba -r 6b5d9071dee4 devel/py-test-randomly/distinfo
--- a/devel/py-test-randomly/distinfo Sat May 16 16:30:15 2020 +0000
+++ b/devel/py-test-randomly/distinfo Sat May 16 16:42:52 2020 +0000
@@ -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