diff --git a/clearml_agent/backend_api/config/default/agent.conf b/clearml_agent/backend_api/config/default/agent.conf index ed87a17..6af24de 100644 --- a/clearml_agent/backend_api/config/default/agent.conf +++ b/clearml_agent/backend_api/config/default/agent.conf @@ -31,8 +31,13 @@ # ignore_requested_python_version: true # select python package manager: - # currently supported pip and conda - # poetry is used if pip selected and repository contains poetry.lock file + # currently supported: pip, conda and poetry + # if "pip" or "conda" are used, the agent installs the required packages + # based on the "installed packages" section of the Task. If the "installed packages" is empty, + # it will revert to using `requirements.txt` from the repository's root directory. + # If Poetry is selected and the root repository contains `poetry.lock` or `pyproject.toml`, + # the "installed packages" section is ignored, and poetry is used. + # If Poetry is selected and no lock file is found, it reverts to "pip" package manager behaviour. package_manager: { # supported options: pip, conda, poetry type: pip, diff --git a/docs/clearml.conf b/docs/clearml.conf index c2541f3..a98c8f1 100644 --- a/docs/clearml.conf +++ b/docs/clearml.conf @@ -47,8 +47,13 @@ agent { # ignore_requested_python_version: true # select python package manager: - # currently supported pip and conda - # poetry is used if pip selected and repository contains poetry.lock file + # currently supported: pip, conda and poetry + # if "pip" or "conda" are used, the agent installs the required packages + # based on the "installed packages" section of the Task. If the "installed packages" is empty, + # it will revert to using `requirements.txt` from the repository's root directory. + # If Poetry is selected and the root repository contains `poetry.lock` or `pyproject.toml`, + # the "installed packages" section is ignored, and poetry is used. + # If Poetry is selected and no lock file is found, it reverts to "pip" package manager behaviour. package_manager: { # supported options: pip, conda, poetry type: pip,