Request: add cp35 wheel for version 1.15.0 (or add python_requires)
Installing latest version on Python 3.5 now breaks as there's no wheel in https://pypi.org/project/cffi/#files. Install from source requires build-tools
and libffi-dev
in the system, but seems to work. Previous version had wheels for Python 3.5.
This also breaks install on small Python 3.5 docker images for several packages, for example cryptography
, notebook
and sshtunnel
etc., and others that depend on those.
How to reproduce:
$ docker run -it python:3.5-slim sh -c 'pip3 install cffi'
...
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
...
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-f9gaccv_/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-f9gaccv_/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6nftuw4p/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.5m/cffi Check the logs for full command output.
Expected behavior (similar to current output with python:3.6-slim
):
$ docker run -it python:3.5-slim sh -c 'pip3 install cffi'
...
Successfully installed cffi-1.15.0 pycparser-2.20
Alternative: Use python_requires
to mark that Python 3.5 is no longer supported in version 1.15.0, if that is the case. It seems to be already dropped from the classifiers in setup.py
.