Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tox to 3.23.1 #139

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

pyup-bot
Copy link

@pyup-bot pyup-bot commented May 5, 2021

This PR updates tox from 3.9.0 to 3.23.1.

Changelog

3.23.0

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

Features
^^^^^^^^

- tox can now be invoked with a new ``--no-provision`` flag that prevents provision,
if :conf:`requires` or :conf:`minversion` are not satisfied,
tox will fail;
if a path is specified as an argument to the flag
(e.g. as ``tox --no-provision missing.json``) and provision is prevented,
provision metadata are written as JSON to that path - by :user:`hroncok`
`1921 <https://github.com/tox-dev/tox/issues/1921>`_
- Unicode support in ``pyproject.toml`` - by :user:`domdfcoding`
`1940 <https://github.com/tox-dev/tox/issues/1940>`_

3.22.0

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

Features
^^^^^^^^

- The value of the :conf:`requires` configuration option is now exposed via
the :class:`tox.config.Config` object - by :user:`hroncok`
`1918 <https://github.com/tox-dev/tox/issues/1918>`_

3.21.4

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

Bugfixes
^^^^^^^^

- Adapt tests not to assume the ``easy_install`` command exists, as it was removed from ``setuptools`` 52.0.0+ - by :user:`hroncok`
`1893 <https://github.com/tox-dev/tox/issues/1893>`_

3.21.3

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

Bugfixes
^^^^^^^^

- Fix a killed tox (via SIGTERM) leaving the commands subprocesses running
by handling it as if it were a KeyboardInterrupt - by :user:`dajose`
`1772 <https://github.com/tox-dev/tox/issues/1772>`_

3.21.2

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

Bugfixes
^^^^^^^^

- Newer coverage tools update the ``COV_CORE_CONTEXT`` environment variable, add it to the list of environment variables
that can change in our pytest plugin - by :user:`gaborbernat`.
`1854 <https://github.com/tox-dev/tox/issues/1854>`_

3.21.1

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

Bugfixes
^^^^^^^^

- Fix regression that broke using install_command in config replacements - by :user:`jayvdb`
`1777 <https://github.com/tox-dev/tox/issues/1777>`_
- Fix regression parsing posargs default containing colon. - by :user:`jayvdb`
`1785 <https://github.com/tox-dev/tox/issues/1785>`_


Features
^^^^^^^^

- Prevent .tox in envlist - by :user:`jayvdb`
`1684 <https://github.com/tox-dev/tox/issues/1684>`_


Miscellaneous
^^^^^^^^^^^^^

- Enable building tox with ``setuptools_scm`` 4 and 5 by :user:`hroncok`
`1799 <https://github.com/tox-dev/tox/issues/1799>`_

3.21.0

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

Bugfixes
^^^^^^^^

- Fix the false ``congratulations`` message that appears when a ``KeyboardInterrupt`` occurs during package installation. - by :user:`gnikonorov`
`1453 <https://github.com/tox-dev/tox/issues/1453>`_
- Fix ``platform`` support for ``install_command``. - by :user:`jayvdb`
`1464 <https://github.com/tox-dev/tox/issues/1464>`_
- Fixed regression in v3.20.0 that caused escaped curly braces in setenv
to break usage of the variable elsewhere in tox.ini. - by :user:`jayvdb`
`1690 <https://github.com/tox-dev/tox/issues/1690>`_
- Prevent ``{}`` and require ``{:`` is only followed by ``}``. - by :user:`jayvdb`
`1711 <https://github.com/tox-dev/tox/issues/1711>`_
- Raise ``MissingSubstitution`` on access of broken ini setting. - by :user:`jayvdb`
`1716 <https://github.com/tox-dev/tox/issues/1716>`_


Features
^^^^^^^^

- Allow \{ and \} in default of {env:key:default}. - by :user:`jayvdb`
`1502 <https://github.com/tox-dev/tox/issues/1502>`_
- Allow {posargs} in setenv. - by :user:`jayvdb`
`1695 <https://github.com/tox-dev/tox/issues/1695>`_
- Allow {/} to refer to os.sep. - by :user:`jayvdb`
`1700 <https://github.com/tox-dev/tox/issues/1700>`_
- Make parsing [testenv] sections in setup.cfg official. - by :user:`mauvilsa`
`1727 <https://github.com/tox-dev/tox/issues/1727>`_
- Relax importlib requirement to allow 3.0.0 or any newer version - by
:user:`pkolbus`
`1763 <https://github.com/tox-dev/tox/issues/1763>`_


Documentation
^^^^^^^^^^^^^

- Document more info about using ``platform`` setting. - by :user:`prakhargurunani`
`1144 <https://github.com/tox-dev/tox/issues/1144>`_
- Replace ``indexserver`` in documentation with environment variables - by :user:`ziima`.
`1357 <https://github.com/tox-dev/tox/issues/1357>`_
- Document that the ``passenv`` environment setting is case insensitive. - by :user:`gnikonorov`
`1534 <https://github.com/tox-dev/tox/issues/1534>`_

3.20.1

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

Bugfixes
^^^^^^^^

- Relax importlib requirement to allow version<3 - by :user:`usamasadiq`
`1682 <https://github.com/tox-dev/tox/issues/1682>`_

3.20.0

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

Bugfixes
^^^^^^^^

- Allow hyphens and empty factors in generative section name. - by :user:`tyagdit`
`1636 <https://github.com/tox-dev/tox/issues/1636>`_
- Support for PEP517 in-tree build backend-path key in ``get-build-requires``. - by :user:`nizox`
`1654 <https://github.com/tox-dev/tox/issues/1654>`_
- Allow escaping curly braces in setenv. - by :user:`mkenigs`
`1656 <https://github.com/tox-dev/tox/issues/1656>`_


Features
^^^^^^^^

- Support for comments within ``setenv`` and environment files via the ``files|`` prefix. - by :user:`gaborbernat`
`1667 <https://github.com/tox-dev/tox/issues/1667>`_

3.19.0

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

Bugfixes
^^^^^^^^

- skip ``setup.cfg`` if it has no ``tox:tox`` namespace - by :user:`hroncok`
`1045 <https://github.com/tox-dev/tox/issues/1045>`_


Features
^^^^^^^^

- Implement support for building projects
having :pep:`517in-tree-build-backends` ``backend-path`` setting -
by :user:`webknjaz`
`1575 <https://github.com/tox-dev/tox/issues/1575>`_
- Don't require a tox config file for ``tox --devenv`` - by :user:`hroncok`
`1643 <https://github.com/tox-dev/tox/issues/1643>`_


Documentation
^^^^^^^^^^^^^

- Fixed grammar in top-level documentation - by :user:`tfurf`
`1631 <https://github.com/tox-dev/tox/issues/1631>`_

3.18.1

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

Bugfixes
^^^^^^^^

- Fix ``TypeError`` when using isolated_build with backends that are not submodules (e.g. ``maturin``)
`1629 <https://github.com/tox-dev/tox/issues/1629>`_

3.18.0

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

Deprecations (removal in next major release)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Add allowlist_externals alias to whitelist_externals (whitelist_externals is now deprecated). - by :user:`dajose`
`1491 <https://github.com/tox-dev/tox/issues/1491>`_

3.17.1

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

Bugfixes
^^^^^^^^

- Fix tests when the ``HOSTNAME`` environment variable is set, but empty string - by :user:`hroncok`
`1616 <https://github.com/tox-dev/tox/issues/1616>`_

3.17.0

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

Features
^^^^^^^^

- The long arguments ``--verbose`` and ``--quiet`` (rather than only their short forms, ``-v`` and ``-q``) are now accepted.
`1612 <https://github.com/tox-dev/tox/issues/1612>`_
- The ``ResultLog`` now prefers ``HOSTNAME`` environment variable value (if set) over the full qualified domain name of localhost.
This makes it possible to disable an undesired DNS lookup,
which happened on all ``tox`` invocations, including trivial ones - by :user:`hroncok`
`1615 <https://github.com/tox-dev/tox/issues/1615>`_


