rougier / freetype-py

Python binding for the freetype library
Other
298 stars 88 forks source link

No wheel for Python 3.7 macOS 64-bit #119

Closed justvanrossum closed 4 years ago

justvanrossum commented 4 years ago

With Python 3.7.6 for 64 bit on macOS 10.15 (https://www.python.org/ftp/python/3.7.6/python-3.7.6-macosx10.9.pkg), pip install freetype-py picks up freetype_py-2.1.0.post1-py2.py3-none-any.whl, which doesn't contain the freetype dylib.

justvanrossum commented 4 years ago

See also this test repo: https://github.com/justvanrossum/ftghcimac/commit/ff2ec54aa1d12488dc003b080286672e86f38ab0/checks?check_suite_id=413753112

(I noticed because my github actions CI started failing)

madig commented 4 years ago

Does it work if you pin your CI pip to 19.3.1?

https://github.com/pypa/pip/issues/7629 https://github.com/pypa/pip/issues/7636

anthrotype commented 4 years ago

I can repro this on my mac as well, running python 3.7. I think it has something to do with the latest pip 20 released a couple days ago. If I pip install pip==19.3.1 and try again to pip install freetype-py it downloads the correct wheel...

justvanrossum commented 4 years ago

Yup, pinning pip to 19.3.1 fixes it. Thanks!

anthrotype commented 4 years ago

fixed in pip 20.0.2 pypa/pip#7626