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
In Poetry 2, the -C flag actually changes directories rather than just using the specified directory as the location of the Poetry environment. Some commands in our Makefile depend on not changing directories.
The options for fixing this are:
Use the new --project flag when Poetry 2 is detected (and use -C for Poetry 1)
Still use -C but use absolute paths for directories in CLI commands rather than depending on being in the root directory
Remove usage of -C, prepend any poetry invocation with cd backend &&, and assume $CWD will always be monarch_app/backend
The text was updated successfully, but these errors were encountered:
In Poetry 2, the
-C
flag actually changes directories rather than just using the specified directory as the location of the Poetry environment. Some commands in our Makefile depend on not changing directories.The options for fixing this are:
--project
flag when Poetry 2 is detected (and use-C
for Poetry 1)-C
but use absolute paths for directories in CLI commands rather than depending on being in the root directory-C
, prepend any poetry invocation withcd backend &&
, and assume$CWD
will always bemonarch_app/backend
The text was updated successfully, but these errors were encountered: