vfaronov/httpolice

setup.py: Pin lxml version to 3.6.0

satwikkansal opened this issue · 1 comments

Hey, our project coala-quickstart uses HTTpolice as a dependency.

The recent version of lxml (3.8.0) uses .tar.gz instead of wheel, which is causing builds to fail on 64-bit Windows architecture. It'd be great if the lxml version in setup.py could be pinned to 3.6.0 which is the last known version by us that used to work.

Build links which are failing: https://ci.appveyor.com/project/coala/coala-quickstart/build/1.0.132/job/rttmk9vcdsq9rl3b
https://ci.appveyor.com/project/coala/coala-quickstart/build/1.0.134/job/e7jbpvs4jcxko07c

Hi Satwik, thanks for reaching out. I don’t think this is right, though.

HTTPolice is supposed to be usable as a library, so it cannot afford to pin dependencies like this. Any pinning should be done in a leaf package.

lxml 3.8.0 has many built distributions, including:

It’s just lxml-3.8.0-cp34-cp34m-win_amd64.whl that is missing for some reason.

I suggest you raise this issue with lxml, and if they don’t provide a solution, then pin lxml==3.6.0 in your own requirements, or simply exclude this particular configuration (Python 3.4 on Windows 64-bit) from your builds.