Hi,
I have cffi==1.11.4 in my requirements file (and in my transitive file, by
extension).
I am running High Sierra, my python is 2.7.14 and comes from Brew.
/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
I create a venv and upgrade pip (to 9) and then:
./build-support/python/venvs/pydeps-wheel/bin/pip install -r
3rdparty/python/requirements.transitive.txt
In this file are lots of requirements, but that’s not relevant (I don’t think).
One of them is cffi==1.11.4.
When I run this, this happens:
Collecting cffi==1.11.4 (from -r 3rdparty/python/requirements.transitive.txt
(line 22))
Downloading cffi-1.11.4-cp27-cp27m-macosx_10_6_intel.whl (238kB)
100% |████████████████████████████████| 245kB 2.2MB/s
Note the 10.6.
Also note this:
./build-support/python/venvs/pydeps-wheel/bin/python -c "import distutils.util;
print(distutils.util.get_platform())"
macosx-10.13-x86_64
So - to my knowledge, it has NO BUSINESS using the 10.6 as a compatible wheel
and should instead download the source.
So I empty my requirements file and leave ONLY cffi==1.11.4
I recompute (with pip freeze) and end up with cffi, setuptools, wheel, and
pycparser.
I run the SAME install command as above.
And get this:
Collecting cffi==1.11.4 (from -r 3rdparty/python/requirements.transitive.txt
(line 2))
Using cached cffi-1.11.4.tar.gz
And ultimately, it builds this:
Dist/wheels/cffi-1.11.4-cp27-none-macosx_10_13_x86_64.whl
1) Why does it think 10.6 is a valid wheel?
2) How do I fix this?
Thanks a lot in advance for your help!
-------------------------
Shawn Tolidano
Senior Engineer - DevOps
90 Fifth Avenue 6th Floor
New York, NY 10011
m: (516) 668-5448
<http://www.compass.com/>
NEW YORK | BROOKLYN | EAST HAMPTON | BRIDGEHAMPTON | SOUTHAMPTON | SAG HARBOR |
WASHINGTON DC | CHEVY CHASE | BOSTON | CAMBRIDGE | MIAMI | COCONUT GROVE |
BEVERLY HILLS | MALIBU | PASADENA | MONTECITO | SANTA BARBARA | BASALT | ASPEN
| SAN FRANCISCO
_______________________________________________
Pythonmac-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG