Can I use my own custom installer ? 馃獩 #7331
-
Poetry plugin is a wonderful feature for extending functionality. I understand that currently poetry object is exposed. Can I also tweak Installer object or use a custom installer through the plugin feature ? Poetry's Installer: I'm thinking of using my own custom based solver. Poetry's Solver: poetry/src/poetry/puzzle/solver.py Line 38 in 3fe8838 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
That's probably not the intended use of plugins and doubt whether that's a good idea but you can patch almost every part of poetry in a plugin. However, you should be aware that updating to a new version of poetry becomes harder the more you are relying on specific internals. See https://python-poetry.org/docs/master/plugins/#maintaining-a-plugin |
Beta Was this translation helpful? Give feedback.
-
Thanks @radoering |
Beta Was this translation helpful? Give feedback.
That's probably not the intended use of plugins and doubt whether that's a good idea but you can patch almost every part of poetry in a plugin. However, you should be aware that updating to a new version of poetry becomes harder the more you are relying on specific internals. See https://python-poetry.org/docs/master/plugins/#maintaining-a-plugin