How can I pass custom environment variables to wha...
# general
g
How can I pass custom environment variables to whatever creates pytest_runner.pex?
g
I think I tried that and it didn't work.
Not sure though.
c
This is worth a shot. Despite being phrased like it applies generically, it is not true. (it should be) It's not applied generically so it's per call-site to respect this subsystem setting. https://www.pantsbuild.org/2.20/reference/subsystems/subprocess-environment#env_vars
another option, if it is regarding building native code during installation of 3rdparty libs, these options could be useful: https://www.pantsbuild.org/2.20/reference/subsystems/python-native-code
g
Thanks @curved-television-6568!