Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog/2788.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add faq entry about re-use of environments - by :user:`jugmac00`.
17 changes: 17 additions & 0 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,23 @@ tox 4 -- output changes
- We now use colors for reporting, to help make the output easier to read for humans. This can be disabled via the
``TERM=dumb`` or ``NO_COLOR=1`` environment variables, or the ``--colored no`` CLI argument.

tox 4 -- re-use of environments
+++++++++++++++++++++++++++++++

- It is no longer possible to re-use environments. While this might have been possible with tox version 3, this
behavior was never supported, and possibly caused wrong results as illustrated in the following example.

.. code-block:: ini

[testenv]
envdir = .tox/venv

[testenv:a]
deps = pytest>7

[testenv:b]
deps = pytest<7

New features in tox 4
---------------------
Here is a non-exhaustive list of these.
Expand Down