Skip to content

Feature request: support for installing poetry plugins #45

@jfly

Description

@jfly

It would be nice to be able to ensure poetry gets installed with some plugins.

I suppose it would require doing something quite clever with the .tool-versions format. A couple ideas:

  1. Add a special environment variable that contains a (comma separated?) list of plugins to install.
  • This feels unfortunate because it wouldn't give me any mechanism for using poetry 1.2.3 both with a given plugin and without a given plugin.
  1. Do something clever with asdf plugin naming. For example, folks could run asdf plugin-add poetry-with-FOO-with-BAR https://github.com/asdf-community/asdf-poetry.git and under the hood, asdf-plugin would parse the plugin name and install the given plugins (in this case, "FOO" and "BAR") when it installs a particular version of poetry.
    • This is quite a hack, but I think it would work. asdf doesn't seem to pass the plugin name down when invoking install, but we could deduce it from the location of the install script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions