File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ Add faq entry about re-use of environments - by :user: `jugmac00 `.
Original file line number Diff line number Diff line change @@ -121,6 +121,23 @@ tox 4 -- output changes
121
121
- We now use colors for reporting, to help make the output easier to read for humans. This can be disabled via the
122
122
``TERM=dumb `` or ``NO_COLOR=1 `` environment variables, or the ``--colored no `` CLI argument.
123
123
124
+ tox 4 -- re-use of environments
125
+ +++++++++++++++++++++++++++++++
126
+
127
+ - It is no longer possible to re-use environments. While this might have been possible with tox version 3, this
128
+ behavior was never supported, and possibly caused wrong results as illustrated in the following example.
129
+
130
+ .. code-block :: ini
131
+
132
+ [testenv]
133
+ envdir = .tox/venv
134
+
135
+ [testenv:a]
136
+ deps = pytest>7
137
+
138
+ [testenv:b]
139
+ deps = pytest<7
140
+
124
141
New features in tox 4
125
142
---------------------
126
143
Here is a non-exhaustive list of these.
You can’t perform that action at this time.
0 commit comments