gifted-lunch-20593
12/09/2024, 9:15 PMrepl
and run
current working directory is NOT set to a sandbox dir, even though they are created. Looks like a bug to me.happy-kitchen-89482
12/10/2024, 12:13 AMhappy-kitchen-89482
12/10/2024, 12:14 AMhappy-kitchen-89482
12/10/2024, 12:15 AMrun
or repl
) would not know what to do with a sandbox, since it has no knowledge of it or ability to affect its creationhappy-kitchen-89482
12/10/2024, 12:16 AMhappy-kitchen-89482
12/10/2024, 12:16 AMgifted-lunch-20593
12/10/2024, 12:42 PMfile(source=http_source
? Can't export the downloaded file and there are no env vars pointing to chroot
in neither repl
nor run
. Only reliable way I found to hack it is to use preview-environments with shell-command
.
I can't use resource
, because the files are multi-GBs and I don't want to make container images large.happy-kitchen-89482
12/10/2024, 8:43 PMimportlib.resources
, that locates data on the PYTHONPATH.happy-kitchen-89482
12/10/2024, 8:45 PMresource
target, which you don’t want to use because you don’t want the file to be embedded in an imagehappy-kitchen-89482
12/10/2024, 8:46 PM