few-arm-93065
02/04/2022, 1:18 AMProcessExecutionFailure: Process 'Building src.[...]/exe.pex with 10 requirements: boto3==1.20.21, cryptography==3.4.8, numpy==1.21.4, overrides==6.1.0, pandas==1.3.5, pyranges==0.0.111, scipy==1.7.3, setuptools==60.7.1, toml==0.10.2, types-toml==0.10.1' failed with exit code 1.
stdout:
stderr:
ERROR: Could not find a version that satisfies the requirement pyranges==0.0.111
ERROR: No matching distribution found for pyranges==0.0.111
ERROR: Could not find a version that satisfies the requirement pyranges==0.0.111
ERROR: No matching distribution found for pyranges==0.0.111
pid 34310 -> /Users/jwarwick/.cache/pants/named_caches/pex_root/venvs/7f518a293766277276f42aa896ce105b056e5634/c31a5b9c4ba316e0b508d32fa17316ce30a6f329/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir /Users/jwarwick/.cache/pants/named_caches/pex_root --log /private/var/folders/3k/1rb9kxyn35z51bc7ny7z1xgw0000gn/T/process-executionC9Rqy4/.tmp/tmpu542abw0/pip.log download --dest /private/var/folders/3k/1rb9kxyn35z51bc7ny7z1xgw0000gn/T/process-executionC9Rqy4/.tmp/tmph7y1egmo/manylinux2014_aarch64-cp-39-cp39 --platform manylinux2014_aarch64 --implementation cp --python-version 39 --abi cp39 --only-binary :all: boto3==1.20.21 cryptography==3.4.8 numpy==1.21.4 overrides==6.1.0 pandas==1.3.5 pyranges==0.0.111 scipy==1.7.3 setuptools==60.7.1 toml==0.10.2 types-toml==0.10.1 --index-url <https://pypi.org/simple/> --retries 5 --timeout 15 exited with 1 and STDERR:
None
My guess is that this has to do with --only-binary :all:
. When I try to install this package with pip in a fresh virtualenv, there is no error. Can anyone point me in the right direction?happy-kitchen-89482
02/04/2022, 1:36 AMpyranges
has no wheels, only an sdist, so Pex cannot install it with --only-binary :all:
.happy-kitchen-89482
02/04/2022, 1:40 AMhappy-kitchen-89482
02/04/2022, 1:40 AMfresh-cat-90827
02/04/2022, 9:02 AMpex_binary
target declaration? There is a chance you’ve specified platforms
tag in your pex_binary
and then you’d need wheels ready for each platform. Version of Pants would also be helpful to know as well as what machine (OS, architecture) you attempt to produce a .pex
package. Cheers.enough-analyst-54434
02/04/2022, 4:17 PM--platform
/ pex_binary.platforms
is configured: --platform manylinux2014_aarch64 --implementation cp --python-version 39 --abi cp39 --only-binary :all:
enough-analyst-54434
02/04/2022, 4:20 PMfew-arm-93065
02/04/2022, 4:39 PMpex_binary(
name="exe",
entry_point="src/qc_metrics.py",
dependencies=[':lib'],
shebang="/usr/bin/env python3",
platforms=[
"current",
"manylinux2014_aarch64-cp-39-cp39",
"manylinux2014_x86_64-cp-39-cp39",
]
)
few-arm-93065
02/04/2022, 5:01 PMenough-analyst-54434
02/04/2022, 5:06 PM