Skip to content

Commit f9357e7

Browse files
authored
Make sure tox_on_install() hook is called in UvVenvLockRunner._setup_env() (#241)
1 parent 7d5207c commit f9357e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tox_uv/_run_lock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _setup_env(self) -> None: # noqa: C901,PLR0912
124124
if install_pkg is not None:
125125
path = Path(install_pkg)
126126
pkg = (WheelPackage if path.suffix == ".whl" else SdistPackage)(path, deps=[])
127-
self.installer.install([pkg], "install-pkg", of_type="external")
127+
self._install([pkg], "install-pkg", of_type="external")
128128

129129
@property
130130
def environment_variables(self) -> dict[str, str]:

0 commit comments

Comments
 (0)