refined-addition-53644
12/16/2021, 9:32 AMplatform
option when building pex_binary
as mentioned in the documentation. Does this mean if I build a .pex
on macos and copy it to a docker whose base image which isn't mac, then I need to also build explicitly .pex
compatible with the base docker image?
https://www.pantsbuild.org/docs/reference-pex_binary#codeplatformscodecurved-television-6568
12/16/2021, 10:42 AMplatforms=['linux-x86_64-cp-38-cp38']
on the pex_binary
target.refined-addition-53644
12/16/2021, 11:19 AMThere must be built wheels available for all of the foreign platforms, rather than sdists.
curved-television-6568
12/16/2021, 11:21 AMrefined-addition-53644
12/16/2021, 11:22 AMcurved-television-6568
12/16/2021, 11:30 AMrefined-addition-53644
12/16/2021, 11:30 AMcurved-television-6568
12/16/2021, 11:32 AMhundreds-father-404
12/16/2021, 4:25 PMplatform
. Sometimes you get lucky that every single transitive dep already releases wheels for you. Often you have to either somehow prune those deps or more realistically prebuild themgifted-soccer-38559
12/16/2021, 7:19 PM