Skip to content

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Apr 2, 2018

This PR updates tox from 2.4.1 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.

2.7.0

------------------

- `pull request 450 <https://github.com/tox-dev/tox/pull/450>`_: Stop after the first installdeps and first testenv create hooks
succeed. This changes the default behaviour of `tox_testenv_create`
and `tox_testenv_install_deps` to not execute other registered hooks when
the first hook returns a result that is not `None`.
Thanks Anthony Sottile (`asottile <https://github.com/asottile>`_).

- `271 <https://github.com/tox-dev/tox/issues/271>`_ and `464 <https://github.com/tox-dev/tox/issues/464>`_: Improve environment information for users.

New command line parameter: `-a` show **all** defined environments -
not just the ones defined in (or generated from) envlist.

New verbosity settings for `-l` and `-a`: show user defined descriptions
of the environments. This also works for generated environments from factors
by concatenating factor descriptions into a complete description.

Note that for backwards compatibility with scripts using the output of `-l`
it's output remains unchanged.

Thanks Bernát Gábor (`gaborbernat <https://github.com/gaborbernat>`_).

- `464 <https://github.com/tox-dev/tox/issues/464>`_: Fix incorrect egg-info location for modified package_dir in setup.py.
Thanks Selim Belhaouane (`selimb <https://github.com/selimb>`_).

- `431 <https://github.com/tox-dev/tox/issues/431>`_: Add 'LANGUAGE' to default passed environment variables.
Thanks Paweł Adamczak (`pawelad <https://github.com/pawelad>`_).

- `455 <https://github.com/tox-dev/tox/issues/455>`_: Add a Vagrantfile with a customized Arch Linux box for local testing.
Thanks Oliver Bestwalter (`obestwalter <https://github.com/obestwalter>`_).

- `454 <https://github.com/tox-dev/tox/issues/454>`_: Revert `pull request 407 <https://github.com/tox-dev/tox/pull/407>`_, empty commands is not treated as an error.
Thanks Anthony Sottile (`asottile <https://github.com/asottile>`_).

- `446 <https://github.com/tox-dev/tox/issues/446>`_: (infrastructure) Travis CI tests for tox now also run on OS X now.
Thanks Jason R. Coombs (`jaraco <https://github.com/jaraco>`_).

2.6.0

------------------

- add "alwayscopy" config option to instruct virtualenv to always copy
files instead of symlinking. Thanks Igor Duarte Cardoso (`igordcard <https://github.com/igordcard>`_).

- pass setenv variables to setup.py during a usedevelop install.
Thanks Eli Collins (`eli-collins <https://github.com/eli-collins>`_).

- replace all references to testrun.org with readthedocs ones.
Thanks Oliver Bestwalter (`obestwalter <https://github.com/obestwalter>`_).

- fix `323 <https://github.com/tox-dev/tox/issues/323>`_ by avoiding virtualenv14 is not used on py32
(although we don't officially support py32).
Thanks Jason R. Coombs (`jaraco <https://github.com/jaraco>`_).

- add Python 3.6 to envlist and CI.
Thanks Andrii Soldatenko (`andriisoldatenko <https://github.com/andriisoldatenko>`_).

- fix glob resolution from TOX_TESTENV_PASSENV env variable
Thanks Allan Feldman (`a-feld <https://github.com/a-feld>`_).

2.5.0

------------------

- slightly backward incompatible: fix `310 <https://github.com/tox-dev/tox/issues/310>`_: the {posargs} substitution
now properly preserves the tox command line positional arguments. Positional
arguments with spaces are now properly handled.
NOTE: if your tox invocation previously used extra quoting for positional arguments to
work around `310 <https://github.com/tox-dev/tox/issues/310>`_, you need to remove the quoting. Example:
tox -- "'some string'"   has to now be written simply as
tox -- "some string"
thanks holger krekel.  You can set ``minversion = 2.5.0`` in the ``[tox]``
section of ``tox.ini`` to make sure people using your tox.ini use the correct version.

- fix `359 <https://github.com/tox-dev/tox/issues/359>`_: add COMSPEC to default passenv on windows.  Thanks
`anthrotype <https://github.com/anthrotype>`_.

- add support for py36 and py37 and add py36-dev and py37(nightly) to
travis builds of tox. Thanks John Vandenberg.

- fix `348 <https://github.com/tox-dev/tox/issues/348>`_: add py2 and py3 as default environments pointing to
"python2" and "python3" basepython executables.  Also fix `347 <https://github.com/tox-dev/tox/issues/347>`_ by
updating the list of default envs in the tox basic example.
Thanks Tobias McNulty.

- make "-h" and "--help-ini" options work even if there is no tox.ini,
thanks holger krekel.

- add {:} substitution, which is replaced with os-specific path
separator, thanks Lukasz Rogalski.

- fix `305 <https://github.com/tox-dev/tox/issues/305>`_: ``downloadcache`` test env config is now ignored as pip-8
does caching by default. Thanks holger krekel.

- output from install command in verbose (-vv) mode is now printed to console instead of
being redirected to file, thanks Lukasz Rogalski

- fix `399 <https://github.com/tox-dev/tox/issues/399>`_.  Make sure {envtmpdir} is created if it doesn't exist at the
start of a testenvironment run. Thanks Manuel Jacob.

- fix `316 <https://github.com/tox-dev/tox/issues/316>`_: Lack of commands key in ini file is now treated as an error.
Reported virtualenv status is 'nothing to do' instead of 'commands
succeeded', with relevant error message displayed. Thanks Lukasz Rogalski.
Links

@pyup-bot pyup-bot mentioned this pull request Apr 2, 2018
@coveralls
Copy link

coveralls commented Apr 3, 2018

Coverage Status

Coverage decreased (-9.9%) to 69.6% when pulling 4c0ed20 on pyup-update-tox-2.4.1-to-3.0.0 into 2af70dc on master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-9.9%) to 69.6% when pulling 4c0ed20 on pyup-update-tox-2.4.1-to-3.0.0 into 2af70dc on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-9.9%) to 69.6% when pulling 4c0ed20 on pyup-update-tox-2.4.1-to-3.0.0 into 2af70dc on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-9.9%) to 69.6% when pulling 4c0ed20 on pyup-update-tox-2.4.1-to-3.0.0 into 2af70dc on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-9.9%) to 69.6% when pulling 4c0ed20 on pyup-update-tox-2.4.1-to-3.0.0 into 2af70dc on master.

@pyup-bot
Copy link
Collaborator Author

pyup-bot commented Jul 9, 2018

Closing this in favor of #128

@pyup-bot pyup-bot closed this Jul 9, 2018
@j340m3 j340m3 deleted the pyup-update-tox-2.4.1-to-3.0.0 branch July 9, 2018 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants