Question number 2 is: requirements.txt/constraints...
# general
a
Question number 2 is: requirements.txt/constraints.txt contains packages which in total add up to 5GB which is a bit too dangerous for /tmp/ is there a way this can be configured? I tried setting
Copy code
[GLOBAL]
local_execution_root_dir = '...'
but this doesn't change
--dest
in the command above
h
Check out https://www.pantsbuild.org/v2.0/docs/troubleshooting#out-of-space-error-set-an-alternative-tmpdir Also, make sure you have set up a constraints.txt file. This is super important for performance to avoid resolving requirements more than one time. https://www.pantsbuild.org/v2.0/docs/python-third-party-dependencies
Also woah to 5 GB. Do you know what’s causing it to be so huge?
Oh wait sorry, saw you already tried that option. Hm
a
Yes, I have a constraints.txt.
There are just many many packages
first thing i need to sort is installing packages from the internal source, but I anticipated this as the next problem
on the big monorepo everyone uses the same giant virtual environment
That's actually how I started using bazel. A requirement in the giant virtual environment was missing an extra (pip install pkg[extra]) and functions in a totally unrelated library were entering an infinite loop 🙈
e
@acceptable-guitar-79854 re the OP - there is currently no workaround for setting
--dest
but I've filed a bug here to track a fix: https://github.com/pantsbuild/pants/issues/10771
a
Thank you @enough-analyst-54434, as i said in a different thread, i really appreciate your efforts. you guys do a top job!! there is no pressure from my part. thanks again
e
No worries. I have a very strange work schedule and this is a weekday for me.
💪 1
h
a
thank you @hundreds-father-404 and @enough-analyst-54434
❤️ 1