Fix pippip is returned as a pip version if no value exists in agent.package_manager.pip_version

This commit is contained in:
allegroai 2024-02-29 13:53:32 +02:00
parent b34329934b
commit 8d15fd8798

View File

@ -182,7 +182,7 @@ class PackageManager(object):
def get_pip_versions(cls, pip="pip", wrap=''):
return [
(wrap + pip + version + wrap)
for version in cls._pip_version or [pip]
for version in cls._pip_version or [""]
]
def get_cached_venv(self, requirements, docker_cmd, python_version, cuda_version, destination_folder):