1 new commit in tox: https://bitbucket.org/hpk42/tox/commits/6fc03c1208fd/ Changeset: 6fc03c1208fd User: hpk42 Date: 2015-05-12 15:24:16+00:00 Summary: - fix TMP env variable and test on windows - add release announcement - bump version to 2.0.0 Affected #: 6 files
diff -r 438cc2bd3dc4031438b61a5c96dd7ba3ecefb659 -r 6fc03c1208fd310cd38a013e8fff7330dc10f6c3 doc/announce/release-2.0.txt --- a/doc/announce/release-2.0.txt +++ b/doc/announce/release-2.0.txt @@ -52,3 +52,60 @@ Holger Krekel, merlinux GmbH +2.0.0 +----------- + +- (new) introduce environment variable isolation: + tox now only passes the PATH variable from the tox + invocation environment to the test environment and on Windows + also ``SYSTEMROOT`` and ``PATHEXT``. If you need to pass through further + environment variables you can use the new ``passenv`` setting, + a space-separated list of environment variable names. Each name + can make use of fnmatch-style glob patterns. All environment + variables which exist in the tox-invocation environment will be copied + to the test environment. + +- (new) introduce a way to specify on which platform a testenvironment is to + execute: the new per-venv "platform" setting allows to specify + a regular expression which is matched against sys.platform. + If platform is set and doesn't match the platform spec in the test + environment the test environment is ignored, no setup or tests are attempted. + +- (new) add per-venv "ignore_errors" setting, which defaults to False. + If ``True``, a non-zero exit code from one command will be ignored and + further commands will be executed (which was the default behavior in tox < + 2.0). If ``False`` (the default), then a non-zero exit code from one command + will abort execution of commands for that environment. + +- show and store in json the version dependency information for each venv + +- remove the long-deprecated "distribute" option as it has no effect these days. + +- fix issue233: avoid hanging with tox-setuptools integration example. Thanks simonb. + +- fix issue120: allow substitution for the commands section. Thanks + Volodymyr Vitvitski. + +- fix issue235: fix AttributeError with --installpkg. Thanks + Volodymyr Vitvitski. + +- tox has now somewhat pep8 clean code, thanks to Volodymyr Vitvitski. + +- fix issue240: allow to specify empty argument list without it being + rewritten to ".". Thanks Daniel Hahler. + +- introduce experimental (not much documented yet) plugin system + based on pytest's externalized "pluggy" system. + See tox/hookspecs.py for the current hooks. + +- introduce parser.add_testenv_attribute() to register an ini-variable + for testenv sections. Can be used from plugins through the + tox_add_option hook. + +- rename internal files -- tox offers no external API except for the + experimental plugin hooks, use tox internals at your own risk. + +- DEPRECATE distshare in documentation + + + diff -r 438cc2bd3dc4031438b61a5c96dd7ba3ecefb659 -r 6fc03c1208fd310cd38a013e8fff7330dc10f6c3 doc/index.txt --- a/doc/index.txt +++ b/doc/index.txt @@ -107,6 +107,8 @@ support changelog links + plugins + example/result announce/release-0.5 announce/release-1.0 announce/release-1.1 @@ -114,6 +116,9 @@ announce/release-1.3 announce/release-1.4 announce/release-1.4.3 + announce/release-1.8 + announce/release-1.9 + announce/release-2.0 .. include:: links.txt diff -r 438cc2bd3dc4031438b61a5c96dd7ba3ecefb659 -r 6fc03c1208fd310cd38a013e8fff7330dc10f6c3 setup.py --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ description='virtualenv-based automation of test activities', long_description=open("README.rst").read(), url='http://tox.testrun.org/', - version='2.0.0.dev5', + version='2.0.0', license='http://opensource.org/licenses/MIT', platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], author='holger krekel', diff -r 438cc2bd3dc4031438b61a5c96dd7ba3ecefb659 -r 6fc03c1208fd310cd38a013e8fff7330dc10f6c3 tests/test_config.py --- a/tests/test_config.py +++ b/tests/test_config.py @@ -710,6 +710,10 @@ if plat == "win32": assert "PATHEXT" in envconfig.passenv assert "SYSTEMROOT" in envconfig.passenv + assert "TEMP" in envconfig.passenv + assert "TMP" in envconfig.passenv + else: + assert "TMPDIR" in envconfig.passenv assert "PATH" in envconfig.passenv assert "A123A" in envconfig.passenv assert "A123B" in envconfig.passenv diff -r 438cc2bd3dc4031438b61a5c96dd7ba3ecefb659 -r 6fc03c1208fd310cd38a013e8fff7330dc10f6c3 tox/__init__.py --- a/tox/__init__.py +++ b/tox/__init__.py @@ -1,5 +1,5 @@ # -__version__ = '2.0.0.dev5' +__version__ = '2.0.0' from .hookspecs import hookspec, hookimpl # noqa diff -r 438cc2bd3dc4031438b61a5c96dd7ba3ecefb659 -r 6fc03c1208fd310cd38a013e8fff7330dc10f6c3 tox/config.py --- a/tox/config.py +++ b/tox/config.py @@ -369,7 +369,7 @@ if sys.platform == "win32": passenv.add("SYSTEMROOT") # needed for python's crypto module passenv.add("PATHEXT") # needed for discovering executables - passenv.add("TEMPDIR") + passenv.add("TEMP") passenv.add("TMP") else: passenv.add("TMPDIR") Repository URL: https://bitbucket.org/hpk42/tox/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit