mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Fix UV as pip drop-in replacement print
This commit is contained in:
parent
4881b9638d
commit
eed930b9a6
@ -3752,7 +3752,7 @@ class Worker(ServiceCommandSection):
|
||||
# revert to venv that we used inside UV
|
||||
api = None
|
||||
self.package_api = package_api = package_api.get_venv_manager()
|
||||
elif not api:
|
||||
elif self._session.config.get("agent.package_manager.type", None) == "uv" and not api:
|
||||
# this means `agent.package_manager.uv_replace_pip` is set to true
|
||||
print("INFO: using UV as pip drop-in replacement")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user