Documentation
^^^^^^^^^^^^^

- Update packaging information for Flit.
`1613 <https://github.com/tox-dev/tox/issues/1613>`_

3.16.1

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

Bugfixes
^^^^^^^^

- Fixed the support for using ``{temp_dir}`` in ``tox.ini`` - by :user:`webknjaz`
`1609 <https://github.com/tox-dev/tox/issues/1609>`_

3.16.0

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

Features
^^^^^^^^

- Allow skipping the package and installation step when passing the ``--skip-pkg-install``. This should be used in pair with the ``--notest``, so you can separate environment setup and test run:

.. code-block:: console

   tox -e py --notest
   tox -e py --skip-pkg-install

by :user:`gaborbernat`.
`1605 <https://github.com/tox-dev/tox/issues/1605>`_


Miscellaneous
^^^^^^^^^^^^^

- Improve config parsing performance by precompiling commonly used regular expressions - by :user:`brettlangdon`
`1603 <https://github.com/tox-dev/tox/issues/1603>`_

3.15.2

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

Bugfixes
^^^^^^^^

- Add an option to allow a process to suicide before sending the SIGTERM. - by :user:`jhesketh`
`1497 <https://github.com/tox-dev/tox/issues/1497>`_
- PyPy 7.3.1 on Windows uses the ``Script`` folder instead of ``bin``. - by :user:`gaborbernat`
`1597 <https://github.com/tox-dev/tox/issues/1597>`_


Miscellaneous
^^^^^^^^^^^^^

- Allow to run the tests with pip 19.3.1 once again while preserving the ability to use pip 20.1 - by :user:`hroncok`
`1594 <https://github.com/tox-dev/tox/issues/1594>`_

3.15.1

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

Bugfixes
^^^^^^^^

- ``tox --showconfig`` no longer tries to interpolate '%' signs.
`1585 <https://github.com/tox-dev/tox/issues/1585>`_

3.15.0

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

Bugfixes
^^^^^^^^

- Respect attempts to change ``PATH`` via ``setenv`` - by :user:`aklajnert`.
`1423 <https://github.com/tox-dev/tox/issues/1423>`_
- Fix parsing of architecture in python interpreter name. - by :user:`bruchar1`
`1542 <https://github.com/tox-dev/tox/issues/1542>`_
- Prevent exception when command is empty. - by :user:`bruchar1`
`1544 <https://github.com/tox-dev/tox/issues/1544>`_
- Fix irrelevant Error message for invalid argument when running outside a directory with tox support files by :user:`nkpro2000sr`.
`1547 <https://github.com/tox-dev/tox/issues/1547>`_


Features
^^^^^^^^

- Allow parallel mode without arguments. - by :user:`ssbarnea`
`1418 <https://github.com/tox-dev/tox/issues/1418>`_
- Allow generative section name expansion. - by :user:`bruchar1`
`1545 <https://github.com/tox-dev/tox/issues/1545>`_
- default to passing the env var PIP_EXTRA_INDEX_URL by :user:`georgealton`.
`1561 <https://github.com/tox-dev/tox/issues/1561>`_


Documentation
^^^^^^^^^^^^^

- Improve documentation about config by adding tox environment description at start - by :user:`stephenfin`.
`1573 <https://github.com/tox-dev/tox/issues/1573>`_

3.14.6

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

Bugfixes
^^^^^^^^

- Exclude virtualenv dependency versions with known
regressions (20.0.[0-7]) - by :user:`webknjaz`.
`1537 <https://github.com/tox-dev/tox/issues/1537>`_
- Fix ``tox -h`` and ``tox --hi`` shows an error when run outside a directory with tox support files by :user:`nkpro2000sr`.
`1539 <https://github.com/tox-dev/tox/issues/1539>`_
- Fix ValueError on ``tox -l`` for a ``tox.ini`` file that does not contain an
``envlist`` definition. - by :user:`jquast`.
`1343 <https://github.com/tox-dev/tox/issues/1343>`_

3.14.5

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

Features
^^^^^^^^

- Add ``--discover`` (fallback to ``TOX_DISCOVER`` environment variable via path separator) to inject python executables
to try as first step of a discovery - note the executable still needs to match the environment by :user:`gaborbernat`.
`1526 <https://github.com/tox-dev/tox/issues/1526>`_

3.14.4

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

Bugfixes
^^^^^^^^

- Bump minimal six version needed to avoid using one incompatible with newer
virtualenv. - by :user:`ssbarnea`
`1519 <https://github.com/tox-dev/tox/issues/1519>`_
- Avoid pypy test failure due to undefined printout var. - by :user:`ssbarnea`
`1521 <https://github.com/tox-dev/tox/issues/1521>`_


Features
^^^^^^^^

- Add ``interrupt_timeout`` and ``terminate_timeout`` that configure delay between SIGINT, SIGTERM and SIGKILL when tox is interrupted. - by :user:`sileht`
`1493 <https://github.com/tox-dev/tox/issues/1493>`_
- Add ``HTTP_PROXY``, ``HTTPS_PROXY`` and ``NO_PROXY`` to default passenv. - by :user:`pfmoore`
`1498 <https://github.com/tox-dev/tox/issues/1498>`_

3.14.3

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

Bugfixes
^^^^^^^^

- Relax importlib requirement to allow either version 0 or 1 - by :user:`chyzzqo2`
`1476 <https://github.com/tox-dev/tox/issues/1476>`_

Miscellaneous
^^^^^^^^^^^^^

- Clarify legacy setup.py error message: python projects should commit to a strong consistency of message regarding packaging. We no-longer tell people to add a setup.py to their already configured pep-517 project, otherwise it could imply that pyproject.toml isn't as well supported and recommended as it truly is - by :user:`graingert`
`1478 <https://github.com/tox-dev/tox/issues/1478>`_

3.14.2

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

Bugfixes
^^^^^^^^

- Fix fallback to global configuration when running in Jenkins. - by :user:`daneah`
`1428 <https://github.com/tox-dev/tox/issues/1428>`_
- Fix colouring on windows: colorama is a dep. - by :user:`1138-4EB`
`1471 <https://github.com/tox-dev/tox/issues/1471>`_


Miscellaneous
^^^^^^^^^^^^^

- improve performance with internal lookup of Python version information - by :user:`blueyed`
`1462 <https://github.com/tox-dev/tox/issues/1462>`_
- Use latest version of importlib_metadata package - by :user:`kammala`
`1472 <https://github.com/tox-dev/tox/issues/1472>`_
- Mark poetry related tests as xfail since its dependency pyrsistent won't install in ci due to missing wheels/build deps. - by :user:`RonnyPfannschmidt`
`1474 <https://github.com/tox-dev/tox/issues/1474>`_

3.14.1

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

Bugfixes
^^^^^^^^

- fix reporting of exiting due to (real) signals - by :user:`blueyed`
`1401 <https://github.com/tox-dev/tox/issues/1401>`_
- Bump minimal virtualenv to 16.0.0 to improve own transitive
deps handling in some ancient envs. — by :user:`webknjaz`
`1429 <https://github.com/tox-dev/tox/issues/1429>`_
- Adds ``CURL_CA_BUNDLE``, ``REQUESTS_CA_BUNDLE``, ``SSL_CERT_FILE`` to the default passenv values. - by :user:`ssbarnea`
`1437 <https://github.com/tox-dev/tox/issues/1437>`_
- Fix nested tox execution in the parallel mode by separating the environment
variable that let's tox know it is invoked in the parallel mode
(``_TOX_PARALLEL_ENV``) from the variable that informs the tests that tox is
running in parallel mode (``TOX_PARALLEL_ENV``).
— by :user:`hroncok`
`1444 <https://github.com/tox-dev/tox/issues/1444>`_
- Fix provisioning from a pyvenv interpreter. — by :user:`kentzo`
`1452 <https://github.com/tox-dev/tox/issues/1452>`_


