From 7865868e7542e3cb39745ab37fb4321d708132cc Mon Sep 17 00:00:00 2001 From: Qixiang Wan Date: Nov 08 2017 11:16:14 +0000 Subject: Workaround pip install failure While running tests on Fedora 26 with python3.6, it fails to install m2crypto < 0.27 due to swig error, this is a bug fixed in m2crypto 0.27, we need a temp workaround to get rid of the error before m2crypto release a new version to fix the blocker bug in 0.27: https://gitlab.com/m2crypto/m2crypto/commit/405d14ab7396ba570ecb68cc5cec52dc11424f27 --- diff --git a/Makefile b/Makefile index 9177c13..0531a45 100644 --- a/Makefile +++ b/Makefile @@ -20,4 +20,6 @@ clean: .PHONY: check check: - tox -r -e py27,py35,flake8 + # Hack swig opts to workaround m2crypto < 0.27 installation + # failure under Fedora 26 python3.6 + SWIG_FEATURES=-I/usr/include/openssl/ tox -r -e py27,py3,flake8