Skip to content

3.1.0

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.

Features

  • Add support for multiple PyPy versions using default factors. This allows you to use, for example, pypy27 knowing that the correct interpreter will be used by default by @stephenfin (#19)
  • Add support to explicitly invoke interpreter directives for environments with long path lengths. In the event that tox cannot invoke scripts with a system-limited shebang (e.x. a Linux host running a Jenkins Pipeline), a user can set the environment variable TOX_LIMITED_SHEBANG to workaround the system's limitation (e.x. export TOX_LIMITED_SHEBANG=1) by @jdknight (#794)
  • introduce a constants module to be used internally and as experimental API by @obestwalter (#798)
  • Make py2 and py3 aliases also resolve via py on windows by @asottile. This enables the following things: tox -e py2 and tox -e py3 work on windows (they already work on posix); and setting basepython=python2 or basepython=python3 now works on windows. (#856)
  • Replace the internal version parsing logic from the not well tested PEP-386 parser for the more general PEP-440. packaging >= 17.1 is now an install dependency by @gaborbernat. (#860)

Changes

Bug fixes

  • Add ignore_basepython_conflict, which determines whether conflicting basepython settings for environments containing default factors, such as py27 or django18-py35, should be ignored or result in warnings. This was a common source of misconfiguration and is rarely, if ever, desirable from a user perspective by @stephenfin (#477)
  • Fix bug with incorrectly defactorized dependencies (deps passed to pip were not de-factorized) by @bartsanchez (#706)

Documentation

  • extend the plugin documentation and make lot of small fixes and improvements by @obestwalter (#797)
  • tidy up tests - remove unused fixtures, update old cinstructs, etc. by @obestwalter (#799)
  • Various improvements to documentation: open browser once documentation generation is done, show Github/Travis info on documentation page, remove duplicate header for changelog, generate unreleased news as DRAFT on top of changelog, make the changelog page more compact and readable (width up to 1280px) by @gaborbernat (#859)
  • improve tox quickstart and corresponding tests by @obestwalter (#801)

Packaging

New Contributors

🐍 PyPI release

📜 Full Changelog