early-umbrella-56089
09/05/2023, 8:11 AMcomapany.payments
, comapany.contrib
) and service specific (e.g. my_service.auth
). Any help is welcome 🙂freezing-fall-2672
09/05/2023, 8:12 AMearly-umbrella-56089
09/05/2023, 8:16 AMfreezing-fall-2672
09/05/2023, 8:24 AMfreezing-fall-2672
09/05/2023, 8:25 AMearly-umbrella-56089
09/05/2023, 8:28 AMfreezing-fall-2672
09/05/2023, 8:32 AMfreezing-fall-2672
09/05/2023, 8:33 AMsparse-lifeguard-95737
09/05/2023, 3:42 PMrun_goal_use_sandbox=False
on the targets for our manage.py
files. then we pants run path/to/manage.py -- makemigrations
sparse-lifeguard-95737
09/05/2023, 3:43 PMsparse-lifeguard-95737
09/05/2023, 3:43 PMpants run
of a Python source is always un-sandboxed 🤔 it’s been awhile since I looked at the detailsenough-analyst-54434
09/05/2023, 4:47 PMpex_binary
target for manage.py
and the run_goal_use_sandbox=False
does not exist for pex_binary
targets; only python_source(s)
in this run-a-thing context.early-umbrella-56089
09/06/2023, 6:03 AMearly-umbrella-56089
09/06/2023, 7:41 AMpex_binary
? There is not such option for this target and I don’t want to set it for the whole python_sources
since it should use sandbox in other cases. When I run pants --python-default-run-goal-use-sandbox=false run ...
it will still put the migrations into the sandbox 🤔enough-analyst-54434
09/06/2023, 7:45 AMpex_binary
- that was my point. If you cannot convert your pex_binary
target to a python_source
target and use that instead (or define both ~side-by-side), then you may have to file a feature request.