Deprecations (removal in next major release)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Python ``3.4`` is no longer supported. — by :user:`gaborbernat`
`1456 <https://github.com/tox-dev/tox/issues/1456>`_

3.14.0

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

Bugfixes
^^^^^^^^

- Fix ``PythonSpec`` detection of ``python3.10`` - by :user:`asottile`
`1374 <https://github.com/tox-dev/tox/issues/1374>`_
- Fix regression failing to detect future and past ``py`` factors  - by :user:`asottile`
`1377 <https://github.com/tox-dev/tox/issues/1377>`_
- Fix ``current_tox_py`` for ``pypy`` / ``pypy3`` - by :user:`asottile`
`1378 <https://github.com/tox-dev/tox/issues/1378>`_
- Honor environment markers in ``requires`` list - by :user:`asottile`
`1380 <https://github.com/tox-dev/tox/issues/1380>`_
- improve recreate check by allowing directories containing ``.tox-config1`` (the marker file created by tox) - by :user:`asottile`
`1383 <https://github.com/tox-dev/tox/issues/1383>`_
- Recognize correctly interpreters that have suffixes (like python3.7-dbg).
`1415 <https://github.com/tox-dev/tox/issues/1415>`_


Features
^^^^^^^^

- Add support for minor versions with multiple digits ``tox -e py310`` works for ``python3.10`` - by :user:`asottile`
`1374 <https://github.com/tox-dev/tox/issues/1374>`_
- Remove dependence on ``md5`` hashing algorithm - by :user:`asottile`
`1384 <https://github.com/tox-dev/tox/issues/1384>`_


Documentation
^^^^^^^^^^^^^

- clarify behaviour if recreate is set to false - by :user:`PJCampi`
`1399 <https://github.com/tox-dev/tox/issues/1399>`_


Miscellaneous
^^^^^^^^^^^^^

- Fix relative URLs to files in the repo in ``.github/PULL_REQUEST_TEMPLATE.md`` — by :user:`webknjaz`
`1363 <https://github.com/tox-dev/tox/issues/1363>`_
- Replace ``importlib_metadata`` backport with ``importlib.metadata``
from the standard library on Python ``3.8+`` - by :user:`hroncok`
`1367 <https://github.com/tox-dev/tox/issues/1367>`_
- Render the change fragment help on the ``docs/changelog/`` directory view on GitHub — by :user:`webknjaz`
`1370 <https://github.com/tox-dev/tox/issues/1370>`_

3.13.2

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

Bugfixes
^^^^^^^^

- on venv cleanup: add explicit check for pypy venv to make it possible to recreate it - by :user:`obestwalter`
`1355 <https://github.com/tox-dev/tox/issues/1355>`_
- non canonical names within :conf:`requires` cause infinite provisioning loop - by :user:`gaborbernat`
`1359 <https://github.com/tox-dev/tox/issues/1359>`_

3.13.1

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

Bugfixes
^^^^^^^^

- Fix isolated build double-requirement - by :user:`asottile`.
`1349 <https://github.com/tox-dev/tox/issues/1349>`_

3.13.0

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

Bugfixes
^^^^^^^^

- tox used Windows shell rules on non-Windows platforms when transforming
positional arguments to a string - by :user:`barneygale`.
`1336 <https://github.com/tox-dev/tox/issues/1336>`_


Features
^^^^^^^^

- Replace ``pkg_resources`` with ``importlib_metadata`` for speed - by :user:`asottile`.
`1324 <https://github.com/tox-dev/tox/issues/1324>`_
- Add the ``--devenv ENVDIR`` option for creating development environments from ``[testenv]`` configurations - by :user:`asottile`.
`1326 <https://github.com/tox-dev/tox/issues/1326>`_
- Refuse to delete ``envdir`` if it doesn't look like a virtualenv - by :user:`asottile`.
`1340 <https://github.com/tox-dev/tox/issues/1340>`_

3.12.1

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

Bugfixes
^^^^^^^^

