Skip to content

Commit

Permalink
Document problems with plugin and provision env (refs tox-dev#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziima committed Oct 7, 2022
1 parent 8282e9e commit e748920
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/config.rst
Expand Up @@ -76,6 +76,11 @@ Global settings are defined under the ``tox`` section as:
When tox is invoked with the ``--no-provision`` flag,
the provision won't be attempted, tox will fail instead.

.. warning::

The new virtual environment will only contain dependencies specified by the :conf:`requires` keyword.
Any plugin used by the `tox` executable and not specified in `requires` explicitely won't be used for subsequent tasks.

.. conf:: toxworkdir ^ PATH ^ {toxinidir}/.tox

Directory for tox to generate its environments into, will be created if it does not exist.
Expand Down
5 changes: 5 additions & 0 deletions docs/plugins.rst
Expand Up @@ -72,6 +72,11 @@ and locations of all installed plugins::
registered plugins:
tox-travis-0.10 at /home/ob/.virtualenvs/tmp/lib/python3.6/site-packages/tox_travis/hooks.py

.. warning::

If the `tox.ini` used specifies :conf:`minversion` or :conf:`requires` options then registered plugins may not have any effect.
See :conf:`provision_tox_env` for details.


Creating a plugin
-----------------
Expand Down

0 comments on commit e748920

Please sign in to comment.