Got a strange issue. We build for both ARM and int...
# general
p
Got a strange issue. We build for both ARM and intel. Today I submitted a PR that didn't change anything about our Pants version (2.6.0) nor did it change any of the dependencies in our
constraints.txt
. In fact, it contained only a few shell scripts. But the CI failed with:
Copy code
WARNING: Discarding <https://files.pythonhosted.org/packages/01/1b/d3ddcabd5817be02df0e6ee20d64f77ff6d0d97f83b77f65e98c8a651981/numpy-1.18.5.zip#sha256=34e96e9dae65c4839bd80012023aadd6ee2ccb73ce7fdf3074c62f301e63120b> (from <https://pypi.org/simple/numpy/>) (requires-python:>=3.5). Command errored out with exit status 1: /builds/companionlabs/companionlabs-central/python/.pants/named_caches/pex_root/venvs/short/d492f796/bin/python3.7 /builds/companionlabs/companionlabs-central/python/.pants/named_caches/pex_root/venvs/short/d492f796/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/process-executionM0T3Ob/.tmp/tmp6sx3gu76 Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement numpy
ERROR: No matching distribution found for numpy
This is the same version of numpy we've been using successfully on ARM for months. And we're using Python3.7 but it seems to say it's discarding
numpy
as it requires
python:>=3.5
which would seem to be fine. Any ideas?
h
Hmm, was this transient or is it happening consistently?
p
Consistenly.
I just did some
curl
and
jq
on pypi.org. It seems they removed the
aarch64
wheels for numpy < 1.19 and we can't use 1.19 😞
why they were removed I have no idea...
h
aaaargh
I mean, presumably it was a good reason (security or something), but still
You can view the specific dists published to pypi in a browser as well
p
oh! NICE! That's so much easier than the crazy
jq
thing I did 😆