Changelog
### 3.0.0rc2
```
---------------------
Bugfixes
^^^^^^^^
- fix 755 by reverting the ``cmdline`` import to the old location and changing
the entry point instead - by fschulze (`755
<https://github.com/tox-dev/tox/issues/755>`_)
Features
^^^^^^^^
- ``tox`` displays exit code together with ``InvocationError`` - by blueyed
and ederag. (`290 <https://github.com/tox-dev/tox/issues/290>`_)
- Hint for possible signal upon ``InvocationError``, on posix systems - by
ederag and asottile. (`766 <https://github.com/tox-dev/tox/issues/766>`_)
Documentation improvements
^^^^^^^^^^^^^^^^^^^^^^^^^^
- Change favicon to the vector beach ball - by hazalozturk (`748
<https://github.com/tox-dev/tox/issues/748>`_)
```
### 3.0.0rc1
```
---------------------
Bugfixes
^^^^^^^^
- Write directly to stdout buffer if possible to prevent str vs bytes issues -
by asottile (`426 <https://github.com/tox-dev/tox/issues/426>`_)
- fix 672 reporting to json file when skip-missing-interpreters option is used
- by r2dan (`672 <https://github.com/tox-dev/tox/issues/672>`_)
- 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 - by
jurko-gospodnetic (`692 <https://github.com/tox-dev/tox/issues/692>`_)
- 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 - by tonybaloney
(`723 <https://github.com/tox-dev/tox/issues/723>`_)
- 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. - by fschulze (`727
<https://github.com/tox-dev/tox/issues/727>`_)
Features
^^^^^^^^
- 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 (`256
<https://github.com/tox-dev/tox/issues/256>`_)
- add support for negated factor conditions, e.g. ``!dev: production_log`` - by
jurko-gospodnetic (`292 <https://github.com/tox-dev/tox/issues/292>`_)
- Headings like ``installed: <packages>`` will not be printed if there is no
output to display after the :, unless verbosity is set. By cryvate (`601
<https://github.com/tox-dev/tox/issues/601>`_)
- 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 - by cryvate
(`668 <https://github.com/tox-dev/tox/issues/668>`_)
- 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) - by gaborbernat (`679
<https://github.com/tox-dev/tox/issues/679>`_)
- 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 - by tonybaloney (`725
<https://github.com/tox-dev/tox/issues/725>`_)
- Forward ``PROCESSOR_ARCHITECTURE`` by default on Windows to fix
``platform.machine()``. (`740 <https://github.com/tox-dev/tox/issues/740>`_)
Documentation improvements
^^^^^^^^^^^^^^^^^^^^^^^^^^
- Change sphinx theme to alabaster and add logo/favicon - by hazalozturk
(`639 <https://github.com/tox-dev/tox/issues/639>`_)
Miscellaneous / trivial changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Running ``tox`` without a ``setup.py`` now has a more friendly error message
and gives troubleshooting suggestions - by Volcyy. (`331
<https://github.com/tox-dev/tox/issues/331>`_)
- Fix pycodestyle (formerly pep8) errors E741 (ambiguous variable names, in
this case, 'l's) and remove ignore of this error in tox.ini - by cryvate
(`663 <https://github.com/tox-dev/tox/issues/663>`_)
- touched up ``interpreters.py`` code and added some missing tests for it - by
jurko-gospodnetic (`708 <https://github.com/tox-dev/tox/issues/708>`_)
- The ``PYTHONDONTWRITEBYTECODE`` environment variable is no longer unset - by
stephenfin. (`744 <https://github.com/tox-dev/tox/issues/744>`_)
```
### 2.9.1
```
------------------
Misc
^^^^
- integrated new release process and fixed changelog rendering for pypi.org -
by `obestwalter <https://github.com/obestwalter>`_.
```
### 2.9.0
```
------------------
Features
^^^^^^^^
- ``tox --version`` now shows information about all registered plugins - by
`obestwalter <https://github.com/obestwalter>`_
(`544 <https://github.com/tox-dev/tox/issues/544>`_)
Bugfixes
^^^^^^^^
- ``skip_install`` overrides ``usedevelop`` (``usedevelop`` is an option to
choose the installation type if the package is installed and `skip_install`
determines if it should be installed at all) - by `ferdonline <https://github.com/ferdonline>`_
(`571 <https://github.com/tox-dev/tox/issues/571>`_)
Misc
^^^^
- `635 <https://github.com/tox-dev/tox/issues/635>`_ inherit from correct exception -
by `obestwalter <https://github.com/obestwalter>`_
(`635 <https://github.com/tox-dev/tox/issues/635>`_).
- spelling and escape sequence fixes - by `scoop <https://github.com/scoop>`_
(`637 <https://github.com/tox-dev/tox/issues/637>`_ and
`638 <https://github.com/tox-dev/tox/issues/638>`_).
- add a badge to show build status of documentation on readthedocs.io -
by `obestwalter <https://github.com/obestwalter>`_.
Improved Documentation
^^^^^^^^^^^^^^^^^^^^^^
- add `towncrier <https://github.com/hawkowl/towncrier>`_ to allow adding
changelog entries with the pull requests without generating merge conflicts;
with this release notes are now grouped into four distinct collections:
`Features`, `Bugfixes`, `Improved Documentation` and `Deprecations and
Removals`. (`614 <https://github.com/tox-dev/tox/issues/614>`_)
```
### 2.8.2
```
------------------
- `466 <https://github.com/tox-dev/tox/issues/466>`_: stop env var leakage if popen failed with resultjson or redirect
```
### 2.8.1
```
------------------
- `pull request 599 <https://github.com/tox-dev/tox/pull/599>`_: fix problems with implementation of `515 <https://github.com/tox-dev/tox/issues/515>`_.
Substitutions from other sections were not made anymore if they were not in `envlist`.
Thanks to Clark Boylan (`cboylan <https://github.com/cboylan>`_) for helping to get this fixed (`pull request 597 <https://github.com/tox-dev/tox/pull/597>`_).
```
### 2.8
```
..
Everything below here is generated by `towncrier <https://pypi.python.org/pypi/towncrier>`_.
It is generated once as part of the release process rendering fragments from the `changelog`
folder. If necessary, the generated text can be edited afterwards to e.g. merge rc changes
into the final release notes.
.. towncrier release notes start
```
### 2.8.0
```
-------------------
- `276 <https://github.com/tox-dev/tox/issues/276>`_: Remove easy_install from docs (TL;DR: use pip). Thanks Martin Andrysík (`sifuraz <https://github.com/sifuraz>`_).
- `301 <https://github.com/tox-dev/tox/issues/301>`_: Expand nested substitutions in ``tox.ini``. Thanks `vlaci <https://github.com/vlaci>`_. Thanks to Eli Collins
(`eli-collins <https://github.com/eli-collins>`_) for creating a reproducer.
- `315 <https://github.com/tox-dev/tox/issues/315>`_: add ``--help`` and ``--version`` to helptox-quickstart. Thanks `vlaci <https://github.com/vlaci>`_.
- `326 <https://github.com/tox-dev/tox/issues/326>`_: Fix ``OSError`` 'Not a directory' when creating env on Jython 2.7.0. Thanks Nick Douma (`LordGaav <https://github.com/LordGaav>`_).
- `429 <https://github.com/tox-dev/tox/issues/429>`_: Forward ``MSYSTEM`` by default on Windows. Thanks Marius Gedminas (`mgedmin <https://github.com/mgedmin>`_) for reporting this.
- `449 <https://github.com/tox-dev/tox/issues/449>`_: add multi platform example to the docs. Thanks Aleks Bunin (`sashkab <https://github.com/sashkab>`_) and `rndr <https://github.com/rndr>`_.
- `474 <https://github.com/tox-dev/tox/issues/474>`_: Start using setuptools_scm for tag based versioning.
- `484 <https://github.com/tox-dev/tox/issues/484>`_: Renamed `py.test` to `pytest` throughout the project. Thanks Slam (`3lnc <https://github.com/3lnc>`_).
- `504 <https://github.com/tox-dev/tox/issues/504>`_: With `-a`: do not show additional environments header if there are none. Thanks `rndr <https://github.com/rndr>`_.
- `515 <https://github.com/tox-dev/tox/issues/515>`_: Don't require environment variables in test environments where they are not used.
Thanks André Caron (`AndreLouisCaron <https://github.com/AndreLouisCaron>`_).
- `517 <https://github.com/tox-dev/tox/issues/517>`_: Forward ``NUMBER_OF_PROCESSORS`` by default on Windows to fix ``multiprocessor.cpu_count()``.
Thanks André Caron (`AndreLouisCaron <https://github.com/AndreLouisCaron>`_).
- `518 <https://github.com/tox-dev/tox/issues/518>`_: Forward `USERPROFILE` by default on Windows. Thanks André Caron (`AndreLouisCaron <https://github.com/AndreLouisCaron>`_).
- `pull request 528 <https://github.com/tox-dev/tox/pull/528>`_: Fix some of the warnings displayed by pytest 3.1.0. Thanks Bruno Oliveira (`nicoddemus <https://github.com/nicoddemus>`_).
- `pull request 547 <https://github.com/tox-dev/tox/pull/547>`_: Add regression test for `137 <https://github.com/tox-dev/tox/issues/137>`_. Thanks Martin Andrysík (`sifuraz <https://github.com/sifuraz>`_).
- `pull request 553 <https://github.com/tox-dev/tox/pull/553>`_: Add an XFAIL test to reproduce upstream bug `203 <https://github.com/tox-dev/tox/issues/203>`_. Thanks
Bartolomé Sánchez Salado (`bartsanchez <https://github.com/bartsanchez>`_).
- `pull request 556 <https://github.com/tox-dev/tox/pull/556>`_: Report more meaningful errors on why virtualenv creation failed. Thanks `vlaci <https://github.com/vlaci>`_.
Also thanks to Igor Sadchenko (`igor-sadchenko <https://github.com/igor-sadchenko>`_) for pointing out a problem with that PR
before it hit the masses ☺
- `pull request 575 <https://github.com/tox-dev/tox/pull/575>`_: Add announcement doc to end all announcement docs
(using only ``CHANGELOG`` and Github issues since 2.5 already).
- `pull request 580 <https://github.com/tox-dev/tox/pull/580>`_: Do not ignore Sphinx warnings anymore. Thanks Bernát Gábor (`gaborbernat <https://github.com/gaborbernat>`_).
- `pull request 585 <https://github.com/tox-dev/tox/pull/585>`_: Expand documentation to explain pass through of flags from deps to pip
(e.g. ``-rrequirements.txt``, ``-cconstraints.txt``). Thanks Alexander Loechel (`loechel <https://github.com/loechel>`_).
- `pull request 588 <https://github.com/tox-dev/tox/pull/588>`_: Run pytest wit xfail_strict and adapt affected tests.
```
Links
- PyPI: https://pypi.python.org/pypi/tox
- Changelog: https://pyup.io/changelogs/tox/
- Docs: https://tox.readthedocs.org/
This PR updates tox from 2.7.0 to 3.0.0.
Changelog
### 3.0.0rc2 ``` --------------------- Bugfixes ^^^^^^^^ - fix 755 by reverting the ``cmdline`` import to the old location and changing the entry point instead - by fschulze (`755 <https://github.com/tox-dev/tox/issues/755>`_) Features ^^^^^^^^ - ``tox`` displays exit code together with ``InvocationError`` - by blueyed and ederag. (`290 <https://github.com/tox-dev/tox/issues/290>`_) - Hint for possible signal upon ``InvocationError``, on posix systems - by ederag and asottile. (`766 <https://github.com/tox-dev/tox/issues/766>`_) Documentation improvements ^^^^^^^^^^^^^^^^^^^^^^^^^^ - Change favicon to the vector beach ball - by hazalozturk (`748 <https://github.com/tox-dev/tox/issues/748>`_) ``` ### 3.0.0rc1 ``` --------------------- Bugfixes ^^^^^^^^ - Write directly to stdout buffer if possible to prevent str vs bytes issues - by asottile (`426 <https://github.com/tox-dev/tox/issues/426>`_) - fix 672 reporting to json file when skip-missing-interpreters option is used - by r2dan (`672 <https://github.com/tox-dev/tox/issues/672>`_) - 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 - by jurko-gospodnetic (`692 <https://github.com/tox-dev/tox/issues/692>`_) - 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 - by tonybaloney (`723 <https://github.com/tox-dev/tox/issues/723>`_) - 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. - by fschulze (`727 <https://github.com/tox-dev/tox/issues/727>`_) Features ^^^^^^^^ - 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 (`256 <https://github.com/tox-dev/tox/issues/256>`_) - add support for negated factor conditions, e.g. ``!dev: production_log`` - by jurko-gospodnetic (`292 <https://github.com/tox-dev/tox/issues/292>`_) - Headings like ``installed: <packages>`` will not be printed if there is no output to display after the :, unless verbosity is set. By cryvate (`601 <https://github.com/tox-dev/tox/issues/601>`_) - 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 - by cryvate (`668 <https://github.com/tox-dev/tox/issues/668>`_) - 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) - by gaborbernat (`679 <https://github.com/tox-dev/tox/issues/679>`_) - 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 - by tonybaloney (`725 <https://github.com/tox-dev/tox/issues/725>`_) - Forward ``PROCESSOR_ARCHITECTURE`` by default on Windows to fix ``platform.machine()``. (`740 <https://github.com/tox-dev/tox/issues/740>`_) Documentation improvements ^^^^^^^^^^^^^^^^^^^^^^^^^^ - Change sphinx theme to alabaster and add logo/favicon - by hazalozturk (`639 <https://github.com/tox-dev/tox/issues/639>`_) Miscellaneous / trivial changes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Running ``tox`` without a ``setup.py`` now has a more friendly error message and gives troubleshooting suggestions - by Volcyy. (`331 <https://github.com/tox-dev/tox/issues/331>`_) - Fix pycodestyle (formerly pep8) errors E741 (ambiguous variable names, in this case, 'l's) and remove ignore of this error in tox.ini - by cryvate (`663 <https://github.com/tox-dev/tox/issues/663>`_) - touched up ``interpreters.py`` code and added some missing tests for it - by jurko-gospodnetic (`708 <https://github.com/tox-dev/tox/issues/708>`_) - The ``PYTHONDONTWRITEBYTECODE`` environment variable is no longer unset - by stephenfin. (`744 <https://github.com/tox-dev/tox/issues/744>`_) ``` ### 2.9.1 ``` ------------------ Misc ^^^^ - integrated new release process and fixed changelog rendering for pypi.org - by `obestwalter <https://github.com/obestwalter>`_. ``` ### 2.9.0 ``` ------------------ Features ^^^^^^^^ - ``tox --version`` now shows information about all registered plugins - by `obestwalter <https://github.com/obestwalter>`_ (`544 <https://github.com/tox-dev/tox/issues/544>`_) Bugfixes ^^^^^^^^ - ``skip_install`` overrides ``usedevelop`` (``usedevelop`` is an option to choose the installation type if the package is installed and `skip_install` determines if it should be installed at all) - by `ferdonline <https://github.com/ferdonline>`_ (`571 <https://github.com/tox-dev/tox/issues/571>`_) Misc ^^^^ - `635 <https://github.com/tox-dev/tox/issues/635>`_ inherit from correct exception - by `obestwalter <https://github.com/obestwalter>`_ (`635 <https://github.com/tox-dev/tox/issues/635>`_). - spelling and escape sequence fixes - by `scoop <https://github.com/scoop>`_ (`637 <https://github.com/tox-dev/tox/issues/637>`_ and `638 <https://github.com/tox-dev/tox/issues/638>`_). - add a badge to show build status of documentation on readthedocs.io - by `obestwalter <https://github.com/obestwalter>`_. Improved Documentation ^^^^^^^^^^^^^^^^^^^^^^ - add `towncrier <https://github.com/hawkowl/towncrier>`_ to allow adding changelog entries with the pull requests without generating merge conflicts; with this release notes are now grouped into four distinct collections: `Features`, `Bugfixes`, `Improved Documentation` and `Deprecations and Removals`. (`614 <https://github.com/tox-dev/tox/issues/614>`_) ``` ### 2.8.2 ``` ------------------ - `466 <https://github.com/tox-dev/tox/issues/466>`_: stop env var leakage if popen failed with resultjson or redirect ``` ### 2.8.1 ``` ------------------ - `pull request 599 <https://github.com/tox-dev/tox/pull/599>`_: fix problems with implementation of `515 <https://github.com/tox-dev/tox/issues/515>`_. Substitutions from other sections were not made anymore if they were not in `envlist`. Thanks to Clark Boylan (`cboylan <https://github.com/cboylan>`_) for helping to get this fixed (`pull request 597 <https://github.com/tox-dev/tox/pull/597>`_). ``` ### 2.8 ``` .. Everything below here is generated by `towncrier <https://pypi.python.org/pypi/towncrier>`_. It is generated once as part of the release process rendering fragments from the `changelog` folder. If necessary, the generated text can be edited afterwards to e.g. merge rc changes into the final release notes. .. towncrier release notes start ``` ### 2.8.0 ``` ------------------- - `276 <https://github.com/tox-dev/tox/issues/276>`_: Remove easy_install from docs (TL;DR: use pip). Thanks Martin Andrysík (`sifuraz <https://github.com/sifuraz>`_). - `301 <https://github.com/tox-dev/tox/issues/301>`_: Expand nested substitutions in ``tox.ini``. Thanks `vlaci <https://github.com/vlaci>`_. Thanks to Eli Collins (`eli-collins <https://github.com/eli-collins>`_) for creating a reproducer. - `315 <https://github.com/tox-dev/tox/issues/315>`_: add ``--help`` and ``--version`` to helptox-quickstart. Thanks `vlaci <https://github.com/vlaci>`_. - `326 <https://github.com/tox-dev/tox/issues/326>`_: Fix ``OSError`` 'Not a directory' when creating env on Jython 2.7.0. Thanks Nick Douma (`LordGaav <https://github.com/LordGaav>`_). - `429 <https://github.com/tox-dev/tox/issues/429>`_: Forward ``MSYSTEM`` by default on Windows. Thanks Marius Gedminas (`mgedmin <https://github.com/mgedmin>`_) for reporting this. - `449 <https://github.com/tox-dev/tox/issues/449>`_: add multi platform example to the docs. Thanks Aleks Bunin (`sashkab <https://github.com/sashkab>`_) and `rndr <https://github.com/rndr>`_. - `474 <https://github.com/tox-dev/tox/issues/474>`_: Start using setuptools_scm for tag based versioning. - `484 <https://github.com/tox-dev/tox/issues/484>`_: Renamed `py.test` to `pytest` throughout the project. Thanks Slam (`3lnc <https://github.com/3lnc>`_). - `504 <https://github.com/tox-dev/tox/issues/504>`_: With `-a`: do not show additional environments header if there are none. Thanks `rndr <https://github.com/rndr>`_. - `515 <https://github.com/tox-dev/tox/issues/515>`_: Don't require environment variables in test environments where they are not used. Thanks André Caron (`AndreLouisCaron <https://github.com/AndreLouisCaron>`_). - `517 <https://github.com/tox-dev/tox/issues/517>`_: Forward ``NUMBER_OF_PROCESSORS`` by default on Windows to fix ``multiprocessor.cpu_count()``. Thanks André Caron (`AndreLouisCaron <https://github.com/AndreLouisCaron>`_). - `518 <https://github.com/tox-dev/tox/issues/518>`_: Forward `USERPROFILE` by default on Windows. Thanks André Caron (`AndreLouisCaron <https://github.com/AndreLouisCaron>`_). - `pull request 528 <https://github.com/tox-dev/tox/pull/528>`_: Fix some of the warnings displayed by pytest 3.1.0. Thanks Bruno Oliveira (`nicoddemus <https://github.com/nicoddemus>`_). - `pull request 547 <https://github.com/tox-dev/tox/pull/547>`_: Add regression test for `137 <https://github.com/tox-dev/tox/issues/137>`_. Thanks Martin Andrysík (`sifuraz <https://github.com/sifuraz>`_). - `pull request 553 <https://github.com/tox-dev/tox/pull/553>`_: Add an XFAIL test to reproduce upstream bug `203 <https://github.com/tox-dev/tox/issues/203>`_. Thanks Bartolomé Sánchez Salado (`bartsanchez <https://github.com/bartsanchez>`_). - `pull request 556 <https://github.com/tox-dev/tox/pull/556>`_: Report more meaningful errors on why virtualenv creation failed. Thanks `vlaci <https://github.com/vlaci>`_. Also thanks to Igor Sadchenko (`igor-sadchenko <https://github.com/igor-sadchenko>`_) for pointing out a problem with that PR before it hit the masses ☺ - `pull request 575 <https://github.com/tox-dev/tox/pull/575>`_: Add announcement doc to end all announcement docs (using only ``CHANGELOG`` and Github issues since 2.5 already). - `pull request 580 <https://github.com/tox-dev/tox/pull/580>`_: Do not ignore Sphinx warnings anymore. Thanks Bernát Gábor (`gaborbernat <https://github.com/gaborbernat>`_). - `pull request 585 <https://github.com/tox-dev/tox/pull/585>`_: Expand documentation to explain pass through of flags from deps to pip (e.g. ``-rrequirements.txt``, ``-cconstraints.txt``). Thanks Alexander Loechel (`loechel <https://github.com/loechel>`_). - `pull request 588 <https://github.com/tox-dev/tox/pull/588>`_: Run pytest wit xfail_strict and adapt affected tests. ```Links
- PyPI: https://pypi.python.org/pypi/tox - Changelog: https://pyup.io/changelogs/tox/ - Docs: https://tox.readthedocs.org/