happy-kitchen-89482
05/27/2022, 6:38 PMrun
to use the sources directly from the repo instead of sandboxing them. This is necessary for, e.g., Django's makemigrations
, and other processes that operate on the repo itself and compute output locations relative to the sources it's running onhappy-kitchen-89482
05/27/2022, 6:38 PMrhythmic-morning-87313
05/28/2022, 9:14 AMhappy-kitchen-89482
05/28/2022, 3:24 PM./pants run
the CWD is the repo root, so if your code `open()`s a relative path in the repo that should work today. The difference is just how the sys.path is set. Today it points to sandboxed copies of the code, after this change it can instead point to the repo directly.happy-kitchen-89482
05/28/2022, 3:25 PM