Skip to content
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

poetry_install_extra_args passes arguments to poetry config #173

Open
jmw52 opened this issue Oct 30, 2023 · 1 comment
Open

poetry_install_extra_args passes arguments to poetry config #173

jmw52 opened this issue Oct 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jmw52
Copy link

jmw52 commented Oct 30, 2023

  • Using kubernetes integration with clearml-k8s glue to create agents.
  • When setting agent config with poetry_install_extra_args
agent {
      package_manager: {
        type: poetry
        poetry_install_extra_args: ["--without", "dev"]
      }
    }

the following error occurs:

The option "--without" does not exist
Exception: Command '['poetry', 'config', '--local', 'virtualenvs.in-project', 'true', '--without', 'dev']' returned non-zero exit status 1.
Error: Failed configuring Poetry virtualenvs.in-project
failed installing poetry requirements: Command '['poetry', 'config', '--local', 'virtualenvs.in-project', 'true', '--without', 'dev']' returned non-zero exit status 1.

It looks like the arguments are passed to command poetry config, which does not accept these arguments.

@ainoam
Copy link

ainoam commented Oct 30, 2023

Thanks for reporting @jmw52,

We'll let you know when a fix is available.

@jkhenning jkhenning added the bug Something isn't working label Oct 30, 2023
@jkhenning jkhenning changed the title BUG: poetry_install_extra_args passes arguments to poetry config poetry_install_extra_args passes arguments to poetry config Oct 30, 2023
clearml-bot pushed a commit that referenced this issue Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants