Thu Jul 5 10:57:20 2018 UTC ()
py-tox: updated to 3.0.0

3.0.0:
Bugfixes
Write directly to stdout buffer if possible to prevent str vs bytes issues
fix 672 reporting to json file when skip-missing-interpreters option is used
avoid Requested Python version (X.Y) not installed stderr output when a Python environment is looked up using the py Python launcher on Windows and the environment is not found installed on the system
Fixed an issue where invocation of tox from the Python package, where invocation errors (failed actions) occur results in a change in the sys.stdout stream encoding in Python 3.x. New behaviour is that sys.stdout is reset back to its original encoding after invocation errors
The reading of command output sometimes failed with IOError: [Errno 0] Error on Windows, this was fixed by using a simpler method to update the read buffers.
(only affected rc releases) fix up tox.cmdline to be callable without args
(only affected rc releases) Revert breaking change of tox.cmdline not callable with no args
(only affected rc releases) fix 755 by reverting the cmdline import to the old location and changing the entry point instead

Features
tox displays exit code together with InvocationError
Hint for possible signal upon InvocationError, on posix systems
Add a -q option to progressively silence tox窶冱 output. For each time you specify -q to tox, the output provided by tox reduces. This option allows you to see only your command output without the default verbosity of what tox is doing. This also counter-acts usage of -v. For example, running tox -v -q ... will provide you with the default verbosity. tox -vv -q is equivalent to tox -v. By @sigmavirus24
add support for negated factor conditions, e.g. !dev: production_log
Headings like installed: <packages> will not be printed if there is no output to display after the :, unless verbosity is set. By @cryvate
Allow spaces in command line options to pip in deps. Where previously only deps=-rreq.txt and deps=--requirement=req.txt worked, now also deps=-r req.txt and deps=--requirement req.txt work
drop Python 2.6 and 3.3 support: setuptools dropped supporting these, and as we depend on it we窶冤l follow up with doing the same (use tox <= 2.9.1 if you still need this support)
Add tox_runenvreport as a possible plugin, allowing the overriding of the default behaviour to execute a command to get the installed packages within a virtual environment
Forward PROCESSOR_ARCHITECTURE by default on Windows to fix platform.machine().


(adam)
diff -r1.7 -r1.8 pkgsrc/devel/py-tox/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/py-tox/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-tox/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-tox/Makefile 2017/10/04 12:43:55 1.7
+++ pkgsrc/devel/py-tox/Makefile 2018/07/05 10:57:20 1.8
@@ -1,25 +1,33 @@ @@ -1,25 +1,33 @@
1# $NetBSD: Makefile,v 1.7 2017/10/04 12:43:55 adam Exp $ 1# $NetBSD: Makefile,v 1.8 2018/07/05 10:57:20 adam Exp $
2 2
3DISTNAME= tox-2.9.1 3DISTNAME= tox-3.0.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/tox/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/tox/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9#HOMEPAGE= http://tox.testrun.org/ 9#HOMEPAGE= http://tox.testrun.org/
10COMMENT= Virtualenv-based automation of test activities 10COMMENT= Virtualenv-based automation of test activities
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-py>=1.4.17:../../devel/py-py 13DEPENDS+= ${PYPKGPREFIX}-py>=1.4.17:../../devel/py-py
14DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.3.0<1.0:../../devel/py-pluggy 14DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.3.0<1.0:../../devel/py-pluggy
15DEPENDS+= ${PYPKGPREFIX}-virtualenv>=1.11.2:../../devel/py-virtualenv 15DEPENDS+= ${PYPKGPREFIX}-virtualenv>=1.11.2:../../devel/py-virtualenv
16BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm 16BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 17TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
 18TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 19TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 20TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
 21TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
17 22
18USE_LANGUAGES= # none 23USE_LANGUAGES= # none
19 24
20post-install: 25post-install:
21 cd ${DESTDIR}${PREFIX}/bin && ${MV} tox tox${PYVERSSUFFIX} && \ 26 cd ${DESTDIR}${PREFIX}/bin && ${MV} tox tox${PYVERSSUFFIX} && \
22 ${MV} tox-quickstart tox-quickstart${PYVERSSUFFIX} || ${TRUE} 27 ${MV} tox-quickstart tox-quickstart${PYVERSSUFFIX} || ${TRUE}
23 28
 29do-test:
 30 cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 31
24.include "../../lang/python/egg.mk" 32.include "../../lang/python/egg.mk"
25.include "../../mk/bsd.pkg.mk" 33.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-tox/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-tox/distinfo 2017/10/04 12:43:55 1.5
+++ pkgsrc/devel/py-tox/distinfo 2018/07/05 10:57:20 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2017/10/04 12:43:55 adam Exp $ 1$NetBSD: distinfo,v 1.6 2018/07/05 10:57:20 adam Exp $
2 2
3SHA1 (tox-2.9.1.tar.gz) = 1ea1d5d8419f1e0b7994784c07438aed7f19f2f2 3SHA1 (tox-3.0.0.tar.gz) = bd467ceee87cc53d614b747ee6a11cb9fe08ee91
4RMD160 (tox-2.9.1.tar.gz) = 01efcff1cf86ea1a83f0af24583307f1689c2688 4RMD160 (tox-3.0.0.tar.gz) = b9eda9e6d0ba59b9b5f9ca83ee6e94c4e67bba0b
5SHA512 (tox-2.9.1.tar.gz) = ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066 5SHA512 (tox-3.0.0.tar.gz) = 3bce42561a032b9d1bcc6086093ab79e2ba84ca55b4a6b646485ed3ec4a5b7349d8fc4e47758d2dd7998fc943824a99a251447e13b9ccc396b9d2d87f367f6cd
6Size (tox-2.9.1.tar.gz) = 1855982 bytes 6Size (tox-3.0.0.tar.gz) = 226055 bytes