Skip to content

3.0.0rc1

Pre-release
Pre-release

Choose a tag to compare

@gaborbernat gaborbernat released this 18 Oct 18:42
· 1636 commits to main since this release
Immutable release. Only release title and notes can be modified.
1d6ca4b

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)
  • add support for negated factor conditions, e.g. !dev: production_log by @jurko-gospodnetic (#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)
  • 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)
  • 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)
  • Add tox_runenvreport as a possible plugin, allowing the overriding of the default behavior to execute a command to get the installed packages within a virtual environment by @tonybaloney (#725)
  • Forward PROCESSOR_ARCHITECTURE by default on Windows to fix platform.machine(). (#740)

Changes

  • The PYTHONDONTWRITEBYTECODE environment variable is no longer unset by @stephenfin. (#744)

Bug fixes

  • Write directly to stdout buffer if possible to prevent str vs bytes issues by @asottile (#426)
  • fix #672 reporting to json file when skip-missing-interpreters option is used by @r2dan (#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)
  • 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 behavior is that sys.stdout is reset back to its original encoding after invocation errors by @tonybaloney (#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)
  • Running tox without a setup.py now has a more friendly error message and gives troubleshooting suggestions by @Volcyy. (#331)

Documentation

New Contributors

🐍 PyPI release

📜 Full Changelog