- Ensure ``TOX_WORK_DIR`` is a native string in ``os.environ`` - by :user:`asottile`.
`1313 <https://github.com/tox-dev/tox/issues/1313>`_
- Fix import and usage of ``winreg`` for python2.7 on windows - by :user:`asottile`.
`1315 <https://github.com/tox-dev/tox/issues/1315>`_
- Fix Windows selects incorrect spec on first discovery - by :user:`gaborbernat`
`1317 <https://github.com/tox-dev/tox/issues/1317>`_

3.12.0

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

Bugfixes
^^^^^^^^

- When using ``--parallel`` with ``--result-json`` the test results are now included the same way as with serial runs - by :user:`fschulze`
`1295 <https://github.com/tox-dev/tox/issues/1295>`_
- Turns out the output of the ``py -0p`` is not stable yet and varies depending on various edge cases. Instead now we read the interpreter values directly from registry via `PEP-514 <https://www.python.org/dev/peps/pep-0514>`_ - by :user:`gaborbernat`.
`1306 <https://github.com/tox-dev/tox/issues/1306>`_


Features
^^^^^^^^

- Adding ``TOX_PARALLEL_NO_SPINNER`` environment variable to disable the spinner in parallel mode for the purposes of clean output when using CI tools - by :user:`zeroshift`
`1184 <https://github.com/tox-dev/tox/issues/1184>`_

3.11.1

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

Bugfixes
^^^^^^^^

- When creating virtual environments we no longer ask the python to tell its path, but rather use the discovered path.
`1301 <https://github.com/tox-dev/tox/issues/1301>`_

3.11.0

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

Features
^^^^^^^^

- ``--showconfig`` overhaul:

- now fully generated via the config parser, so anyone can load it by using the built-in python config parser
- the ``tox`` section contains all configuration data from config
- the ``tox`` section contains a ``host_python`` key detailing the path of the host python
- the ``tox:version`` section contains the versions of all packages tox depends on with their version
- passing ``-l`` now allows only listing default target envs
- allows showing config for a given set of tox environments only via the ``-e`` cli flag or the ``TOXENV`` environment
 variable, in this case the ``tox`` and ``tox:version`` section is only shown if at least one verbosity flag is passed

this should help inspecting the options.
`1298 <https://github.com/tox-dev/tox/issues/1298>`_

3.10.0

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

Bugfixes
^^^^^^^^

- fix for ``tox -l`` command: do not allow setting the ``TOXENV`` or the ``-e`` flag to override the listed default environment variables, they still show up under extra if non defined target - by :user:`gaborbernat`
`720 <https://github.com/tox-dev/tox/issues/720>`_
- tox ignores unknown CLI arguments when provisioning is on and outside of the provisioned environment (allowing
provisioning arguments to be forwarded freely) - by :user:`gaborbernat`
`1270 <https://github.com/tox-dev/tox/issues/1270>`_


Features
^^^^^^^^

- Virtual environments created now no longer upgrade pip/wheel/setuptools to the latest version. Instead the start
packages after virtualenv creation now is whatever virtualenv has bundled in. This allows faster virtualenv
creation and builds that are easier to reproduce.
`448 <https://github.com/tox-dev/tox/issues/448>`_
- Improve python discovery and add architecture support:
- UNIX:

  - First, check if the tox host Python matches.
  - Second, check if the the canonical name (e.g. ``python3.7``, ``python3``) matches or the base python is an absolute path, use that.
  - Third, check if the the canonical name without version matches (e.g. ``python``, ``pypy``) matches.

- Windows:

  - First, check if the tox host Python matches.
  - Second, use the ``py.exe`` to list registered interpreters and any of those match.
  - Third, check if the the canonical name (e.g. ``python3.7``, ``python3``) matches or the base python is an absolute path, use that.
  - Fourth, check if the the canonical name without version matches (e.g. ``python``, ``pypy``) matches.
  - Finally, check for known locations (``c:\python{major}{minor}\python.exe``).


tox environment configuration generation is now done in parallel (to alleviate the slowdown due to extra
checks).
`1290 <https://github.com/tox-dev/tox/issues/1290>`_
Links

@pyup-bot pyup-bot mentioned this pull request May 5, 2021
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.

1 participant