-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to specify a custom path to pyproject.toml and poetry.lock when running clearml-agent build? #208
Comments
Perhaps a bit late, but have you tried setting
It should work if you run your command from the |
Hi! @TCherici , thanks for your help, but it didn't work for me
instead
@jkhenning could you help me? |
Hi @eugen-ajechiloae-clearml! Could you help me? |
Hi @konstantinator ! |
Hi! @eugen-ajechiloae-clearml ! I have the following structure of my repository:
The poetry files are located in a different folder than the working directory, and I want clearml to fetch the pyproject.toml and poetry.lock files from other folders. I want to pass the path to the directory with the poetry files through
but for some reason, it doesn't work. |
Have you tried changing the current working directory when calling The error seems to suggest that you're running the |
Hi, @TCherici ! I tried, but it doesn't work. |
Hi!
I use Poetry as the package manager in my project. However, I store the pyproject.toml and poetry.lock files in a separate folder named poetry (/my_hello_repo/service/poetry). When I try to restore the environment from my previous setup using the following command:
I receive the following warning in the output:
And my code fails with an error because pip cannot build my environment.
How can I specify the path to these files in the clearml-agent build command or in the agent configuration?
UPD:
I use clearml-agent==1.8.1 and poetry==1.8.2
I've set clearml.conf
And I receive the following warning in the output again:
The text was updated successfully, but these errors were encountered: