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’s 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’ll 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().
This commit is contained in:
parent
a226670932
commit
c9825d9971
2 changed files with 15 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.7 2017/10/04 12:43:55 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2018/07/05 10:57:20 adam Exp $
|
||||
|
||||
DISTNAME= tox-2.9.1
|
||||
DISTNAME= tox-3.0.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tox/}
|
||||
|
@ -14,6 +14,11 @@ DEPENDS+= ${PYPKGPREFIX}-py>=1.4.17:../../devel/py-py
|
|||
DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.3.0<1.0:../../devel/py-pluggy
|
||||
DEPENDS+= ${PYPKGPREFIX}-virtualenv>=1.11.2:../../devel/py-virtualenv
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
|
@ -21,5 +26,8 @@ post-install:
|
|||
cd ${DESTDIR}${PREFIX}/bin && ${MV} tox tox${PYVERSSUFFIX} && \
|
||||
${MV} tox-quickstart tox-quickstart${PYVERSSUFFIX} || ${TRUE}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.5 2017/10/04 12:43:55 adam Exp $
|
||||
$NetBSD: distinfo,v 1.6 2018/07/05 10:57:20 adam Exp $
|
||||
|
||||
SHA1 (tox-2.9.1.tar.gz) = 1ea1d5d8419f1e0b7994784c07438aed7f19f2f2
|
||||
RMD160 (tox-2.9.1.tar.gz) = 01efcff1cf86ea1a83f0af24583307f1689c2688
|
||||
SHA512 (tox-2.9.1.tar.gz) = ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066
|
||||
Size (tox-2.9.1.tar.gz) = 1855982 bytes
|
||||
SHA1 (tox-3.0.0.tar.gz) = bd467ceee87cc53d614b747ee6a11cb9fe08ee91
|
||||
RMD160 (tox-3.0.0.tar.gz) = b9eda9e6d0ba59b9b5f9ca83ee6e94c4e67bba0b
|
||||
SHA512 (tox-3.0.0.tar.gz) = 3bce42561a032b9d1bcc6086093ab79e2ba84ca55b4a6b646485ed3ec4a5b7349d8fc4e47758d2dd7998fc943824a99a251447e13b9ccc396b9d2d87f367f6cd
|
||||
Size (tox-3.0.0.tar.gz) = 226055 bytes
|
||||
|
|
Loading…
Reference in a new issue