cool-easter-32542
02/08/2024, 2:01 AM.deps/<dep name>-<dep version>-<python impl abbr><python version>-<abi>-manylinux_2_28_x86_64.whl
Whereas in the other OS, with exactly the same BUILD and requirement files I get something like this for the same dependency
.deps/<dep name>-<dep version>-<python impl abbr><python version>-<abi>-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
The PEX file built in the first OS does not run in the second:
pex.environment.ResolveError: A distribution for <dep name> could not be resolved in this environment.
Found 1 distribution for <dep name> that do not apply:
1.) The wheel tags for <dep name> <dep version> are
<python impl abbr><python version>-<abi>-manylinux_2_28_x86_64
which do not match the supported tags of DistributionTarget(interpreter=PythonInteentity(...
I tried using the attribute pex_binary.platforms but I cannot find the right strings to use.
Can pants build a PEX file including dependencies for both manylinux_2_17_x86_64 and manylinux_2_28_x86_64?
If so, how?
pantsbuild/pantscool-easter-32542
02/08/2024, 6:41 PM