@@ -213,6 +213,10 @@ commands =
213
213
[testenv:cleanup-dists]
214
214
description =
215
215
Wipe the the dist{/} folder
216
+ # NOTE: `package_env = none` is needed so it's possible to use `--installpkg`
217
+ # NOTE: with the main `testenv`.
218
+ # Ref: https://github.com/tox-dev/tox/issues/2442
219
+ package_env = ❌ DUMMY NON-EXISTENT ENV NAME ❌
216
220
usedevelop = false
217
221
skip_install = true
218
222
deps =
@@ -248,6 +252,10 @@ install_command =
248
252
' {toxinidir}{/}requirements{/}' \
249
253
install {opts} {packages}
250
254
isolated_build = true
255
+ # NOTE: `package_env = none` is needed so it's possible to use `--installpkg`
256
+ # NOTE: with the main `testenv`.
257
+ # Ref: https://github.com/tox-dev/tox/issues/2442
258
+ package_env = ❌ DUMMY NON-EXISTENT ENV NAME ❌
251
259
# `usedevelop = true` overrides `skip_install` instruction, it's unwanted
252
260
usedevelop = false
253
261
skip_install = true
@@ -280,6 +288,10 @@ depends =
280
288
build-dists
281
289
deps =
282
290
twine
291
+ # NOTE: `package_env = none` is needed so it's possible to use `--installpkg`
292
+ # NOTE: with the main `testenv`.
293
+ # Ref: https://github.com/tox-dev/tox/issues/2442
294
+ package_env = ❌ DUMMY NON-EXISTENT ENV NAME ❌
283
295
usedevelop = false
284
296
skip_install = true
285
297
commands_pre =
@@ -294,6 +306,10 @@ commands =
294
306
{env:PEP517_OUT_DIR}{/}*
295
307
296
308
[testenv:release]
309
+ # NOTE: `package_env = none` is needed so it's possible to use `--installpkg`
310
+ # NOTE: with the main `testenv`.
311
+ # Ref: https://github.com/tox-dev/tox/issues/2442
312
+ package_env = ❌ DUMMY NON-EXISTENT ENV NAME ❌
297
313
skip_install = True
298
314
deps =
299
315
pep517>=0.5
0 commit comments