From 2476e95b3f50b0f584ac17bc25eaaa77fb876671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Wed, 7 Dec 2022 16:21:41 -0800 Subject: Create session views of the build wheel/sdist into temp_dir (#2614) Resolves https://github.com/tox-dev/tox/issues/2612 --- src/tox/config/sets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tox/config/sets.py') diff --git a/src/tox/config/sets.py b/src/tox/config/sets.py index c87701f8..0315369a 100644 --- a/src/tox/config/sets.py +++ b/src/tox/config/sets.py @@ -199,8 +199,8 @@ class CoreConfigSet(ConfigSet): self.add_config( keys=["temp_dir"], of_type=Path, - default=lambda conf, _: cast(Path, self["tox_root"]) / ".tmp", # noqa: U100, U101 - desc="temporary directory cleaned at start", + default=lambda conf, _: cast(Path, self["work_dir"]) / ".tmp", # noqa: U100, U101 + desc="a folder for temporary files (is not cleaned at start)", ) def _on_duplicate_conf(self, key: str, definition: ConfigDefinition[V]) -> None: # noqa: U100 -- cgit v1.2.1