You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow add to accept package name and version as a single string #717
I have searched the issues of this repo and believe that this is not a duplicate.
Issue
Please allow add to accept the package name and version constraints in a single string. I.e. poetry add 'something>=2.1' instead of having to use poetry add 'something >=2.1'.
This is slightly related to #429 in that it would also reduce friction for people switching over from other tools (e.g. pip).
Also there is a slight documentation bug here: Neither the docs for the add command nor the command line help include any mention on how to specify version constraints in the first place.
Reacted by Jace Browning, Andy Beaumont and danields761
Activity
sdispater commentedon Nov 1, 2019
This is now possible in the latest beta release (see #1221 for more information).
github-actions commentedon Mar 3, 2024
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.