How can I ensure that the `chroot` folder is saved...
# general
g
How can I ensure that the
chroot
folder is saved after the packaging is done? I ran the packaging with
Copy code
pants package my-lib --keep-sandboxes=always
I see there are some temp folders created but none of them have the chroot. I see the folder structure of the chroot when any failure occurs.
1
b
Hm, that’s a bit weird if the listed sandboxes are all empty or irrelevant. Can you create a reduced example to demonstrate the problem?
g
Ah nevermind, I see the chroot now. I had an issue, where the generated package had no files in it. However, this issue was with the
pyproject.toml
config. Now that I have fixed it. I can see the
chroot
as well in the
tmp
location.
🎉 1