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
Add breaking change to 'poetry run' to changelog #6440
But this is actually a breaking change. On Poetry 1.1, the following:
poetry run foo -- arg1 arg2
would run foo -- arg1 arg2 in the poetry environment, but on Poetry 1.2, the -- is handled by poetry and stripped. This causes issues with tox, because tox -- arg1 arg2 is very different from tox arg1 arg2. With Poetry 1.2, the following is now required (as opposed to before, when it was optional): poetry run -- foo -- arg1 arg2. It's currently very difficult to search for this change in behavior in the CHANGELOG (I had to search for any instances of run in the CHANGELOG, and it ended up being under the 1.2.0a section)
Activity
catcombo commentedon Sep 14, 2022
We have the same problem running custom Django command that accepts another command with arguments.
neersighted commentedon Sep 20, 2022
This is known -- I've just pushed an update to the release notes calling it out, and linking here.
github-actions commentedon Mar 1, 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.