Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1413

tox-1.8: parametrized/generative environments

Return-Path <holger@merlinux.eu>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'feedback.': 0.04; 'syntax': 0.04; 'interpreter': 0.05; 'url:bitbucket': 0.05; 'dev': 0.07; 'environments': 0.07; 'pypi': 0.07; 'implements': 0.09; 'python': 0.11; 'skip:= 70': 0.12; 'changes': 0.15; 'alexander': 0.16; 'backward': 0.16; 'choice,': 0.16; 'docs.': 0.16; 'krekel,': 0.16; 'merlinux': 0.16; 'os.environ': 0.16; 'received:eu': 0.16; 'to:addr:python-announce-list': 0.16; 'fix': 0.17; 'file,': 0.19; 'implementing': 0.19; 'examples': 0.20; 'gmbh': 0.22; 'mike': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'commands,': 0.24; 'driven': 0.24; 'holger': 0.24; 'file.': 0.24; 'subject:/': 0.26; 'skip:" 20': 0.27; 'hosting': 0.29; 'testing': 0.29; 'code': 0.31; 'doc': 0.31; 'steven': 0.31; 'compatible': 0.32; 'skip:- 30': 0.32; 'running': 0.33; 'announce': 0.33; 'packaging': 0.33; "can't": 0.35; 'tool': 0.35; 'test': 0.35; 'installing': 0.36; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'should': 0.36; 'starting': 0.37; 'checks': 0.38; 'issue': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'remove': 0.60; 'tracking': 0.61; 'new': 0.61; 'simple': 0.61; 'content- disposition:inline': 0.62; 'complete': 0.62; 'such': 0.63; 'more': 0.64; 'different': 0.65; 'to:2**2': 0.65; 'management': 0.65; 'needing': 0.65; 'bayer': 0.84; 'florian': 0.84; 'url:config': 0.84; 'sfxlen:1': 0.91; 'url:latest': 0.91
Date Wed, 24 Sep 2014 13:55:19 +0000
From holger krekel <holger@merlinux.eu>
To Testing in Python <testing-in-python@lists.idyll.org>, pytest-dev <pytest-dev@python.org>, python announce <python-announce-list@python.org>
Subject tox-1.8: parametrized/generative environments
Mail-Followup-To holger krekel <holger@merlinux.eu>, Testing in Python <testing-in-python@lists.idyll.org>, pytest-dev <pytest-dev@python.org>, python announce <python-announce-list@python.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-06-14)
X-Mailman-Approved-At Thu, 25 Sep 2014 09:22:52 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.14349.1411629773.18130.python-announce-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1411629773 news.xs4all.nl 2914 [2001:888:2000:d::a6]:41248
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python.announce:1413

Show key headers only | View raw


tox 1.8: Generative/combinatorial environments specs
=============================================================================

I am happy to announce tox 1.8 which implements parametrized environments
and should otherwise be fully backward compatible to tox-1.7.2.

See https://tox.testrun.org/latest/config.html#generating-environments-conditional-settings
for examples and the new backward compatible syntax in your tox.ini file.

Many thanks to Alexander Schepanovski for implementing and refining
it based on the specifcation draft.

More documentation about tox in general:

    http://tox.testrun.org/

Installation:

    pip install -U tox

code hosting and issue tracking on bitbucket:

    https://bitbucket.org/hpk42/tox

What is tox?
----------------

tox standardizes and automates tedious test activities driven from a
simple ``tox.ini`` file, including:

* creation and management of different virtualenv environments
  with different Python interpreters
* packaging and installing your package into each of them
* running your test tool of choice, be it nose, py.test or unittest2 or other tools such as "sphinx" doc checks
* testing dev packages against each other without needing to upload to PyPI

best,
Holger Krekel, merlinux GmbH


Changes 1.8 (compared to 1.7.2)
---------------------------------------

- new multi-dimensional configuration support.  Many thanks to
  Alexander Schepanovski for the complete PR with docs.
  And to Mike Bayer and others for testing and feedback.

- fix issue148: remove "__PYVENV_LAUNCHER__" from os.environ when starting
  subprocesses. Thanks Steven Myint.

- fix issue152: set VIRTUAL_ENV when running test commands,
  thanks Florian Ludwig.

- better report if we can't get version_info from an interpreter
  executable. Thanks Floris Bruynooghe.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

tox-1.8: parametrized/generative environments  holger krekel <holger@merlinux.eu> - 2014-09-24 13:55 +0000

csiph-web