install only given dev dependency#3623
install only given dev dependency#3623finswimmer wants to merge 1 commit intopython-poetry:masterfrom
Conversation
5513ae1 to
ecaf7eb
Compare
|
I think it would be better to wait for the implementation of the dependency groups before we go this route. Poetry was never about installing single dependencies separately but always about managing groups of dependencies consistently. Also, it could lead to option bloat and confusion which defeats the simplicity purpose of Poetry. |
|
I think rather than providing yet another option, it would be better for Dependency groups look nice but are overkill for parallelized jobs where you want to run one utility, like mypy, without having to install a bunch of other dependencies. The solution to that with dependency groups would be to assign something to multiple groups, one with the package name and another in a broader |
|
Closing this in favor of dependency-groups #4260 |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR introduce a new option
--devfor thepoetry installcommand. Instead of installing all development dependencies, one can use this option, to limit the installation to the given dev dependencies.--devcan be used together with--dev-onlyto decide, whether the dev dependencies should be installed together with the package or without.Closes: #3570
Pull Request Check List