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
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)
The text was updated successfully, but these errors were encountered:
Issue
The changelog currently mentions a bug fix around
poetry run
:But this is actually a breaking change. On Poetry 1.1, the following:
would run
foo -- arg1 arg2
in the poetry environment, but on Poetry 1.2, the--
is handled bypoetry
and stripped. This causes issues with tox, becausetox -- arg1 arg2
is very different fromtox 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 ofrun
in the CHANGELOG, and it ended up being under the 1.2.0a section)The text was updated successfully, but these errors were encountered: