-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add option to install only dev dependencies (#2572) #2917
Conversation
cd0c1ae
to
a461281
Compare
Hi! Is there anything I can do to help get this merged? It would be hugely helpful for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your contribution @opelr. 👍
This one looks good to me. Can you please rebase onto master again, to force the tests to run again?
fin swimmer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the quick rebase.
Just one more thing. At the moment the project itself get's installed at the end. I think we should disable this, just like one can do with the --no-root
flag.
Add an option to poetry install to install only dev dependencies, e.g. poetry install --dev-only. Fixes python-poetry#2572
@finswimmer Sounds good! I updated my commit to reflect your request, let me know if that's what you had in mind. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot 🚀
Thanks!! y'all are heros |
Hi @opelr @finswimmer, this is a very useful feature for me, many thanks for getting it done. |
@finswimmer it would be very helpful for our team to use this feature! Even if it was just in a preview release, our team could start taking advantage of this. Thank you for your work on this project! 💪 |
This aligns option to existing options like --no-dev and --no-root. Relates-to: python-poetry#2917
This aligns option to existing options like --no-dev and --no-root. Relates-to: python-poetry#2917
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. |
Pull Request Check List
Resolves: #2572