red-pizza-32658
12/19/2025, 10:30 PMpants export and it seems to take a long time without seemingly doing anything. Looking to see how I might be able to speed it up. Logs in thread.red-pizza-32658
12/19/2025, 10:31 PM17:25:23.74 [INFO] Completed: Scheduling: Find interpreter for constraints: CPython<4,>=3.13
17:25:23.75 [INFO] Completed: Scheduling: Get interpreter version
17:26:39.93 [INFO] Extending leases
17:26:39.99 [INFO] Done extending leases
17:27:59.99 [INFO] Extending leases
17:28:00.06 [INFO] Done extending leases
17:29:07.79 [INFO] Completed: Build pex for resolve `python-default`
17:29:07.79 [INFO] Completed: Scheduling: Build pex for resolve `python-default`
17:29:07.80 [INFO] notify invalidation: cleared 1 and dirtied 6180 nodes for: {"", ".tmpg8TTdr.hardlink_canary"}
17:29:07.80 [INFO] notify invalidation: cleared 0 and dirtied 0 nodes for: {"", ".tmpg8TTdr.hardlink_canary"}
17:29:20.06 [INFO] Extending leases
17:29:20.27 [INFO] Done extending leasesred-pizza-32658
12/19/2025, 10:31 PMred-pizza-32658
12/19/2025, 10:32 PMpants --keep-sandboxes=on_failure export --resolve=python-defaultred-pizza-32658
12/19/2025, 10:32 PMred-pizza-32658
12/19/2025, 10:44 PMred-pizza-32658
12/19/2025, 10:44 PMred-pizza-32658
12/19/2025, 10:44 PM./.pants.d/workdir/run-tracker/pants_run.../logsred-pizza-32658
12/19/2025, 10:44 PMhappy-kitchen-89482
12/20/2025, 7:30 PMexport and not packagered-pizza-32658
12/22/2025, 7:21 PMexport is right for that, but I'm no experthappy-kitchen-89482
12/22/2025, 9:35 PMhappy-kitchen-89482
12/22/2025, 9:39 PMexport produces a virtualenv, not a pexhappy-kitchen-89482
12/22/2025, 9:40 PMpy_resolve_format to symlinked_immutable_virtualenv (see https://www.pantsbuild.org/stable/reference/goals/export#py_resolve_format)happy-kitchen-89482
12/22/2025, 9:40 PMhappy-kitchen-89482
12/22/2025, 9:40 PMhappy-kitchen-89482
12/22/2025, 9:42 PM--keep-sandboxes=always which will conserve the sandbox that the exporting process is run in (and print its location to the console). Then you can look at that command (it's in __run.sh in the sandbox) and run it outside pants with more fine-grained debugging infored-pizza-32658
12/22/2025, 10:30 PM